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-HTU/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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 28 December 2024 07:53:40 -0500 (0:00:00.019) 0:00:00.019 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 28 December 2024 07:53:41 -0500 (0:00:01.150) 0:00:01.169 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 28 December 2024 07:53:41 -0500 (0:00:00.056) 0:00:01.226 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 28 December 2024 07:53:42 -0500 (0:00:00.572) 0:00:01.799 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 28 December 2024 07:53:42 -0500 (0:00:00.462) 0:00:02.261 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 28 December 2024 07:53:42 -0500 (0:00:00.039) 0:00:02.301 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 28 December 2024 07:53:42 -0500 (0:00:00.036) 0:00:02.337 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 28 December 2024 07:53:42 -0500 (0:00:00.063) 0:00:02.400 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 28 December 2024 07:53:43 -0500 (0:00:00.447) 0:00:02.847 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 28 December 2024 07:53:43 -0500 (0:00:00.018) 0:00:02.866 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 28 December 2024 07:53:43 -0500 (0:00:00.017) 0:00:02.884 ***** [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-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.236739", "end": "2024-12-28 07:53:43.774880", "rc": 0, "start": "2024-12-28 07:53:43.538141" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 28 December 2024 07:53:43 -0500 (0:00:00.578) 0:00:03.462 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 28 December 2024 07:53:43 -0500 (0:00:00.018) 0:00:03.480 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 28 December 2024 07:53:43 -0500 (0:00:00.027) 0:00:03.507 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.639) 0:00:04.147 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.019) 0:00:04.166 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.030) 0:00:04.197 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.020) 0:00:04.217 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.061) 0:00:04.278 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.025) 0:00:04.304 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 December 2024 07:53:44 -0500 (0:00:00.024) 0:00:04.329 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002998", "end": "2024-12-28 07:53:45.017151", "rc": 0, "start": "2024-12-28 07:53:45.014153" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 December 2024 07:53:45 -0500 (0:00:00.391) 0:00:04.720 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 December 2024 07:53:45 -0500 (0:00:00.032) 0:00:04.753 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 December 2024 07:53:45 -0500 (0:00:00.029) 0:00:04.783 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 28 December 2024 07:53:45 -0500 (0:00:00.054) 0:00:04.837 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007586", "end": "2024-12-28 07:53:45.608547", "rc": 1, "start": "2024-12-28 07:53:45.600961" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 December 2024 07:53:45 -0500 (0:00:00.472) 0:00:05.309 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 December 2024 07:53:45 -0500 (0:00:00.052) 0:00:05.362 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.483) 0:00:05.845 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.055) 0:00:05.901 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.056) 0:00:05.957 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.116) 0:00:06.073 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.037) 0:00:06.110 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.020) 0:00:06.130 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.017) 0:00:06.148 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:53:46 -0500 (0:00:00.017) 0:00:06.165 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:53:48 -0500 (0:00:01.943) 0:00:08.108 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:53:50 -0500 (0:00:01.734) 0:00:09.843 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.049) 0:00:09.892 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.038) 0:00:09.930 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.038) 0:00:09.969 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.039) 0:00:10.008 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.045) 0:00:10.054 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.037) 0:00:10.091 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.044) 0:00:10.136 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.075) 0:00:10.211 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.065) 0:00:10.276 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.038) 0:00:10.315 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.042) 0:00:10.357 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.037) 0:00:10.395 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:53:50 -0500 (0:00:00.038) 0:00:10.433 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:53:51 -0500 (0:00:00.793) 0:00:11.226 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpxf1rhk0w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:53:52 -0500 (0:00:00.488) 0:00:11.715 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:53:52 -0500 (0:00:00.855) 0:00:12.571 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:53:52 -0500 (0:00:00.037) 0:00:12.608 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:53:53 -0500 (0:00:00.055) 0:00:12.664 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:53:53 -0500 (0:00:00.054) 0:00:12.718 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:53:53 -0500 (0:00:00.198) 0:00:12.916 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 December 2024 07:53:53 -0500 (0:00:00.711) 0:00:13.628 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 December 2024 07:53:54 -0500 (0:00:00.066) 0:00:13.694 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 December 2024 07:53:54 -0500 (0:00:00.118) 0:00:13.813 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 December 2024 07:53:54 -0500 (0:00:00.106) 0:00:13.920 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 December 2024 07:53:54 -0500 (0:00:00.080) 0:00:14.000 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390432.8635533, "block_size": 4096, "blocks": 8, "ctime": 1735390432.8635533, "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": 1735390432.8635533, "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 December 2024 07:53:54 -0500 (0:00:00.408) 0:00:14.409 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 December 2024 07:53:54 -0500 (0:00:00.059) 0:00:14.468 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017991", "end": "2024-12-28 07:53:55.254202", "rc": 1, "start": "2024-12-28 07:53:55.236211" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 December 2024 07:53:55 -0500 (0:00:00.513) 0:00:14.982 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 December 2024 07:53:55 -0500 (0:00:00.070) 0:00:15.052 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003296", "end": "2024-12-28 07:53:55.736559", "rc": 0, "start": "2024-12-28 07:53:55.733263" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 December 2024 07:53:55 -0500 (0:00:00.420) 0:00:15.473 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 December 2024 07:53:55 -0500 (0:00:00.126) 0:00:15.599 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003966", "end": "2024-12-28 07:53:57.331640", "rc": 0, "start": "2024-12-28 07:53:56.327674" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 December 2024 07:53:57 -0500 (0:00:01.496) 0:00:17.096 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.099) 0:00:17.196 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.058) 0:00:17.254 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.070) 0:00:17.325 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.058) 0:00:17.384 ***** skipping: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.045) 0:00:17.430 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.040) 0:00:17.470 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 December 2024 07:53:57 -0500 (0:00:00.100) 0:00:17.571 ***** fatal: [managed-node1]: 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.037608", "end": "2024-12-28 07:53:58.319043", "rc": 1, "start": "2024-12-28 07:53:58.281435" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 28 December 2024 07:53:58 -0500 (0:00:00.522) 0:00:18.094 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 December 2024 07:53:58 -0500 (0:00:00.194) 0:00:18.289 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 December 2024 07:53:58 -0500 (0:00:00.108) 0:00:18.397 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 December 2024 07:53:58 -0500 (0:00:00.115) 0:00:18.513 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 December 2024 07:53:58 -0500 (0:00:00.080) 0:00:18.593 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 December 2024 07:53:59 -0500 (0:00:00.062) 0:00:18.655 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002989", "end": "2024-12-28 07:53:59.339577", "rc": 0, "start": "2024-12-28 07:53:59.336588" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 December 2024 07:53:59 -0500 (0:00:00.390) 0:00:19.046 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 December 2024 07:53:59 -0500 (0:00:00.040) 0:00:19.086 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 December 2024 07:53:59 -0500 (0:00:00.038) 0:00:19.124 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 28 December 2024 07:53:59 -0500 (0:00:00.072) 0:00:19.197 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005552", "end": "2024-12-28 07:53:59.863844", "rc": 1, "start": "2024-12-28 07:53:59.858292" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 December 2024 07:53:59 -0500 (0:00:00.400) 0:00:19.597 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.147) 0:00:19.745 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.418) 0:00:20.163 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.050) 0:00:20.214 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.085) 0:00:20.299 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.077) 0:00:20.376 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.072) 0:00:20.449 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.046) 0:00:20.496 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.038) 0:00:20.534 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:54:00 -0500 (0:00:00.038) 0:00:20.573 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:54:02 -0500 (0:00:01.729) 0:00:22.302 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:54:04 -0500 (0:00:01.519) 0:00:23.821 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.050) 0:00:23.872 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.050) 0:00:23.923 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.039) 0:00:23.962 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.038) 0:00:24.001 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.043) 0:00:24.045 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.083) 0:00:24.129 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.067) 0:00:24.196 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.116) 0:00:24.313 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.074) 0:00:24.387 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.101) 0:00:24.489 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.062) 0:00:24.551 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:54:04 -0500 (0:00:00.058) 0:00:24.609 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:54:05 -0500 (0:00:00.054) 0:00:24.664 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:54:05 -0500 (0:00:00.581) 0:00:25.246 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpn74fcr0y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:54:06 -0500 (0:00:00.443) 0:00:25.689 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:54:06 -0500 (0:00:00.559) 0:00:26.249 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:54:06 -0500 (0:00:00.062) 0:00:26.312 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:54:06 -0500 (0:00:00.102) 0:00:26.415 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:54:06 -0500 (0:00:00.091) 0:00:26.507 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:54:06 -0500 (0:00:00.091) 0:00:26.599 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 28 December 2024 07:54:07 -0500 (0:00:00.409) 0:00:27.008 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 December 2024 07:54:07 -0500 (0:00:00.043) 0:00:27.052 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 December 2024 07:54:07 -0500 (0:00:00.112) 0:00:27.164 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 December 2024 07:54:07 -0500 (0:00:00.076) 0:00:27.240 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 December 2024 07:54:07 -0500 (0:00:00.390) 0:00:27.631 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 December 2024 07:54:08 -0500 (0:00:00.040) 0:00:27.672 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 December 2024 07:54:08 -0500 (0:00:00.066) 0:00:27.739 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 December 2024 07:54:08 -0500 (0:00:00.043) 0:00:27.782 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390446.511511, "block_size": 4096, "blocks": 8, "ctime": 1735390446.511511, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1735390446.511511, "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 December 2024 07:54:08 -0500 (0:00:00.467) 0:00:28.249 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 December 2024 07:54:08 -0500 (0:00:00.050) 0:00:28.300 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017879", "end": "2024-12-28 07:54:08.988090", "rc": 1, "start": "2024-12-28 07:54:08.970211" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 December 2024 07:54:09 -0500 (0:00:00.392) 0:00:28.693 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 December 2024 07:54:09 -0500 (0:00:00.039) 0:00:28.733 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003995", "end": "2024-12-28 07:54:10.414249", "rc": 0, "start": "2024-12-28 07:54:09.410254" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 December 2024 07:54:10 -0500 (0:00:01.425) 0:00:30.158 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 December 2024 07:54:10 -0500 (0:00:00.072) 0:00:30.231 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002861", "end": "2024-12-28 07:54:10.942052", "rc": 0, "start": "2024-12-28 07:54:10.939191" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.421) 0:00:30.652 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.063) 0:00:30.716 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.043) 0:00:30.760 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.077) 0:00:30.837 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.047) 0:00:30.885 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.048) 0:00:30.933 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.060) 0:00:30.993 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.108) 0:00:31.102 ***** fatal: [managed-node1]: 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.036484", "end": "2024-12-28 07:54:11.887268", "rc": 1, "start": "2024-12-28 07:54:11.850784" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 28 December 2024 07:54:11 -0500 (0:00:00.524) 0:00:31.626 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 December 2024 07:54:12 -0500 (0:00:00.128) 0:00:31.755 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 December 2024 07:54:12 -0500 (0:00:00.075) 0:00:31.830 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 December 2024 07:54:12 -0500 (0:00:00.192) 0:00:32.023 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 December 2024 07:54:12 -0500 (0:00:00.137) 0:00:32.160 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 December 2024 07:54:12 -0500 (0:00:00.144) 0:00:32.304 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003056", "end": "2024-12-28 07:54:13.007460", "rc": 0, "start": "2024-12-28 07:54:13.004404" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.419) 0:00:32.724 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.053) 0:00:32.778 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.097) 0:00:32.875 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.120) 0:00:32.996 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.096) 0:00:33.092 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.095) 0:00:33.188 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.052) 0:00:33.240 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.043) 0:00:33.284 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:54:13 -0500 (0:00:00.039) 0:00:33.323 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:54:15 -0500 (0:00:01.706) 0:00:35.030 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:54:16 -0500 (0:00:01.538) 0:00:36.569 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:54:16 -0500 (0:00:00.056) 0:00:36.625 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.044) 0:00:36.670 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.037) 0:00:36.707 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.038) 0:00:36.746 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.042) 0:00:36.789 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.041) 0:00:36.831 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.098) 0:00:36.930 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.123) 0:00:37.054 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.071) 0:00:37.125 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.067) 0:00:37.193 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.068) 0:00:37.262 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.060) 0:00:37.322 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:54:17 -0500 (0:00:00.061) 0:00:37.384 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:54:18 -0500 (0:00:00.620) 0:00:38.004 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpcyc0ipzt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:54:18 -0500 (0:00:00.413) 0:00:38.418 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.510) 0:00:38.929 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.056) 0:00:38.985 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.049) 0:00:39.034 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.060) 0:00:39.094 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.098) 0:00:39.193 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.496) 0:00:39.690 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.058) 0:00:39.749 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.114) 0:00:39.863 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.134) 0:00:39.998 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.144) 0:00:40.143 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.080) 0:00:40.223 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.065) 0:00:40.288 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:54:20 -0500 (0:00:00.048) 0:00:40.337 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:54:22 -0500 (0:00:01.744) 0:00:42.082 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:54:24 -0500 (0:00:01.659) 0:00:43.741 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.064) 0:00:43.806 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.060) 0:00:43.866 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.070) 0:00:43.937 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.056) 0:00:43.993 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.071) 0:00:44.065 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.092) 0:00:44.157 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.138) 0:00:44.296 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.121) 0:00:44.418 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.076) 0:00:44.494 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.047) 0:00:44.541 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:54:24 -0500 (0:00:00.075) 0:00:44.617 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:54:25 -0500 (0:00:00.061) 0:00:44.679 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:54:25 -0500 (0:00:00.046) 0:00:44.726 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:54:25 -0500 (0:00:00.534) 0:00:45.260 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmp5npsiz9s" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:54:26 -0500 (0:00:00.383) 0:00:45.644 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:54:26 -0500 (0:00:00.750) 0:00:46.394 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:54:26 -0500 (0:00:00.069) 0:00:46.464 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:54:26 -0500 (0:00:00.112) 0:00:46.577 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:54:26 -0500 (0:00:00.060) 0:00:46.637 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.049) 0:00:46.687 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.364) 0:00:47.051 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.074) 0:00:47.126 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.062) 0:00:47.189 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390466.5920987, "block_size": 4096, "blocks": 0, "ctime": 1735390466.5920987, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35569, "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": 1735390466.5920987, "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.399) 0:00:47.589 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.059) 0:00:47.648 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.102) 0:00:47.750 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.061) 0:00:47.812 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390466.4334505, "block_size": 4096, "blocks": 8, "ctime": 1735390459.2064722, "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": 1735390459.2064722, "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.590) 0:00:48.403 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.163) 0:00:48.567 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018774", "end": "2024-12-28 07:54:29.453845", "rc": 1, "start": "2024-12-28 07:54:29.435071" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 December 2024 07:54:29 -0500 (0:00:00.599) 0:00:49.166 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 December 2024 07:54:29 -0500 (0:00:00.064) 0:00:49.231 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003329", "end": "2024-12-28 07:54:30.040393", "rc": 0, "start": "2024-12-28 07:54:30.037064" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.544) 0:00:49.776 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.053) 0:00:49.829 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003987", "end": "2024-12-28 07:54:31.633314", "rc": 0, "start": "2024-12-28 07:54:30.629327" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 December 2024 07:54:31 -0500 (0:00:01.537) 0:00:51.367 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.074) 0:00:51.441 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.067) 0:00:51.508 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.113) 0:00:51.622 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.144) 0:00:51.767 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.098) 0:00:51.865 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.119) 0:00:51.985 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.124) 0:00:52.109 ***** ok: [managed-node1] => { "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.046164", "end": "2024-12-28 07:54:32.860708", "rc": 0, "start": "2024-12-28 07:54:32.814544" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.491) 0:00:52.601 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 December 2024 07:54:33 -0500 (0:00:00.098) 0:00:52.700 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 December 2024 07:54:33 -0500 (0:00:00.071) 0:00:52.772 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 December 2024 07:54:33 -0500 (0:00:00.121) 0:00:52.894 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 December 2024 07:54:33 -0500 (0:00:00.108) 0:00:53.002 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 December 2024 07:54:33 -0500 (0:00:00.099) 0:00:53.102 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003391", "end": "2024-12-28 07:54:34.160253", "rc": 0, "start": "2024-12-28 07:54:34.156862" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.786) 0:00:53.889 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.047) 0:00:53.936 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.047) 0:00:53.984 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.194) 0:00:54.178 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.100) 0:00:54.279 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.105) 0:00:54.385 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.054) 0:00:54.439 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.045) 0:00:54.485 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.043) 0:00:54.529 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:54:36 -0500 (0:00:01.678) 0:00:56.208 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:54:38 -0500 (0:00:01.560) 0:00:57.768 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.052) 0:00:57.821 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.055) 0:00:57.877 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.045) 0:00:57.922 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.048) 0:00:57.970 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.056) 0:00:58.027 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.039) 0:00:58.066 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.043) 0:00:58.109 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.077) 0:00:58.187 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.073) 0:00:58.261 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.043) 0:00:58.304 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.060) 0:00:58.365 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.063) 0:00:58.429 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.051) 0:00:58.480 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:54:39 -0500 (0:00:00.597) 0:00:59.077 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpg_d05hie" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:54:39 -0500 (0:00:00.406) 0:00:59.484 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:54:40 -0500 (0:00:00.590) 0:01:00.075 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:54:40 -0500 (0:00:00.114) 0:01:00.190 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:54:40 -0500 (0:00:00.066) 0:01:00.256 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:54:40 -0500 (0:00:00.137) 0:01:00.394 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:54:40 -0500 (0:00:00.069) 0:01:00.464 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.566) 0:01:01.030 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.062) 0:01:01.092 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.112) 0:01:01.204 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.113) 0:01:01.318 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.073) 0:01:01.392 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.060) 0:01:01.453 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:54:41 -0500 (0:00:00.075) 0:01:01.528 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:54:43 -0500 (0:00:01.854) 0:01:03.383 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:54:45 -0500 (0:00:01.687) 0:01:05.071 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.087) 0:01:05.158 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.061) 0:01:05.220 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.054) 0:01:05.274 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.064) 0:01:05.339 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.074) 0:01:05.414 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.069) 0:01:05.484 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:54:45 -0500 (0:00:00.061) 0:01:05.545 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:54:46 -0500 (0:00:00.134) 0:01:05.679 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:54:46 -0500 (0:00:00.150) 0:01:05.830 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:54:46 -0500 (0:00:00.058) 0:01:05.888 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:54:46 -0500 (0:00:00.075) 0:01:05.964 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:54:46 -0500 (0:00:00.110) 0:01:06.075 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:54:46 -0500 (0:00:00.096) 0:01:06.171 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:54:47 -0500 (0:00:00.693) 0:01:06.865 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpyfisqo_t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:54:47 -0500 (0:00:00.641) 0:01:07.507 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:54:48 -0500 (0:00:00.739) 0:01:08.246 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:54:48 -0500 (0:00:00.045) 0:01:08.292 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:54:48 -0500 (0:00:00.063) 0:01:08.355 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:54:48 -0500 (0:00:00.067) 0:01:08.422 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:54:48 -0500 (0:00:00.072) 0:01:08.495 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.385) 0:01:08.881 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.112) 0:01:08.993 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.221) 0:01:09.215 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.116) 0:01:09.331 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.081) 0:01:09.413 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.066) 0:01:09.479 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:54:49 -0500 (0:00:00.077) 0:01:09.557 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:54:51 -0500 (0:00:01.726) 0:01:11.283 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:54:53 -0500 (0:00:01.585) 0:01:12.869 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.127) 0:01:12.997 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.117) 0:01:13.114 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.059) 0:01:13.173 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.064) 0:01:13.238 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.071) 0:01:13.310 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.058) 0:01:13.369 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:54:53 -0500 (0:00:00.074) 0:01:13.443 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:54:54 -0500 (0:00:00.243) 0:01:13.686 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:54:54 -0500 (0:00:00.096) 0:01:13.782 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:54:54 -0500 (0:00:00.134) 0:01:13.917 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:54:54 -0500 (0:00:00.107) 0:01:14.025 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:54:54 -0500 (0:00:00.075) 0:01:14.100 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:54:54 -0500 (0:00:00.071) 0:01:14.172 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:54:55 -0500 (0:00:00.629) 0:01:14.801 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmp8_r_cpa2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:54:55 -0500 (0:00:00.402) 0:01:15.204 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.531) 0:01:15.735 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.038) 0:01:15.774 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.041) 0:01:15.815 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.040) 0:01:15.856 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.098) 0:01:15.955 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.473) 0:01:16.429 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.075) 0:01:16.505 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 December 2024 07:54:56 -0500 (0:00:00.068) 0:01:16.573 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390488.458328, "block_size": 4096, "blocks": 0, "ctime": 1735390488.458328, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35700, "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": 1735390488.458328, "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 December 2024 07:54:57 -0500 (0:00:00.419) 0:01:16.992 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 December 2024 07:54:57 -0500 (0:00:00.041) 0:01:17.034 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 December 2024 07:54:57 -0500 (0:00:00.063) 0:01:17.097 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 December 2024 07:54:57 -0500 (0:00:00.047) 0:01:17.145 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 December 2024 07:54:57 -0500 (0:00:00.428) 0:01:17.574 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 December 2024 07:54:57 -0500 (0:00:00.060) 0:01:17.634 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018097", "end": "2024-12-28 07:54:58.469776", "rc": 1, "start": "2024-12-28 07:54:58.451679" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 December 2024 07:54:58 -0500 (0:00:00.637) 0:01:18.271 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 December 2024 07:54:58 -0500 (0:00:00.077) 0:01:18.348 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 December 2024 07:54:58 -0500 (0:00:00.071) 0:01:18.420 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 December 2024 07:54:58 -0500 (0:00:00.063) 0:01:18.484 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 December 2024 07:54:58 -0500 (0:00:00.048) 0:01:18.532 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 December 2024 07:54:58 -0500 (0:00:00.048) 0:01:18.580 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.058) 0:01:18.639 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.057) 0:01:18.697 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.062) 0:01:18.759 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.095) 0:01:18.855 ***** ok: [managed-node1] => { "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.047042", "end": "2024-12-28 07:54:59.568330", "rc": 0, "start": "2024-12-28 07:54:59.521288" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.427) 0:01:19.282 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.086) 0:01:19.368 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.065) 0:01:19.434 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 December 2024 07:54:59 -0500 (0:00:00.149) 0:01:19.583 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.061) 0:01:19.645 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.058) 0:01:19.704 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002966", "end": "2024-12-28 07:55:00.440028", "rc": 0, "start": "2024-12-28 07:55:00.437062" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.476) 0:01:20.180 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.067) 0:01:20.248 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.060) 0:01:20.309 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.168) 0:01:20.478 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:00 -0500 (0:00:00.136) 0:01:20.614 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:01 -0500 (0:00:00.199) 0:01:20.814 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:01 -0500 (0:00:00.078) 0:01:20.892 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:01 -0500 (0:00:00.068) 0:01:20.961 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:01 -0500 (0:00:00.130) 0:01:21.091 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:03 -0500 (0:00:01.711) 0:01:22.802 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:04 -0500 (0:00:01.692) 0:01:24.494 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:04 -0500 (0:00:00.079) 0:01:24.574 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.067) 0:01:24.642 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.104) 0:01:24.747 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.060) 0:01:24.807 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.069) 0:01:24.877 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.063) 0:01:24.940 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.067) 0:01:25.008 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.096) 0:01:25.105 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.048) 0:01:25.154 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.044) 0:01:25.198 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.049) 0:01:25.247 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.049) 0:01:25.297 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:05 -0500 (0:00:00.058) 0:01:25.355 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:06 -0500 (0:00:00.632) 0:01:25.987 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpdmgfs0rh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:06 -0500 (0:00:00.422) 0:01:26.409 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:07 -0500 (0:00:00.666) 0:01:27.076 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:07 -0500 (0:00:00.070) 0:01:27.146 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:07 -0500 (0:00:00.078) 0:01:27.224 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:07 -0500 (0:00:00.064) 0:01:27.289 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:07 -0500 (0:00:00.061) 0:01:27.350 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.391) 0:01:27.742 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.042) 0:01:27.784 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.063) 0:01:27.848 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.073) 0:01:27.921 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.051) 0:01:27.973 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.048) 0:01:28.021 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:08 -0500 (0:00:00.061) 0:01:28.082 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:10 -0500 (0:00:01.659) 0:01:29.742 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:11 -0500 (0:00:01.489) 0:01:31.231 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:11 -0500 (0:00:00.059) 0:01:31.291 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:11 -0500 (0:00:00.063) 0:01:31.354 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:11 -0500 (0:00:00.063) 0:01:31.417 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:11 -0500 (0:00:00.071) 0:01:31.489 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:11 -0500 (0:00:00.095) 0:01:31.585 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:11 -0500 (0:00:00.038) 0:01:31.624 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.042) 0:01:31.666 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.076) 0:01:31.743 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.039) 0:01:31.782 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.038) 0:01:31.820 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.046) 0:01:31.867 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.039) 0:01:31.906 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.036) 0:01:31.943 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:12 -0500 (0:00:00.541) 0:01:32.484 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpx06khdep" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:13 -0500 (0:00:00.413) 0:01:32.898 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.759) 0:01:33.658 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.038) 0:01:33.696 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.041) 0:01:33.738 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.040) 0:01:33.778 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.039) 0:01:33.818 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.393) 0:01:34.211 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.107) 0:01:34.318 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.119) 0:01:34.437 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.076) 0:01:34.514 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:14 -0500 (0:00:00.096) 0:01:34.611 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:15 -0500 (0:00:00.083) 0:01:34.695 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:16 -0500 (0:00:01.650) 0:01:36.346 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:18 -0500 (0:00:01.535) 0:01:37.881 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.064) 0:01:37.945 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.060) 0:01:38.006 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.065) 0:01:38.071 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.075) 0:01:38.147 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.049) 0:01:38.196 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.037) 0:01:38.234 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.049) 0:01:38.283 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.104) 0:01:38.387 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.061) 0:01:38.449 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.049) 0:01:38.498 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.078) 0:01:38.577 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:18 -0500 (0:00:00.059) 0:01:38.636 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:19 -0500 (0:00:00.062) 0:01:38.699 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:19 -0500 (0:00:00.606) 0:01:39.306 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpzza1dwgx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:20 -0500 (0:00:00.395) 0:01:39.702 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:20 -0500 (0:00:00.856) 0:01:40.558 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.101) 0:01:40.660 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.095) 0:01:40.755 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.099) 0:01:40.854 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.110) 0:01:40.965 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.421) 0:01:41.387 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.109) 0:01:41.497 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:21 -0500 (0:00:00.137) 0:01:41.634 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:22 -0500 (0:00:00.120) 0:01:41.755 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:22 -0500 (0:00:00.087) 0:01:41.842 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:22 -0500 (0:00:00.073) 0:01:41.915 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:22 -0500 (0:00:00.057) 0:01:41.973 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:24 -0500 (0:00:01.679) 0:01:43.653 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:25 -0500 (0:00:01.585) 0:01:45.238 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:25 -0500 (0:00:00.121) 0:01:45.359 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:25 -0500 (0:00:00.118) 0:01:45.477 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:25 -0500 (0:00:00.071) 0:01:45.549 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:25 -0500 (0:00:00.083) 0:01:45.633 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.135) 0:01:45.768 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.061) 0:01:45.829 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.065) 0:01:45.895 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.107) 0:01:46.003 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.078) 0:01:46.081 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.097) 0:01:46.179 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.149) 0:01:46.328 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.144) 0:01:46.473 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:26 -0500 (0:00:00.110) 0:01:46.583 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:27 -0500 (0:00:00.638) 0:01:47.222 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpl4h_8zpk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:28 -0500 (0:00:00.473) 0:01:47.696 ***** ok: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:28 -0500 (0:00:00.528) 0:01:48.224 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:28 -0500 (0:00:00.037) 0:01:48.262 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:28 -0500 (0:00:00.096) 0:01:48.358 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:28 -0500 (0:00:00.062) 0:01:48.421 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:28 -0500 (0:00:00.057) 0:01:48.478 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 December 2024 07:55:29 -0500 (0:00:00.385) 0:01:48.864 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 December 2024 07:55:29 -0500 (0:00:00.090) 0:01:48.954 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 December 2024 07:55:29 -0500 (0:00:00.102) 0:01:49.057 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 December 2024 07:55:29 -0500 (0:00:00.056) 0:01:49.113 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 December 2024 07:55:29 -0500 (0:00:00.419) 0:01:49.533 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 December 2024 07:55:29 -0500 (0:00:00.038) 0:01:49.571 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018728", "end": "2024-12-28 07:55:30.262565", "rc": 1, "start": "2024-12-28 07:55:30.243837" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.399) 0:01:49.970 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.040) 0:01:50.011 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.082) 0:01:50.094 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.040) 0:01:50.134 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.043) 0:01:50.177 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.052) 0:01:50.230 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.042) 0:01:50.272 ***** skipping: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.047) 0:01:50.319 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.049) 0:01:50.369 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 December 2024 07:55:30 -0500 (0:00:00.108) 0:01:50.478 ***** ok: [managed-node1] => { "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.044103", "end": "2024-12-28 07:55:31.263281", "rc": 0, "start": "2024-12-28 07:55:31.219178" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 28 December 2024 07:55:31 -0500 (0:00:00.526) 0:01:51.004 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 December 2024 07:55:31 -0500 (0:00:00.102) 0:01:51.107 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 December 2024 07:55:31 -0500 (0:00:00.059) 0:01:51.166 ***** ok: [managed-node1] => (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-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 December 2024 07:55:31 -0500 (0:00:00.128) 0:01:51.294 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 December 2024 07:55:31 -0500 (0:00:00.099) 0:01:51.394 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 December 2024 07:55:31 -0500 (0:00:00.143) 0:01:51.537 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003090", "end": "2024-12-28 07:55:32.218234", "rc": 0, "start": "2024-12-28 07:55:32.215144" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.386) 0:01:51.924 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.040) 0:01:51.965 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.039) 0:01:52.004 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.096) 0:01:52.101 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.103) 0:01:52.204 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.120) 0:01:52.325 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.085) 0:01:52.411 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.050) 0:01:52.461 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:32 -0500 (0:00:00.040) 0:01:52.502 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:34 -0500 (0:00:01.633) 0:01:54.135 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:35 -0500 (0:00:01.465) 0:01:55.601 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.041) 0:01:55.642 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.037) 0:01:55.680 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.072) 0:01:55.752 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.040) 0:01:55.792 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.044) 0:01:55.837 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.040) 0:01:55.877 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.045) 0:01:55.923 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.089) 0:01:56.012 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.055) 0:01:56.068 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.068) 0:01:56.137 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.073) 0:01:56.210 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.071) 0:01:56.282 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:36 -0500 (0:00:00.062) 0:01:56.344 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:37 -0500 (0:00:00.654) 0:01:56.999 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmp47l2vkb_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:37 -0500 (0:00:00.527) 0:01:57.526 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:38 -0500 (0:00:00.678) 0:01:58.205 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:38 -0500 (0:00:00.057) 0:01:58.262 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:38 -0500 (0:00:00.061) 0:01:58.324 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:38 -0500 (0:00:00.072) 0:01:58.396 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:38 -0500 (0:00:00.057) 0:01:58.454 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.480) 0:01:58.934 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.061) 0:01:58.996 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.100) 0:01:59.096 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.155) 0:01:59.252 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.092) 0:01:59.344 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.089) 0:01:59.434 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:39 -0500 (0:00:00.058) 0:01:59.492 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:41 -0500 (0:00:01.671) 0:02:01.164 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:43 -0500 (0:00:01.497) 0:02:02.661 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.066) 0:02:02.728 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.062) 0:02:02.790 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.046) 0:02:02.837 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.090) 0:02:02.927 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.046) 0:02:02.974 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.048) 0:02:03.022 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.055) 0:02:03.078 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.114) 0:02:03.192 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.062) 0:02:03.255 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.060) 0:02:03.316 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.065) 0:02:03.382 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.060) 0:02:03.442 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:43 -0500 (0:00:00.060) 0:02:03.502 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:44 -0500 (0:00:00.598) 0:02:04.101 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmp27wixdod" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:44 -0500 (0:00:00.399) 0:02:04.501 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:45 -0500 (0:00:00.881) 0:02:05.382 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:45 -0500 (0:00:00.055) 0:02:05.437 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:45 -0500 (0:00:00.044) 0:02:05.482 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:45 -0500 (0:00:00.045) 0:02:05.527 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:45 -0500 (0:00:00.042) 0:02:05.569 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 December 2024 07:55:46 -0500 (0:00:00.375) 0:02:05.945 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:46 -0500 (0:00:00.097) 0:02:06.042 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:46 -0500 (0:00:00.112) 0:02:06.155 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:46 -0500 (0:00:00.072) 0:02:06.228 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:46 -0500 (0:00:00.057) 0:02:06.286 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:46 -0500 (0:00:00.051) 0:02:06.338 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:48 -0500 (0:00:01.588) 0:02:07.927 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:49 -0500 (0:00:01.500) 0:02:09.427 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:49 -0500 (0:00:00.063) 0:02:09.490 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:49 -0500 (0:00:00.060) 0:02:09.550 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:49 -0500 (0:00:00.059) 0:02:09.610 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.100) 0:02:09.711 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.069) 0:02:09.781 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.060) 0:02:09.842 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.068) 0:02:09.910 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.128) 0:02:10.038 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.061) 0:02:10.099 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.058) 0:02:10.158 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.068) 0:02:10.227 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.046) 0:02:10.273 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:50 -0500 (0:00:00.048) 0:02:10.321 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:51 -0500 (0:00:00.561) 0:02:10.883 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmpxbif_n_i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:51 -0500 (0:00:00.408) 0:02:11.291 ***** changed: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:52 -0500 (0:00:00.584) 0:02:11.875 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:52 -0500 (0:00:00.037) 0:02:11.912 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:52 -0500 (0:00:00.039) 0:02:11.951 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:52 -0500 (0:00:00.044) 0:02:11.995 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:52 -0500 (0:00:00.049) 0:02:12.045 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 December 2024 07:55:52 -0500 (0:00:00.532) 0:02:12.577 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 December 2024 07:55:53 -0500 (0:00:00.116) 0:02:12.694 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 December 2024 07:55:53 -0500 (0:00:00.112) 0:02:12.807 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 December 2024 07:55:53 -0500 (0:00:00.119) 0:02:12.926 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 December 2024 07:55:53 -0500 (0:00:00.063) 0:02:12.989 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 December 2024 07:55:53 -0500 (0:00:00.049) 0:02:13.038 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 December 2024 07:55:53 -0500 (0:00:00.044) 0:02:13.083 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 December 2024 07:55:55 -0500 (0:00:01.619) 0:02:14.702 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 December 2024 07:55:56 -0500 (0:00:01.629) 0:02:16.332 ***** ok: [managed-node1] => {} 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 December 2024 07:55:56 -0500 (0:00:00.084) 0:02:16.416 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 December 2024 07:55:56 -0500 (0:00:00.080) 0:02:16.497 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 December 2024 07:55:56 -0500 (0:00:00.060) 0:02:16.558 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 December 2024 07:55:56 -0500 (0:00:00.075) 0:02:16.634 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.068) 0:02:16.702 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.051) 0:02:16.753 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.098) 0:02:16.852 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.086) 0:02:16.938 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.062) 0:02:17.000 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.061) 0:02:17.061 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.049) 0:02:17.110 ***** skipping: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.051) 0:02:17.161 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 December 2024 07:55:57 -0500 (0:00:00.046) 0:02:17.208 ***** ok: [managed-node1] => { "censored": "the output 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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 December 2024 07:55:58 -0500 (0:00:00.581) 0:02:17.791 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49182vdujdfvf/tmp_k996rlt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 December 2024 07:55:58 -0500 (0:00:00.435) 0:02:18.226 ***** ok: [managed-node1] => { "_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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.607) 0:02:18.834 ***** skipping: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.038) 0:02:18.872 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.041) 0:02:18.913 ***** ok: [managed-node1] => { "__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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.042) 0:02:18.956 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.081) 0:02:19.038 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.398) 0:02:19.436 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 December 2024 07:55:59 -0500 (0:00:00.126) 0:02:19.563 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 December 2024 07:56:00 -0500 (0:00:00.077) 0:02:19.640 ***** ok: [managed-node1] => { "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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 December 2024 07:56:00 -0500 (0:00:00.066) 0:02:19.707 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 December 2024 07:56:00 -0500 (0:00:00.454) 0:02:20.162 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 December 2024 07:56:00 -0500 (0:00:00.112) 0:02:20.275 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018546", "end": "2024-12-28 07:56:01.049513", "rc": 1, "start": "2024-12-28 07:56:01.030967" } 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.485) 0:02:20.760 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.044) 0:02:20.805 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.040) 0:02:20.846 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.040) 0:02:20.887 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.078) 0:02:20.966 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.041) 0:02:21.007 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 28 December 2024 07:56:01 -0500 (0:00:00.048) 0:02:21.056 ***** [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-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.881804", "end": "2024-12-28 07:56:02.634092", "rc": 0, "start": "2024-12-28 07:56:01.752288" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 28 December 2024 07:56:02 -0500 (0:00:01.288) 0:02:22.344 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 28 December 2024 07:56:02 -0500 (0:00:00.049) 0:02:22.394 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 December 2024 07:56:02 -0500 (0:00:00.059) 0:02:22.453 ***** skipping: [managed-node1] => (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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 December 2024 07:56:02 -0500 (0:00:00.072) 0:02:22.526 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 December 2024 07:56:02 -0500 (0:00:00.065) 0:02:22.591 ***** included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 December 2024 07:56:03 -0500 (0:00:00.138) 0:02:22.729 ***** ok: [managed-node1] => { "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.049069", "end": "2024-12-28 07:56:03.640426", "rc": 0, "start": "2024-12-28 07:56:03.591357" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 28 December 2024 07:56:03 -0500 (0:00:00.641) 0:02:23.371 ***** ok: [managed-node1] => { "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.008603", "end": "2024-12-28 07:56:04.080348", "rc": 0, "start": "2024-12-28 07:56:04.071745" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:13:d8:b4:d4:99 brd ff:ff:ff:ff:ff:ff inet 10.31.47.103/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2320sec preferred_lft 2320sec inet6 fe80::13:d8ff:feb4:d499/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 36:aa:a0:90:68:40 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.103 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.103 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-HTU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 28 December 2024 07:56:04 -0500 (0:00:00.458) 0:02:23.830 ***** ok: [managed-node1] => { "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.260627", "end": "2024-12-28 07:56:04.765717", "rc": 0, "start": "2024-12-28 07:56:04.505090" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2620:52:3:1:dead:beef:cafe:fed7 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 13260 0 --:--:-- --:--:-- --:--:-- 13260 % 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 1359 0 --:--:-- --:--:-- --:--:-- 1359 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 28 December 2024 07:56:04 -0500 (0:00:00.623) 0:02:24.454 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-HTU/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-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-HTU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21