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-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.020) 0:00:00.020 ******* ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.978) 0:00:00.999 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.056) 0:00:01.055 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.619) 0:00:01.675 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.620) 0:00:02.296 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.120) 0:00:02.417 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.102) 0:00:02.520 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.110) 0:00:02.631 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.484) 0:00:03.115 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.066) 0:00:03.181 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.029) 0:00:03.211 ******* [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.246782", "end": "2024-08-24 08:49:22.998777", "rc": 0, "start": "2024-08-24 08:49:22.751995" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.665) 0:00:03.876 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.017) 0:00:03.894 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.019) 0:00:03.913 ******* ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.648) 0:00:04.562 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.034) 0:00:04.596 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.045) 0:00:04.642 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.026) 0:00:04.668 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.073) 0:00:04.741 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.036) 0:00:04.778 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.029) 0:00:04.808 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003013", "end": "2024-08-24 08:49:24.353849", "rc": 0, "start": "2024-08-24 08:49:24.350836" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.428) 0:00:05.236 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.026) 0:00:05.263 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.019) 0:00:05.283 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.035) 0:00:05.319 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007486", "end": "2024-08-24 08:49:24.811709", "rc": 1, "start": "2024-08-24 08:49:24.804223" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.368) 0:00:05.687 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.026) 0:00:05.713 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.404) 0:00:06.117 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.033) 0:00:06.151 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.049) 0:00:06.200 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.142) 0:00:06.343 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.043) 0:00:06.386 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.038) 0:00:06.425 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.042) 0:00:06.468 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.027) 0:00:06.496 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:49:27 -0400 (0:00:01.824) 0:00:08.320 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:49:29 -0400 (0:00:01.775) 0:00:10.096 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.088) 0:00:10.184 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.059) 0:00:10.244 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.068) 0:00:10.312 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.065) 0:00:10.377 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.072) 0:00:10.450 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.042) 0:00:10.493 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.051) 0:00:10.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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.097) 0:00:10.642 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.057) 0:00:10.700 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.046) 0:00:10.747 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:49:29 -0400 (0:00:00.072) 0:00:10.819 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:49:30 -0400 (0:00:00.064) 0:00:10.884 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:49:30 -0400 (0:00:00.038) 0:00:10.923 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:49:31 -0400 (0:00:00.967) 0:00:11.891 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmp34bz2zs4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:49:31 -0400 (0:00:00.450) 0:00:12.341 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:49:32 -0400 (0:00:00.798) 0:00:13.140 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:49:32 -0400 (0:00:00.086) 0:00:13.226 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:49:32 -0400 (0:00:00.055) 0:00:13.281 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:49:32 -0400 (0:00:00.076) 0:00:13.358 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:49:32 -0400 (0:00:00.069) 0:00:13.428 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:49:33 -0400 (0:00:00.555) 0:00:13.984 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:49:33 -0400 (0:00:00.070) 0:00:14.054 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:49:33 -0400 (0:00:00.090) 0:00:14.145 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:49:33 -0400 (0:00:00.102) 0:00:14.247 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:49:33 -0400 (0:00:00.036) 0:00:14.284 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724503772.226275, "block_size": 4096, "blocks": 8, "ctime": 1724503772.226275, "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": 1724503772.226275, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:49:33 -0400 (0:00:00.464) 0:00:14.749 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:49:34 -0400 (0:00:00.107) 0:00:14.856 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017814", "end": "2024-08-24 08:49:34.496117", "rc": 1, "start": "2024-08-24 08:49:34.478303" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:49:34 -0400 (0:00:00.532) 0:00:15.389 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:49:34 -0400 (0:00:00.038) 0:00:15.428 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003958", "end": "2024-08-24 08:49:35.908189", "rc": 0, "start": "2024-08-24 08:49:34.904231" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:49:36 -0400 (0:00:01.400) 0:00:16.828 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.067) 0:00:16.896 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002868", "end": "2024-08-24 08:49:36.376357", "rc": 0, "start": "2024-08-24 08:49:36.373489" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.403) 0:00:17.299 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.045) 0:00:17.344 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.043) 0:00:17.388 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.044) 0:00:17.432 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.038) 0:00:17.471 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.044) 0:00:17.516 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.039) 0:00:17.556 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:49:36 -0400 (0:00:00.069) 0:00:17.625 ******* 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.034640", "end": "2024-08-24 08:49:37.128624", "rc": 1, "start": "2024-08-24 08:49:37.093984" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 24 August 2024 08:49:37 -0400 (0:00:00.401) 0:00:18.027 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:49:37 -0400 (0:00:00.155) 0:00:18.182 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:49:37 -0400 (0:00:00.109) 0:00:18.291 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:49:37 -0400 (0:00:00.136) 0:00:18.427 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:49:37 -0400 (0:00:00.157) 0:00:18.585 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:49:38 -0400 (0:00:00.284) 0:00:18.869 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003046", "end": "2024-08-24 08:49:38.578222", "rc": 0, "start": "2024-08-24 08:49:38.575176" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:49:38 -0400 (0:00:00.625) 0:00:19.495 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:49:38 -0400 (0:00:00.043) 0:00:19.539 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:49:38 -0400 (0:00:00.043) 0:00:19.582 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 24 August 2024 08:49:38 -0400 (0:00:00.086) 0:00:19.669 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005821", "end": "2024-08-24 08:49:39.163837", "rc": 1, "start": "2024-08-24 08:49:39.158016" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 August 2024 08:49:39 -0400 (0:00:00.472) 0:00:20.141 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:49:39 -0400 (0:00:00.119) 0:00:20.260 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 August 2024 08:49:39 -0400 (0:00:00.416) 0:00:20.677 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:49:39 -0400 (0:00:00.044) 0:00:20.721 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 24 August 2024 08:49:40 -0400 (0:00:00.162) 0:00:20.884 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:49:40 -0400 (0:00:00.194) 0:00:21.078 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:49:40 -0400 (0:00:00.173) 0:00:21.252 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:49:40 -0400 (0:00:00.076) 0:00:21.328 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:49:40 -0400 (0:00:00.068) 0:00:21.397 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:49:40 -0400 (0:00:00.050) 0:00:21.447 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:49:42 -0400 (0:00:01.672) 0:00:23.120 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:49:43 -0400 (0:00:01.436) 0:00:24.557 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:49:43 -0400 (0:00:00.039) 0:00:24.596 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:49:43 -0400 (0:00:00.035) 0:00:24.631 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:49:43 -0400 (0:00:00.035) 0:00:24.667 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:49:43 -0400 (0:00:00.034) 0:00:24.702 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:49:43 -0400 (0:00:00.042) 0:00:24.744 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:49:43 -0400 (0:00:00.038) 0:00:24.783 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.044) 0:00:24.827 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.070) 0:00:24.898 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.037) 0:00:24.935 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.037) 0:00:24.973 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.041) 0:00:25.015 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.074) 0:00:25.089 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.037) 0:00:25.126 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:49:44 -0400 (0:00:00.552) 0:00:25.679 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpigdxwjvu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:49:45 -0400 (0:00:00.396) 0:00:26.076 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:49:45 -0400 (0:00:00.493) 0:00:26.569 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:49:45 -0400 (0:00:00.043) 0:00:26.613 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:49:45 -0400 (0:00:00.039) 0:00:26.653 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:49:45 -0400 (0:00:00.042) 0:00:26.695 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:49:45 -0400 (0:00:00.048) 0:00:26.744 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 24 August 2024 08:49:46 -0400 (0:00:00.505) 0:00:27.250 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:49:46 -0400 (0:00:00.094) 0:00:27.344 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 August 2024 08:49:46 -0400 (0:00:00.249) 0:00:27.594 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:49:46 -0400 (0:00:00.188) 0:00:27.782 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 August 2024 08:49:47 -0400 (0:00:00.455) 0:00:28.238 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:49:47 -0400 (0:00:00.052) 0:00:28.290 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:49:47 -0400 (0:00:00.086) 0:00:28.377 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:49:47 -0400 (0:00:00.057) 0:00:28.435 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724503785.6682792, "block_size": 4096, "blocks": 8, "ctime": 1724503785.6682792, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724503785.6682792, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:49:48 -0400 (0:00:00.404) 0:00:28.839 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:49:48 -0400 (0:00:00.057) 0:00:28.897 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017305", "end": "2024-08-24 08:49:48.434234", "rc": 1, "start": "2024-08-24 08:49:48.416929" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:49:48 -0400 (0:00:00.474) 0:00:29.372 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:49:48 -0400 (0:00:00.063) 0:00:29.436 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002886", "end": "2024-08-24 08:49:48.924322", "rc": 0, "start": "2024-08-24 08:49:48.921436" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.496) 0:00:29.933 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.085) 0:00:30.018 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002825", "end": "2024-08-24 08:49:49.551477", "rc": 0, "start": "2024-08-24 08:49:49.548652" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.446) 0:00:30.465 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.058) 0:00:30.523 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.060) 0:00:30.584 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.085) 0:00:30.670 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.084) 0:00:30.754 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.074) 0:00:30.829 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.064) 0:00:30.894 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.112) 0:00:31.007 ******* 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.034488", "end": "2024-08-24 08:49:50.523512", "rc": 1, "start": "2024-08-24 08:49:50.489024" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.491) 0:00:31.498 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.090) 0:00:31.589 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.113) 0:00:31.703 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.091) 0:00:31.794 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.067) 0:00:31.862 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.091) 0:00:31.954 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002926", "end": "2024-08-24 08:49:51.554011", "rc": 0, "start": "2024-08-24 08:49:51.551085" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.523) 0:00:32.478 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.073) 0:00:32.551 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.063) 0:00:32.614 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.115) 0:00:32.730 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.104) 0:00:32.834 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.127) 0:00:32.962 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.072) 0:00:33.035 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.111) 0:00:33.147 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.090) 0:00:33.237 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:49:54 -0400 (0:00:01.719) 0:00:34.957 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:49:55 -0400 (0:00:01.495) 0:00:36.453 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.089) 0:00:36.542 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.041) 0:00:36.584 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.034) 0:00:36.619 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.035) 0:00:36.655 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.043) 0:00:36.698 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.035) 0:00:36.733 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:49:55 -0400 (0:00:00.041) 0:00:36.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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:49:56 -0400 (0:00:00.075) 0:00:36.850 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:49:56 -0400 (0:00:00.047) 0:00:36.897 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:49:56 -0400 (0:00:00.077) 0:00:36.974 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:49:56 -0400 (0:00:00.104) 0:00:37.078 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:49:56 -0400 (0:00:00.117) 0:00:37.196 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:49:56 -0400 (0:00:00.057) 0:00:37.254 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:49:57 -0400 (0:00:00.685) 0:00:37.940 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmptull7efd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:49:57 -0400 (0:00:00.465) 0:00:38.405 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.541) 0:00:38.947 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.048) 0:00:38.995 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.041) 0:00:39.037 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.050) 0:00:39.087 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.054) 0:00:39.141 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.432) 0:00:39.574 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.040) 0:00:39.615 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.068) 0:00:39.683 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.105) 0:00:39.789 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.118) 0:00:39.907 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.177) 0:00:40.084 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.113) 0:00:40.197 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.119) 0:00:40.316 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:01 -0400 (0:00:01.697) 0:00:42.014 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:02 -0400 (0:00:01.476) 0:00:43.491 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.048) 0:00:43.539 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.059) 0:00:43.599 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.051) 0:00:43.650 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.043) 0:00:43.694 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.063) 0:00:43.757 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.059) 0:00:43.817 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.068) 0:00:43.885 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.126) 0:00:44.012 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.058) 0:00:44.071 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.062) 0:00:44.134 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.094) 0:00:44.228 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.061) 0:00:44.289 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.063) 0:00:44.353 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:04 -0400 (0:00:00.623) 0:00:44.976 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpfi9b7d0b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:04 -0400 (0:00:00.378) 0:00:45.355 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.846) 0:00:46.202 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.083) 0:00:46.285 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.116) 0:00:46.401 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.082) 0:00:46.484 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.090) 0:00:46.575 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.574) 0:00:47.149 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.142) 0:00:47.292 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.149) 0:00:47.441 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724503805.141226, "block_size": 4096, "blocks": 0, "ctime": 1724503805.141226, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34765, "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": 1724503805.141226, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.515) 0:00:47.957 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.057) 0:00:48.015 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.112) 0:00:48.127 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.042) 0:00:48.170 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724503804.9862852, "block_size": 4096, "blocks": 8, "ctime": 1724503798.0482829, "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": 1724503798.0482829, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.411) 0:00:48.581 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.105) 0:00:48.686 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017944", "end": "2024-08-24 08:50:08.316633", "rc": 1, "start": "2024-08-24 08:50:08.298689" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:50:08 -0400 (0:00:00.522) 0:00:49.209 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:50:08 -0400 (0:00:00.041) 0:00:49.250 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003937", "end": "2024-08-24 08:50:09.773831", "rc": 0, "start": "2024-08-24 08:50:08.769894" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:50:09 -0400 (0:00:01.445) 0:00:50.696 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.074) 0:00:50.770 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004059", "end": "2024-08-24 08:50:11.451134", "rc": 0, "start": "2024-08-24 08:50:10.447075" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:50:11 -0400 (0:00:01.599) 0:00:52.370 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:50:11 -0400 (0:00:00.074) 0:00:52.445 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:50:11 -0400 (0:00:00.063) 0:00:52.508 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:50:11 -0400 (0:00:00.087) 0:00:52.596 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:50:11 -0400 (0:00:00.065) 0:00:52.661 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:50:11 -0400 (0:00:00.054) 0:00:52.716 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:50:11 -0400 (0:00:00.051) 0:00:52.768 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.078) 0:00:52.847 ******* 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.043708", "end": "2024-08-24 08:50:12.370327", "rc": 0, "start": "2024-08-24 08:50:12.326619" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.461) 0:00:53.308 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.082) 0:00:53.390 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.085) 0:00:53.476 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.083) 0:00:53.560 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.070) 0:00:53.630 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:50:12 -0400 (0:00:00.064) 0:00:53.695 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003020", "end": "2024-08-24 08:50:13.203925", "rc": 0, "start": "2024-08-24 08:50:13.200905" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.402) 0:00:54.098 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.040) 0:00:54.139 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.044) 0:00:54.183 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.111) 0:00:54.295 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.100) 0:00:54.395 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.125) 0:00:54.521 ******* skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.175) 0:00:54.697 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.080) 0:00:54.777 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.094) 0:00:54.871 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:15 -0400 (0:00:01.796) 0:00:56.668 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:17 -0400 (0:00:01.581) 0:00:58.250 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.082) 0:00:58.332 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.076) 0:00:58.409 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.162) 0:00:58.571 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.066) 0:00:58.638 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.097) 0:00:58.735 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.082) 0:00:58.817 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.072) 0:00:58.890 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.118) 0:00:59.009 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.059) 0:00:59.068 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.059) 0:00:59.128 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.073) 0:00:59.201 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.066) 0:00:59.268 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.051) 0:00:59.319 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:19 -0400 (0:00:00.585) 0:00:59.905 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmp_wsh9gv5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:19 -0400 (0:00:00.414) 0:01:00.320 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.584) 0:01:00.905 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.043) 0:01:00.948 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.042) 0:01:00.990 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.040) 0:01:01.031 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.039) 0:01:01.070 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.383) 0:01:01.453 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.046) 0:01:01.500 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.064) 0:01:01.565 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.067) 0:01:01.633 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.052) 0:01:01.685 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.096) 0:01:01.782 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.062) 0:01:01.845 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:22 -0400 (0:00:01.821) 0:01:03.666 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:24 -0400 (0:00:01.478) 0:01:05.144 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.061) 0:01:05.206 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.069) 0:01:05.275 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.073) 0:01:05.348 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.068) 0:01:05.417 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.124) 0:01:05.541 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.087) 0:01:05.629 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:24 -0400 (0:00:00.083) 0:01:05.712 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.123) 0:01:05.836 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.079) 0:01:05.915 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.072) 0:01:05.988 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.098) 0:01:06.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.064) 0:01:06.151 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.056) 0:01:06.208 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:25 -0400 (0:00:00.555) 0:01:06.763 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpsc_zq1su" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:26 -0400 (0:00:00.388) 0:01:07.152 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.781) 0:01:07.933 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.042) 0:01:07.976 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.046) 0:01:08.023 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.050) 0:01:08.073 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.044) 0:01:08.118 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.369) 0:01:08.487 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.066) 0:01:08.554 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.073) 0:01:08.627 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.068) 0:01:08.696 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.045) 0:01:08.742 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.037) 0:01:08.779 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.039) 0:01:08.819 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:29 -0400 (0:00:01.880) 0:01:10.700 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:31 -0400 (0:00:01.536) 0:01:12.236 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.079) 0:01:12.316 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.069) 0:01:12.386 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.067) 0:01:12.454 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.048) 0:01:12.502 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.090) 0:01:12.592 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.043) 0:01:12.636 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.040) 0:01:12.677 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.071) 0:01:12.748 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.041) 0:01:12.790 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:32 -0400 (0:00:00.050) 0:01:12.840 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:32 -0400 (0:00:00.065) 0:01:12.905 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:32 -0400 (0:00:00.064) 0:01:12.970 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:32 -0400 (0:00:00.060) 0:01:13.030 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:32 -0400 (0:00:00.588) 0:01:13.619 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpx5mgnv6t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:33 -0400 (0:00:00.424) 0:01:14.043 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:33 -0400 (0:00:00.613) 0:01:14.656 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:33 -0400 (0:00:00.093) 0:01:14.750 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:33 -0400 (0:00:00.047) 0:01:14.798 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.045) 0:01:14.844 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.040) 0:01:14.885 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.356) 0:01:15.241 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.106) 0:01:15.348 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.157) 0:01:15.505 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724503826.8980725, "block_size": 4096, "blocks": 0, "ctime": 1724503826.8980725, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34896, "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": 1724503826.8980725, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.728) 0:01:16.234 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.078) 0:01:16.312 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.124) 0:01:16.437 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.143) 0:01:16.581 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.464) 0:01:17.046 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.045) 0:01:17.091 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018066", "end": "2024-08-24 08:50:36.616118", "rc": 1, "start": "2024-08-24 08:50:36.598052" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.443) 0:01:17.534 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.052) 0:01:17.587 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.064) 0:01:17.652 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.041) 0:01:17.694 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.036) 0:01:17.730 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.039) 0:01:17.769 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.047) 0:01:17.816 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.049) 0:01:17.865 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.045) 0:01:17.911 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.109) 0:01:18.020 ******* 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.045316", "end": "2024-08-24 08:50:37.671422", "rc": 0, "start": "2024-08-24 08:50:37.626106" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.550) 0:01:18.571 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.226) 0:01:18.797 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.109) 0:01:18.907 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.144) 0:01:19.052 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.130) 0:01:19.182 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.094) 0:01:19.277 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003037", "end": "2024-08-24 08:50:38.762572", "rc": 0, "start": "2024-08-24 08:50:38.759535" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.429) 0:01:19.706 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.071) 0:01:19.778 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.068) 0:01:19.846 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.096) 0:01:19.943 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.079) 0:01:20.022 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.112) 0:01:20.135 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.053) 0:01:20.188 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.046) 0:01:20.234 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.078) 0:01:20.312 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:41 -0400 (0:00:01.773) 0:01:22.085 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:42 -0400 (0:00:01.440) 0:01:23.526 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.081) 0:01:23.607 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.050) 0:01:23.658 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.039) 0:01:23.697 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.038) 0:01:23.736 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.045) 0:01:23.782 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.038) 0:01:23.820 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.044) 0:01:23.865 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.073) 0:01:23.939 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.038) 0:01:23.977 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.037) 0:01:24.014 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.043) 0:01:24.057 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.038) 0:01:24.096 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.036) 0:01:24.133 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.531) 0:01:24.665 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmp55ght5qx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.517) 0:01:25.183 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.534) 0:01:25.718 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.042) 0:01:25.760 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.042) 0:01:25.802 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.041) 0:01:25.844 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.037) 0:01:25.882 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.378) 0:01:26.261 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.053) 0:01:26.315 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.098) 0:01:26.413 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.125) 0:01:26.539 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.067) 0:01:26.606 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.102) 0:01:26.709 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:46 -0400 (0:00:00.128) 0:01:26.837 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:47 -0400 (0:00:01.826) 0:01:28.663 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:49 -0400 (0:00:01.443) 0:01:30.107 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.041) 0:01:30.149 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.076) 0:01:30.226 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.038) 0:01:30.265 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.037) 0:01:30.302 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.049) 0:01:30.352 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.038) 0:01:30.391 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.043) 0:01:30.434 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.074) 0:01:30.508 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.038) 0:01:30.546 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.038) 0:01:30.585 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.042) 0:01:30.628 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.038) 0:01:30.667 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.037) 0:01:30.705 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:50 -0400 (0:00:00.549) 0:01:31.254 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpxsw2_e5t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:50 -0400 (0:00:00.418) 0:01:31.672 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.742) 0:01:32.414 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.061) 0:01:32.476 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.065) 0:01:32.541 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.069) 0:01:32.610 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.059) 0:01:32.670 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.429) 0:01:33.100 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.108) 0:01:33.209 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.081) 0:01:33.290 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.056) 0:01:33.347 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.046) 0:01:33.393 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.079) 0:01:33.473 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:54 -0400 (0:00:01.835) 0:01:35.308 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:56 -0400 (0:00:01.584) 0:01:36.892 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.047) 0:01:36.940 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.047) 0:01:36.987 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.078) 0:01:37.066 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.039) 0:01:37.105 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.053) 0:01:37.159 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.064) 0:01:37.223 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.069) 0:01:37.293 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.123) 0:01:37.416 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.053) 0:01:37.470 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.051) 0:01:37.522 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.072) 0:01:37.594 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.045) 0:01:37.640 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.034) 0:01:37.675 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:57 -0400 (0:00:00.591) 0:01:38.266 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmppop7eon8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:57 -0400 (0:00:00.416) 0:01:38.683 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:58 -0400 (0:00:00.941) 0:01:39.625 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:58 -0400 (0:00:00.088) 0:01:39.713 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:58 -0400 (0:00:00.063) 0:01:39.777 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.066) 0:01:39.844 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.046) 0:01:39.890 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.422) 0:01:40.313 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.140) 0:01:40.454 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.125) 0:01:40.580 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.116) 0:01:40.696 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.073) 0:01:40.769 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.046) 0:01:40.816 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.044) 0:01:40.860 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:01 -0400 (0:00:01.776) 0:01:42.637 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:03 -0400 (0:00:01.491) 0:01:44.129 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.062) 0:01:44.191 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.099) 0:01:44.291 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.077) 0:01:44.368 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.066) 0:01:44.435 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.125) 0:01:44.560 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.070) 0:01:44.631 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.068) 0:01:44.700 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:03 -0400 (0:00:00.088) 0:01:44.788 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.058) 0:01:44.847 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.044) 0:01:44.891 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.079) 0:01:44.970 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.088) 0:01:45.059 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.062) 0:01:45.121 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.659) 0:01:45.781 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmp9bv0e7hm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.457) 0:01:46.239 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.536) 0:01:46.776 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.076) 0:01:46.852 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.055) 0:01:46.907 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.055) 0:01:46.963 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.041) 0:01:47.005 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.360) 0:01:47.366 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.069) 0:01:47.435 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.064) 0:01:47.500 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.040) 0:01:47.541 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.409) 0:01:47.950 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.044) 0:01:47.995 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018186", "end": "2024-08-24 08:51:07.518982", "rc": 1, "start": "2024-08-24 08:51:07.500796" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.418) 0:01:48.413 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.085) 0:01:48.498 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.039) 0:01:48.537 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.040) 0:01:48.578 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.051) 0:01:48.630 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.038) 0:01:48.668 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.042) 0:01:48.710 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.043) 0:01:48.754 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.037) 0:01:48.792 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.072) 0:01:48.864 ******* 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.043260", "end": "2024-08-24 08:51:08.382102", "rc": 0, "start": "2024-08-24 08:51:08.338842" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.412) 0:01:49.277 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.067) 0:01:49.344 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.065) 0:01:49.410 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.120) 0:01:49.530 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.156) 0:01:49.686 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.102) 0:01:49.788 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003122", "end": "2024-08-24 08:51:09.319999", "rc": 0, "start": "2024-08-24 08:51:09.316877" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.457) 0:01:50.246 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.049) 0:01:50.296 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.043) 0:01:50.340 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.099) 0:01:50.440 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.065) 0:01:50.505 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.070) 0:01:50.576 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.044) 0:01:50.620 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.037) 0:01:50.658 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.082) 0:01:50.740 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:11 -0400 (0:00:01.694) 0:01:52.435 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:13 -0400 (0:00:01.441) 0:01:53.876 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.044) 0:01:53.920 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.090) 0:01:54.010 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.072) 0:01:54.083 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.082) 0:01:54.165 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.090) 0:01:54.255 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.082) 0:01:54.338 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.073) 0:01:54.412 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.090) 0:01:54.502 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.043) 0:01:54.545 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.041) 0:01:54.587 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.043) 0:01:54.631 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.036) 0:01:54.667 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.036) 0:01:54.704 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:14 -0400 (0:00:00.636) 0:01:55.340 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpzbq0jxls" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:14 -0400 (0:00:00.470) 0:01:55.810 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:15 -0400 (0:00:00.806) 0:01:56.617 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:15 -0400 (0:00:00.043) 0:01:56.660 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:15 -0400 (0:00:00.051) 0:01:56.711 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:15 -0400 (0:00:00.052) 0:01:56.763 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:15 -0400 (0:00:00.048) 0:01:56.812 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.411) 0:01:57.224 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.067) 0:01:57.292 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.097) 0:01:57.389 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.083) 0:01:57.473 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.057) 0:01:57.531 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.045) 0:01:57.576 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.038) 0:01:57.614 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:18 -0400 (0:00:01.715) 0:01:59.330 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:19 -0400 (0:00:01.441) 0:02:00.772 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:19 -0400 (0:00:00.039) 0:02:00.811 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.037) 0:02:00.849 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.076) 0:02:00.926 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.039) 0:02:00.965 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.044) 0:02:01.009 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.037) 0:02:01.046 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.042) 0:02:01.089 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.075) 0:02:01.164 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.045) 0:02:01.209 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.036) 0:02:01.246 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.040) 0:02:01.287 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.037) 0:02:01.324 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.038) 0:02:01.363 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:21 -0400 (0:00:00.548) 0:02:01.911 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpsqrbh3py" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:21 -0400 (0:00:00.438) 0:02:02.350 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.770) 0:02:03.121 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.046) 0:02:03.168 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.042) 0:02:03.210 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.051) 0:02:03.261 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.037) 0:02:03.299 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.385) 0:02:03.685 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:22 -0400 (0:00:00.075) 0:02:03.760 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:23 -0400 (0:00:00.092) 0:02:03.853 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:23 -0400 (0:00:00.054) 0:02:03.907 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:23 -0400 (0:00:00.037) 0:02:03.945 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:23 -0400 (0:00:00.038) 0:02:03.983 ******* ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:24 -0400 (0:00:01.611) 0:02:05.595 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:26 -0400 (0:00:01.419) 0:02:07.015 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.041) 0:02:07.056 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.035) 0:02:07.091 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.067) 0:02:07.159 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.037) 0:02:07.196 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.041) 0:02:07.237 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.035) 0:02:07.273 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.042) 0:02:07.316 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.082) 0:02:07.398 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.048) 0:02:07.447 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.046) 0:02:07.494 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.064) 0:02:07.558 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.060) 0:02:07.618 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.057) 0:02:07.676 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.597) 0:02:08.273 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmp_rcs3bz7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.391) 0:02:08.664 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.658) 0:02:09.322 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.058) 0:02:09.381 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.071) 0:02:09.452 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.053) 0:02:09.505 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.056) 0:02:09.562 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.526) 0:02:10.089 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.070) 0:02:10.159 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.063) 0:02:10.223 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.094) 0:02:10.318 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.077) 0:02:10.395 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.094) 0:02:10.490 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:29 -0400 (0:00:00.109) 0:02:10.600 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:31 -0400 (0:00:01.715) 0:02:12.316 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:33 -0400 (0:00:01.526) 0:02:13.842 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.057) 0:02:13.899 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.072) 0:02:13.972 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.074) 0:02:14.046 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.062) 0:02:14.108 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.131) 0:02:14.240 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.068) 0:02:14.309 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.083) 0:02:14.392 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.154) 0:02:14.547 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.110) 0:02:14.657 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.111) 0:02:14.768 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.103) 0:02:14.872 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.078) 0:02:14.950 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.060) 0:02:15.011 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.634) 0:02:15.646 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44735yl0bkbsd/tmpgk41yorl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.444) 0:02:16.090 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.515) 0:02:16.606 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.043) 0:02:16.649 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.098) 0:02:16.748 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.072) 0:02:16.820 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.063) 0:02:16.884 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.382) 0:02:17.266 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.073) 0:02:17.340 ******* included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.065) 0:02:17.405 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.036) 0:02:17.442 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.376) 0:02:17.819 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.037) 0:02:17.856 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018181", "end": "2024-08-24 08:51:37.354293", "rc": 1, "start": "2024-08-24 08:51:37.336112" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.419) 0:02:18.276 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.111) 0:02:18.387 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.060) 0:02:18.448 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.061) 0:02:18.509 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.060) 0:02:18.570 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.058) 0:02:18.628 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 24 August 2024 08:51:37 -0400 (0:00:00.056) 0:02:18.685 ******* [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.857908", "end": "2024-08-24 08:51:39.055551", "rc": 0, "start": "2024-08-24 08:51:38.197643" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 24 August 2024 08:51:39 -0400 (0:00:01.265) 0:02:19.951 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.040) 0:02:19.991 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.061) 0:02:20.053 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.081) 0:02:20.134 ******* 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.067) 0:02:20.202 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.244) 0:02:20.446 ******* 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.042889", "end": "2024-08-24 08:51:40.129229", "rc": 0, "start": "2024-08-24 08:51:40.086340" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.621) 0:02:21.068 ******* 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.008442", "end": "2024-08-24 08:51:40.646601", "rc": 0, "start": "2024-08-24 08:51:40.638159" } 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:dd:b1:7e:bb brd ff:ff:ff:ff:ff:ff inet 10.31.12.68/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2718sec preferred_lft 2718sec inet6 fe80::8ff:ddff:feb1:7ebb/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether fa:c2:16:10:04:8f 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.12.68 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.68 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.490) 0:02:21.558 ******* 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.298089", "end": "2024-08-24 08:51:41.349697", "rc": 0, "start": "2024-08-24 08:51:41.051608" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5648 0 --:--:-- --:--:-- --:--:-- 5648 % 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 1334 0 --:--:-- --:--:-- --:--:-- 1334 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 24 August 2024 08:51:41 -0400 (0:00:00.665) 0:02:22.224 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get the fingerprint comment in ifcfg-statebr ---------------------------- 1.60s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26