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-lt6/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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.051) 0:00:00.051 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 26 October 2024 08:53:40 -0400 (0:00:01.023) 0:00:01.074 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.041) 0:00:01.116 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.492) 0:00:01.608 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.467) 0:00:02.076 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.042) 0:00:02.118 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.038) 0:00:02.156 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.068) 0:00:02.225 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.453) 0:00:02.679 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.021) 0:00:02.701 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.022) 0:00:02.723 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239513", "end": "2024-10-26 08:53:42.467524", "rc": 0, "start": "2024-10-26 08:53:42.228011" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.602) 0:00:03.326 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.022) 0:00:03.349 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.020) 0:00:03.369 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.648) 0:00:04.018 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.027) 0:00:04.045 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.039) 0:00:04.085 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.027) 0:00:04.113 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.079) 0:00:04.192 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.043) 0:00:04.235 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.031) 0:00:04.267 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002862", "end": "2024-10-26 08:53:43.770578", "rc": 0, "start": "2024-10-26 08:53:43.767716" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.387) 0:00:04.654 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.050) 0:00:04.705 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.041) 0:00:04.746 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.078) 0:00:04.824 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007883", "end": "2024-10-26 08:53:44.362057", "rc": 1, "start": "2024-10-26 08:53:44.354174" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.395) 0:00:05.219 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.028) 0:00:05.248 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.398) 0:00:05.646 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.045) 0:00:05.692 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.083) 0:00:05.775 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.200) 0:00:05.976 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.056) 0:00:06.032 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.031) 0:00:06.064 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.028) 0:00:06.093 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.027) 0:00:06.120 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:53:47 -0400 (0:00:01.706) 0:00:07.827 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:53:48 -0400 (0:00:01.748) 0:00:09.575 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:53:48 -0400 (0:00:00.065) 0:00:09.641 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:53:48 -0400 (0:00:00.080) 0:00:09.721 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:53:48 -0400 (0:00:00.058) 0:00:09.780 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.061) 0:00:09.841 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.077) 0:00:09.918 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.063) 0:00:09.982 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.083) 0:00:10.066 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.151) 0:00:10.217 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.157) 0:00:10.374 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.140) 0:00:10.515 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.129) 0:00:10.644 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:53:49 -0400 (0:00:00.131) 0:00:10.776 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:53:50 -0400 (0:00:00.080) 0:00:10.857 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:53:51 -0400 (0:00:01.094) 0:00:11.952 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpgh_ym2p1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:53:51 -0400 (0:00:00.495) 0:00:12.448 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.971) 0:00:13.419 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.076) 0:00:13.495 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.062) 0:00:13.558 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.064) 0:00:13.622 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:53:52 -0400 (0:00:00.060) 0:00:13.682 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.640) 0:00:14.323 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.071) 0:00:14.394 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.110) 0:00:14.505 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.090) 0:00:14.595 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:53:53 -0400 (0:00:00.045) 0:00:14.641 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947232.5323942, "block_size": 4096, "blocks": 8, "ctime": 1729947232.533394, "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": 1729947232.533394, "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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.476) 0:00:15.118 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.060) 0:00:15.178 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017890", "end": "2024-10-26 08:53:54.755308", "rc": 1, "start": "2024-10-26 08:53:54.737418" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.454) 0:00:15.633 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:53:54 -0400 (0:00:00.055) 0:00:15.689 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002955", "end": "2024-10-26 08:53:55.216593", "rc": 0, "start": "2024-10-26 08:53:55.213638" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.420) 0:00:16.109 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.074) 0:00:16.183 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002603", "end": "2024-10-26 08:53:55.752840", "rc": 0, "start": "2024-10-26 08:53:55.750237" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.467) 0:00:16.651 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.066) 0:00:16.717 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:53:55 -0400 (0:00:00.061) 0:00:16.779 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.058) 0:00:16.838 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.054) 0:00:16.893 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.070) 0:00:16.964 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.062) 0:00:17.027 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.138) 0:00:17.165 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034042", "end": "2024-10-26 08:53:56.735562", "rc": 1, "start": "2024-10-26 08:53:56.701520" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.455) 0:00:17.621 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.113) 0:00:17.734 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:53:56 -0400 (0:00:00.065) 0:00:17.800 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.100) 0:00:17.900 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.107) 0:00:18.008 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.076) 0:00:18.085 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002854", "end": "2024-10-26 08:53:57.609586", "rc": 0, "start": "2024-10-26 08:53:57.606732" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.412) 0:00:18.497 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.064) 0:00:18.562 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.063) 0:00:18.626 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:53:57 -0400 (0:00:00.117) 0:00:18.743 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006172", "end": "2024-10-26 08:53:58.405338", "rc": 1, "start": "2024-10-26 08:53:58.399166" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:53:58 -0400 (0:00:00.615) 0:00:19.358 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:53:58 -0400 (0:00:00.105) 0:00:19.464 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.437) 0:00:19.901 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.047) 0:00:19.949 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.115) 0:00:20.064 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.090) 0:00:20.155 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.117) 0:00:20.272 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.092) 0:00:20.364 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.061) 0:00:20.426 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:53:59 -0400 (0:00:00.063) 0:00:20.490 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:01 -0400 (0:00:01.643) 0:00:22.133 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:02 -0400 (0:00:01.601) 0:00:23.735 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:02 -0400 (0:00:00.069) 0:00:23.804 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.137) 0:00:23.942 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.069) 0:00:24.012 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.109) 0:00:24.121 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.092) 0:00:24.213 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.064) 0:00:24.278 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.068) 0:00:24.346 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.119) 0:00:24.466 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.052) 0:00:24.518 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.091) 0:00:24.609 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.050) 0:00:24.660 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.044) 0:00:24.704 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:03 -0400 (0:00:00.044) 0:00:24.749 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.579) 0:00:25.328 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmp9otznwsd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:04 -0400 (0:00:00.395) 0:00:25.723 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:05 -0400 (0:00:00.569) 0:00:26.293 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:05 -0400 (0:00:00.064) 0:00:26.357 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:05 -0400 (0:00:00.062) 0:00:26.420 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:05 -0400 (0:00:00.055) 0:00:26.476 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:05 -0400 (0:00:00.053) 0:00:26.529 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 26 October 2024 08:54:06 -0400 (0:00:00.430) 0:00:26.960 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:54:06 -0400 (0:00:00.051) 0:00:27.011 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:54:06 -0400 (0:00:00.090) 0:00:27.102 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:06 -0400 (0:00:00.073) 0:00:27.175 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 26 October 2024 08:54:06 -0400 (0:00:00.540) 0:00:27.716 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:54:07 -0400 (0:00:00.101) 0:00:27.818 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:07 -0400 (0:00:00.164) 0:00:27.982 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:07 -0400 (0:00:00.063) 0:00:28.046 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947245.38848, "block_size": 4096, "blocks": 8, "ctime": 1729947245.38848, "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": 1729947245.38848, "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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:54:07 -0400 (0:00:00.444) 0:00:28.491 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:54:07 -0400 (0:00:00.053) 0:00:28.544 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018319", "end": "2024-10-26 08:54:08.068595", "rc": 1, "start": "2024-10-26 08:54:08.050276" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.454) 0:00:28.999 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.063) 0:00:29.063 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002857", "end": "2024-10-26 08:54:08.633820", "rc": 0, "start": "2024-10-26 08:54:08.630963" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.452) 0:00:29.515 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:54:08 -0400 (0:00:00.056) 0:00:29.572 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003088", "end": "2024-10-26 08:54:09.099408", "rc": 0, "start": "2024-10-26 08:54:09.096320" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.429) 0:00:30.001 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.069) 0:00:30.071 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.053) 0:00:30.125 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.059) 0:00:30.184 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.051) 0:00:30.236 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.039) 0:00:30.275 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.045) 0:00:30.321 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:09 -0400 (0:00:00.088) 0:00:30.410 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033682", "end": "2024-10-26 08:54:09.977499", "rc": 1, "start": "2024-10-26 08:54:09.943817" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.482) 0:00:30.892 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.076) 0:00:30.968 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.063) 0:00:31.032 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.123) 0:00:31.156 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.202) 0:00:31.358 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:10 -0400 (0:00:00.129) 0:00:31.487 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002855", "end": "2024-10-26 08:54:11.067955", "rc": 0, "start": "2024-10-26 08:54:11.065100" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.521) 0:00:32.009 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.072) 0:00:32.081 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.063) 0:00:32.145 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.100) 0:00:32.245 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.092) 0:00:32.337 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.121) 0:00:32.459 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.054) 0:00:32.514 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.042) 0:00:32.557 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:11 -0400 (0:00:00.044) 0:00:32.602 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:13 -0400 (0:00:01.775) 0:00:34.377 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:15 -0400 (0:00:01.478) 0:00:35.856 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.044) 0:00:35.901 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.052) 0:00:35.953 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.066) 0:00:36.019 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.059) 0:00:36.079 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.107) 0:00:36.187 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.100) 0:00:36.287 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.099) 0:00:36.387 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.145) 0:00:36.532 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.071) 0:00:36.604 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.084) 0:00:36.689 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:15 -0400 (0:00:00.087) 0:00:36.777 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.097) 0:00:36.874 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:16 -0400 (0:00:00.101) 0:00:36.976 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:17 -0400 (0:00:00.832) 0:00:37.808 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmp6y4mhzqu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:17 -0400 (0:00:00.496) 0:00:38.304 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.583) 0:00:38.888 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.073) 0:00:38.961 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.077) 0:00:39.039 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.073) 0:00:39.112 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.066) 0:00:39.179 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.481) 0:00:39.660 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:54:18 -0400 (0:00:00.057) 0:00:39.718 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.106) 0:00:39.824 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.156) 0:00:39.980 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.091) 0:00:40.072 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.055) 0:00:40.128 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.042) 0:00:40.170 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:19 -0400 (0:00:00.042) 0:00:40.213 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:21 -0400 (0:00:01.696) 0:00:41.910 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:22 -0400 (0:00:01.671) 0:00:43.581 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:22 -0400 (0:00:00.053) 0:00:43.634 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:22 -0400 (0:00:00.048) 0:00:43.683 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:22 -0400 (0:00:00.046) 0:00:43.730 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:22 -0400 (0:00:00.044) 0:00:43.774 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.055) 0:00:43.830 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.052) 0:00:43.883 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.070) 0:00:43.953 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.099) 0:00:44.053 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.053) 0:00:44.106 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.050) 0:00:44.157 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.065) 0:00:44.223 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.063) 0:00:44.287 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.062) 0:00:44.349 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.742) 0:00:45.091 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpfzulpk_x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.462) 0:00:45.554 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.810) 0:00:46.364 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.061) 0:00:46.425 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.051) 0:00:46.476 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.059) 0:00:46.536 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.062) 0:00:46.599 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.412) 0:00:47.012 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.128) 0:00:47.140 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.112) 0:00:47.252 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947265.3927932, "block_size": 4096, "blocks": 0, "ctime": 1729947265.3927932, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35343, "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": 1729947265.3927932, "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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.565) 0:00:47.818 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.050) 0:00:47.869 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.078) 0:00:47.948 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.054) 0:00:48.002 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947265.235613, "block_size": 4096, "blocks": 8, "ctime": 1729947257.9985645, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947257.9985645, "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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.387) 0:00:48.390 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.047) 0:00:48.437 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017371", "end": "2024-10-26 08:54:27.952536", "rc": 1, "start": "2024-10-26 08:54:27.935165" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.399) 0:00:48.837 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.053) 0:00:48.890 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002477", "end": "2024-10-26 08:54:28.393274", "rc": 0, "start": "2024-10-26 08:54:28.390797" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.392) 0:00:49.283 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.077) 0:00:49.361 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002465", "end": "2024-10-26 08:54:29.039786", "rc": 0, "start": "2024-10-26 08:54:29.037321" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.578) 0:00:49.939 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.128) 0:00:50.068 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.049) 0:00:50.118 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.049) 0:00:50.168 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.045) 0:00:50.214 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.041) 0:00:50.255 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.044) 0:00:50.300 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.088) 0:00:50.388 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043451", "end": "2024-10-26 08:54:29.925770", "rc": 0, "start": "2024-10-26 08:54:29.882319" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.416) 0:00:50.804 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.078) 0:00:50.882 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.046) 0:00:50.929 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.120) 0:00:51.050 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.107) 0:00:51.158 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.144) 0:00:51.302 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003515", "end": "2024-10-26 08:54:30.924209", "rc": 0, "start": "2024-10-26 08:54:30.920694" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.617) 0:00:51.919 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.084) 0:00:52.004 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.062) 0:00:52.067 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.128) 0:00:52.195 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.113) 0:00:52.308 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.118) 0:00:52.427 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.065) 0:00:52.492 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.048) 0:00:52.541 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.044) 0:00:52.585 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:33 -0400 (0:00:01.654) 0:00:54.239 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:35 -0400 (0:00:01.650) 0:00:55.890 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.081) 0:00:55.971 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.099) 0:00:56.071 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.119) 0:00:56.190 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.068) 0:00:56.259 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.076) 0:00:56.336 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.115) 0:00:56.451 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.073) 0:00:56.525 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.119) 0:00:56.644 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.067) 0:00:56.712 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:35 -0400 (0:00:00.082) 0:00:56.794 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.084) 0:00:56.878 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.073) 0:00:56.952 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.066) 0:00:57.018 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.688) 0:00:57.707 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmppwzyf5_z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.578) 0:00:58.286 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.913) 0:00:59.199 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.077) 0:00:59.276 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.067) 0:00:59.344 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.114) 0:00:59.459 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.064) 0:00:59.524 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.502) 0:01:00.026 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.056) 0:01:00.083 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.082) 0:01:00.165 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.097) 0:01:00.262 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.055) 0:01:00.318 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.045) 0:01:00.363 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.048) 0:01:00.412 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:41 -0400 (0:00:01.941) 0:01:02.353 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:43 -0400 (0:00:01.524) 0:01:03.878 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.045) 0:01:03.923 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.048) 0:01:03.972 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.057) 0:01:04.029 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.094) 0:01:04.123 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.138) 0:01:04.261 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.115) 0:01:04.377 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.090) 0:01:04.468 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.122) 0:01:04.590 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.058) 0:01:04.648 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.067) 0:01:04.715 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.070) 0:01:04.786 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.071) 0:01:04.857 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.105) 0:01:04.962 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.834) 0:01:05.797 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpt5uns1lm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:45 -0400 (0:00:00.516) 0:01:06.314 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.838) 0:01:07.152 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.048) 0:01:07.202 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.047) 0:01:07.249 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.057) 0:01:07.307 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.094) 0:01:07.401 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.416) 0:01:07.817 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.091) 0:01:07.909 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.092) 0:01:08.002 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.108) 0:01:08.110 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.071) 0:01:08.181 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.065) 0:01:08.247 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.079) 0:01:08.326 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:49 -0400 (0:00:01.659) 0:01:09.986 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:50 -0400 (0:00:01.640) 0:01:11.627 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:54:50 -0400 (0:00:00.073) 0:01:11.700 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:50 -0400 (0:00:00.075) 0:01:11.776 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.100) 0:01:11.877 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.080) 0:01:11.957 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.107) 0:01:12.065 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.074) 0:01:12.139 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.089) 0:01:12.229 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.131) 0:01:12.360 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.094) 0:01:12.455 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.063) 0:01:12.519 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.067) 0:01:12.587 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.044) 0:01:12.631 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.048) 0:01:12.680 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.588) 0:01:13.269 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmp4vxi09am" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:54:52 -0400 (0:00:00.422) 0:01:13.691 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:54:53 -0400 (0:00:00.601) 0:01:14.292 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:53 -0400 (0:00:00.074) 0:01:14.366 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:54:53 -0400 (0:00:00.066) 0:01:14.433 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:54:53 -0400 (0:00:00.066) 0:01:14.500 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:54:53 -0400 (0:00:00.074) 0:01:14.574 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.427) 0:01:15.001 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.090) 0:01:15.092 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.073) 0:01:15.165 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729947286.182648, "block_size": 4096, "blocks": 0, "ctime": 1729947286.182648, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35474, "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": 1729947286.182648, "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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.379) 0:01:15.545 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.071) 0:01:15.617 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.107) 0:01:15.724 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:54 -0400 (0:00:00.066) 0:01:15.790 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.481) 0:01:16.271 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.065) 0:01:16.337 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017913", "end": "2024-10-26 08:54:55.926186", "rc": 1, "start": "2024-10-26 08:54:55.908273" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.467) 0:01:16.804 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.085) 0:01:16.889 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.047) 0:01:16.937 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.047) 0:01:16.984 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.053) 0:01:17.038 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.067) 0:01:17.105 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.064) 0:01:17.169 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.060) 0:01:17.230 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.062) 0:01:17.293 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:56 -0400 (0:00:00.118) 0:01:17.411 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043573", "end": "2024-10-26 08:54:56.961752", "rc": 0, "start": "2024-10-26 08:54:56.918179" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.457) 0:01:17.869 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.156) 0:01:18.025 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.102) 0:01:18.128 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.198) 0:01:18.326 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.208) 0:01:18.535 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.127) 0:01:18.662 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002785", "end": "2024-10-26 08:54:58.227237", "rc": 0, "start": "2024-10-26 08:54:58.224452" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.472) 0:01:19.134 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.067) 0:01:19.202 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.064) 0:01:19.267 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.136) 0:01:19.403 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.136) 0:01:19.540 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.166) 0:01:19.706 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.092) 0:01:19.798 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:59 -0400 (0:00:00.069) 0:01:19.868 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:59 -0400 (0:00:00.130) 0:01:19.999 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:00 -0400 (0:00:01.607) 0:01:21.606 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:02 -0400 (0:00:01.589) 0:01:23.196 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.068) 0:01:23.264 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.123) 0:01:23.388 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.062) 0:01:23.451 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.063) 0:01:23.514 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.074) 0:01:23.588 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.134) 0:01:23.723 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.094) 0:01:23.818 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.152) 0:01:23.971 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.070) 0:01:24.041 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.066) 0:01:24.107 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.059) 0:01:24.166 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.057) 0:01:24.224 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.056) 0:01:24.280 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:04 -0400 (0:00:00.616) 0:01:24.896 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpgfgeq3mv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:04 -0400 (0:00:00.424) 0:01:25.320 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.850) 0:01:26.170 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.057) 0:01:26.228 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.053) 0:01:26.282 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.056) 0:01:26.339 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.055) 0:01:26.394 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.428) 0:01:26.823 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.071) 0:01:26.894 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.105) 0:01:26.999 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.173) 0:01:27.173 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.082) 0:01:27.255 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.070) 0:01:27.326 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.060) 0:01:27.386 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:08 -0400 (0:00:01.637) 0:01:29.024 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:09 -0400 (0:00:01.617) 0:01:30.642 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:09 -0400 (0:00:00.065) 0:01:30.707 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:09 -0400 (0:00:00.074) 0:01:30.782 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.071) 0:01:30.854 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.068) 0:01:30.922 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.087) 0:01:31.009 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.070) 0:01:31.080 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.121) 0:01:31.202 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.105) 0:01:31.308 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.054) 0:01:31.362 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.073) 0:01:31.436 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.073) 0:01:31.509 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.055) 0:01:31.564 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.053) 0:01:31.618 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.569) 0:01:32.187 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpm6d6g58p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:11 -0400 (0:00:00.444) 0:01:32.631 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:12 -0400 (0:00:00.861) 0:01:33.493 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:12 -0400 (0:00:00.044) 0:01:33.537 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:12 -0400 (0:00:00.089) 0:01:33.627 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:12 -0400 (0:00:00.049) 0:01:33.676 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:12 -0400 (0:00:00.043) 0:01:33.719 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.365) 0:01:34.085 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.085) 0:01:34.170 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.105) 0:01:34.275 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.091) 0:01:34.366 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.109) 0:01:34.476 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.070) 0:01:34.547 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:15 -0400 (0:00:01.790) 0:01:36.338 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:17 -0400 (0:00:01.572) 0:01:37.910 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.047) 0:01:37.958 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.046) 0:01:38.004 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.045) 0:01:38.050 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.044) 0:01:38.095 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.057) 0:01:38.152 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.045) 0:01:38.198 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.050) 0:01:38.249 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.149) 0:01:38.398 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.045) 0:01:38.444 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.047) 0:01:38.492 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.062) 0:01:38.554 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.052) 0:01:38.607 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:17 -0400 (0:00:00.048) 0:01:38.656 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:18 -0400 (0:00:00.572) 0:01:39.229 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpogmd8lfv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:18 -0400 (0:00:00.399) 0:01:39.628 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.525) 0:01:40.154 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.044) 0:01:40.199 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.047) 0:01:40.247 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.087) 0:01:40.334 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.046) 0:01:40.381 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:55:19 -0400 (0:00:00.395) 0:01:40.776 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.123) 0:01:40.899 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.124) 0:01:41.024 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.121) 0:01:41.145 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.077) 0:01:41.223 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.061) 0:01:41.284 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.060) 0:01:41.344 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:22 -0400 (0:00:01.687) 0:01:43.032 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:23 -0400 (0:00:01.637) 0:01:44.669 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.062) 0:01:44.731 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.051) 0:01:44.783 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.046) 0:01:44.830 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.046) 0:01:44.876 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.053) 0:01:44.929 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.046) 0:01:44.976 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.093) 0:01:45.069 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.092) 0:01:45.162 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.063) 0:01:45.225 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.063) 0:01:45.289 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.070) 0:01:45.360 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.064) 0:01:45.425 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:24 -0400 (0:00:00.065) 0:01:45.490 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:25 -0400 (0:00:00.669) 0:01:46.159 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpwtfgmnnw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:25 -0400 (0:00:00.428) 0:01:46.588 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.549) 0:01:47.137 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.052) 0:01:47.190 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.107) 0:01:47.298 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.182) 0:01:47.481 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.089) 0:01:47.570 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.648) 0:01:48.219 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.214) 0:01:48.433 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.103) 0:01:48.537 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.064) 0:01:48.601 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.414) 0:01:49.016 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.097) 0:01:49.114 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018271", "end": "2024-10-26 08:55:28.762771", "rc": 1, "start": "2024-10-26 08:55:28.744500" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.545) 0:01:49.660 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.052) 0:01:49.712 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:55:28 -0400 (0:00:00.071) 0:01:49.784 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.051) 0:01:49.835 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.056) 0:01:49.892 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.133) 0:01:50.025 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.068) 0:01:50.094 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.083) 0:01:50.178 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.063) 0:01:50.241 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.162) 0:01:50.404 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042806", "end": "2024-10-26 08:55:29.958779", "rc": 0, "start": "2024-10-26 08:55:29.915973" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.451) 0:01:50.855 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.114) 0:01:50.970 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.064) 0:01:51.035 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.123) 0:01:51.158 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.102) 0:01:51.261 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.098) 0:01:51.359 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003440", "end": "2024-10-26 08:55:30.955462", "rc": 0, "start": "2024-10-26 08:55:30.952022" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.482) 0:01:51.841 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.048) 0:01:51.890 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.046) 0:01:51.936 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.116) 0:01:52.053 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.119) 0:01:52.173 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.142) 0:01:52.315 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.085) 0:01:52.401 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.063) 0:01:52.464 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:31 -0400 (0:00:00.065) 0:01:52.530 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:33 -0400 (0:00:01.746) 0:01:54.277 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:35 -0400 (0:00:01.555) 0:01:55.832 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.047) 0:01:55.880 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.044) 0:01:55.925 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.045) 0:01:55.970 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.055) 0:01:56.025 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.077) 0:01:56.103 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.055) 0:01:56.159 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.057) 0:01:56.217 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.113) 0:01:56.330 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.086) 0:01:56.417 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.044) 0:01:56.461 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.055) 0:01:56.516 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.046) 0:01:56.562 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:35 -0400 (0:00:00.045) 0:01:56.608 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:36 -0400 (0:00:00.598) 0:01:57.206 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpexaq6582" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:36 -0400 (0:00:00.416) 0:01:57.622 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.542) 0:01:58.165 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.044) 0:01:58.209 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.047) 0:01:58.256 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.047) 0:01:58.304 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.051) 0:01:58.356 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.412) 0:01:58.768 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.069) 0:01:58.837 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.110) 0:01:58.948 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.127) 0:01:59.075 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.079) 0:01:59.154 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.063) 0:01:59.218 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.064) 0:01:59.282 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:40 -0400 (0:00:01.657) 0:02:00.940 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:41 -0400 (0:00:01.464) 0:02:02.404 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.048) 0:02:02.453 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.051) 0:02:02.505 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.045) 0:02:02.551 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.046) 0:02:02.597 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.053) 0:02:02.651 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.046) 0:02:02.697 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:41 -0400 (0:00:00.050) 0:02:02.747 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:42 -0400 (0:00:00.086) 0:02:02.833 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:42 -0400 (0:00:00.084) 0:02:02.917 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:42 -0400 (0:00:00.043) 0:02:02.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:42 -0400 (0:00:00.051) 0:02:03.013 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:42 -0400 (0:00:00.057) 0:02:03.070 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:42 -0400 (0:00:00.075) 0:02:03.146 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:43 -0400 (0:00:00.697) 0:02:03.844 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmp_j9mtzi8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:43 -0400 (0:00:00.412) 0:02:04.256 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.850) 0:02:05.106 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.070) 0:02:05.176 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.066) 0:02:05.243 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.079) 0:02:05.322 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.060) 0:02:05.382 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.595) 0:02:05.978 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.184) 0:02:06.163 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.113) 0:02:06.277 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.077) 0:02:06.354 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.058) 0:02:06.413 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.051) 0:02:06.464 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:47 -0400 (0:00:01.662) 0:02:08.126 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:48 -0400 (0:00:01.637) 0:02:09.764 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.063) 0:02:09.828 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.075) 0:02:09.903 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.061) 0:02:09.965 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.067) 0:02:10.033 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.063) 0:02:10.097 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.065) 0:02:10.162 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.058) 0:02:10.221 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.084) 0:02:10.305 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.042) 0:02:10.348 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.043) 0:02:10.391 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.050) 0:02:10.442 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.079) 0:02:10.522 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:49 -0400 (0:00:00.043) 0:02:10.565 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:50 -0400 (0:00:00.548) 0:02:11.114 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmpfrux22h_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:50 -0400 (0:00:00.413) 0:02:11.527 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.640) 0:02:12.168 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.065) 0:02:12.234 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.065) 0:02:12.299 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.056) 0:02:12.356 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.049) 0:02:12.406 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.382) 0:02:12.788 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:55:52 -0400 (0:00:00.164) 0:02:12.953 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 26 October 2024 08:55:52 -0400 (0:00:00.109) 0:02:13.062 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:52 -0400 (0:00:00.129) 0:02:13.192 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:52 -0400 (0:00:00.075) 0:02:13.267 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:52 -0400 (0:00:00.050) 0:02:13.317 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:52 -0400 (0:00:00.049) 0:02:13.366 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:54 -0400 (0:00:01.622) 0:02:14.989 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:55 -0400 (0:00:01.528) 0:02:16.518 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 26 October 2024 08:55:55 -0400 (0:00:00.054) 0:02:16.572 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:55 -0400 (0:00:00.045) 0:02:16.618 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:55 -0400 (0:00:00.043) 0:02:16.662 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:55 -0400 (0:00:00.045) 0:02:16.707 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:55 -0400 (0:00:00.052) 0:02:16.760 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:55 -0400 (0:00:00.043) 0:02:16.804 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.053) 0:02:16.858 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.087) 0:02:16.945 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.046) 0:02:16.992 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.099) 0:02:17.091 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.052) 0:02:17.143 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.044) 0:02:17.188 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.044) 0:02:17.232 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 26 October 2024 08:55:56 -0400 (0:00:00.559) 0:02:17.791 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49248t_5evvc_/tmp3dg9m812" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.448) 0:02:18.240 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.598) 0:02:18.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.044) 0:02:18.884 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.046) 0:02:18.930 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.047) 0:02:18.978 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.042) 0:02:19.021 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.443) 0:02:19.465 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.125) 0:02:19.590 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.132) 0:02:19.723 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.079) 0:02:19.802 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 26 October 2024 08:55:59 -0400 (0:00:00.442) 0:02:20.245 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 26 October 2024 08:55:59 -0400 (0:00:00.062) 0:02:20.307 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017633", "end": "2024-10-26 08:55:59.852385", "rc": 1, "start": "2024-10-26 08:55:59.834752" } 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 26 October 2024 08:55:59 -0400 (0:00:00.447) 0:02:20.755 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.055) 0:02:20.810 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.077) 0:02:20.887 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.064) 0:02:20.951 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.069) 0:02:21.021 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.072) 0:02:21.093 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.138) 0:02:21.232 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.881668", "end": "2024-10-26 08:56:01.638454", "rc": 0, "start": "2024-10-26 08:56:00.756786" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 26 October 2024 08:56:01 -0400 (0:00:01.381) 0:02:22.613 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 26 October 2024 08:56:01 -0400 (0:00:00.107) 0:02:22.722 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 26 October 2024 08:56:02 -0400 (0:00:00.121) 0:02:22.843 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 26 October 2024 08:56:02 -0400 (0:00:00.065) 0:02:22.909 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:56:02 -0400 (0:00:00.069) 0:02:22.978 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:56:02 -0400 (0:00:00.159) 0:02:23.137 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045489", "end": "2024-10-26 08:56:02.731598", "rc": 0, "start": "2024-10-26 08:56:02.686109" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 26 October 2024 08:56:02 -0400 (0:00:00.584) 0:02:23.722 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007992", "end": "2024-10-26 08:56:03.269574", "rc": 0, "start": "2024-10-26 08:56:03.261582" } 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:6a:80:f6:3b:7b brd ff:ff:ff:ff:ff:ff inet 10.31.44.142/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2693sec preferred_lft 2693sec inet6 fe80::6a:80ff:fef6:3b7b/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 92:0f:73:73:cf:e0 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.142 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.142 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-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.433) 0:02:24.155 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.461199", "end": "2024-10-26 08:56:04.303104", "rc": 0, "start": "2024-10-26 08:56:03.841905" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1392 0 --:--:-- --:--:-- --:--:-- 1386 % 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 1328 0 --:--:-- --:--:-- --:--:-- 1328 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 26 October 2024 08:56:04 -0400 (0:00:01.084) 0:02:25.240 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-lt6/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-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-lt6/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-lt6/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-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-lt6/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-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21