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_nm.yml ************************************************** 2 plays in /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 26 October 2024 08:54:20 -0400 (0:00:00.027) 0:00:00.027 ****** ok: [managed-node1] 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_nm.yml:9 Saturday 26 October 2024 08:54:21 -0400 (0:00:01.051) 0:00:01.079 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.073) 0:00:01.152 ****** ok: [managed-node1] 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:54:21 -0400 (0:00:00.563) 0:00:01.716 ****** ok: [managed-node1] => { "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:54:22 -0400 (0:00:00.541) 0:00:02.257 ****** ok: [managed-node1] => { "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:54:22 -0400 (0:00:00.049) 0:00:02.307 ****** skipping: [managed-node1] => { "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:54:22 -0400 (0:00:00.054) 0:00:02.361 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 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:54:22 -0400 (0:00:00.112) 0:00:02.474 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.525) 0:00:02.999 ****** skipping: [managed-node1] => { "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:54:23 -0400 (0:00:00.034) 0:00:03.033 ****** skipping: [managed-node1] => { "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:54:23 -0400 (0:00:00.032) 0:00:03.066 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241453", "end": "2024-10-26 08:54:23.717776", "rc": 0, "start": "2024-10-26 08:54:23.476323" } 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:54:23 -0400 (0:00:00.655) 0:00:03.722 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.041) 0:00:03.764 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "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:54:23 -0400 (0:00:00.047) 0:00:03.811 ****** ok: [managed-node1] 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:54:24 -0400 (0:00:00.703) 0:00:04.515 ****** ok: [managed-node1] => {} 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:54:24 -0400 (0:00:00.019) 0:00:04.534 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.030) 0:00:04.565 ****** ok: [managed-node1] => {} 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:54:24 -0400 (0:00:00.024) 0:00:04.589 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.101) 0:00:04.691 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.046) 0:00:04.737 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.047) 0:00:04.784 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002861", "end": "2024-10-26 08:54:25.176017", "rc": 0, "start": "2024-10-26 08:54:25.173156" } STDOUT: bonding_masters eth0 lo 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:25 -0400 (0:00:00.371) 0:00:05.155 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:25 -0400 (0:00:00.021) 0:00:05.177 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] 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:25 -0400 (0:00:00.022) 0:00:05.199 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.041) 0:00:05.241 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007176", "end": "2024-10-26 08:54:25.655951", "rc": 1, "start": "2024-10-26 08:54:25.648775" } 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:54:25 -0400 (0:00:00.404) 0:00:05.645 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.037) 0:00:05.682 ****** ok: [managed-node1] => { "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:26 -0400 (0:00:00.392) 0:00:06.075 ****** ok: [managed-node1] => { "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:54:26 -0400 (0:00:00.050) 0:00:06.125 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.060) 0:00:06.186 ****** 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:26 -0400 (0:00:00.172) 0:00:06.358 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.059) 0:00:06.417 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.038) 0:00:06.455 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.031) 0:00:06.487 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.035) 0:00:06.522 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:28 -0400 (0:00:01.784) 0:00:08.306 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:30 -0400 (0:00:01.940) 0:00:10.246 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:30 -0400 (0:00:00.060) 0:00:10.307 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.060) 0:00:10.367 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.063) 0:00:10.431 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.052) 0:00:10.483 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.082) 0:00:10.565 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.052) 0:00:10.618 ****** skipping: [managed-node1] => { "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:30 -0400 (0:00:00.071) 0:00:10.690 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.118) 0:00:10.808 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.061) 0:00:10.869 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.071) 0:00:10.941 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.113) 0:00:11.054 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:32 -0400 (0:00:00.928) 0:00:11.983 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.048) 0:00:12.031 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:32 -0400 (0:00:00.075) 0:00:12.106 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:32 -0400 (0:00:00.041) 0:00:12.148 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20645bd5-4de9-49e7-a52a-23e16ea62e96 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:33 -0400 (0:00:00.880) 0:00:13.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.058) 0:00:13.087 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20645bd5-4de9-49e7-a52a-23e16ea62e96" ] } 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:33 -0400 (0:00:00.064) 0:00:13.152 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20645bd5-4de9-49e7-a52a-23e16ea62e96\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20645bd5-4de9-49e7-a52a-23e16ea62e96" ] } } 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:33 -0400 (0:00:00.064) 0:00:13.216 ****** skipping: [managed-node1] => {} 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:33 -0400 (0:00:00.091) 0:00:13.307 ****** ok: [managed-node1] => { "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:34 -0400 (0:00:00.638) 0:00:13.946 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20645bd5-4de9-49e7-a52a-23e16ea62e96\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20645bd5-4de9-49e7-a52a-23e16ea62e96" ] } } 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:34 -0400 (0:00:00.053) 0:00:13.999 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.091) 0:00:14.091 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.078) 0:00:14.169 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:34 -0400 (0:00:00.076) 0:00:14.246 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947272.9934654, "block_size": 4096, "blocks": 8, "ctime": 1729947272.947465, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947272.947465, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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:34 -0400 (0:00:00.388) 0:00:14.634 ****** ok: [managed-node1] => { "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:34 -0400 (0:00:00.044) 0:00:14.679 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019304", "end": "2024-10-26 08:54:35.085145", "rc": 0, "start": "2024-10-26 08:54:35.065841" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:35 -0400 (0:00:00.526) 0:00:15.205 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:35 -0400 (0:00:00.125) 0:00:15.331 ****** skipping: [managed-node1] => { "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:35 -0400 (0:00:00.073) 0:00:15.405 ****** skipping: [managed-node1] => { "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:35 -0400 (0:00:00.086) 0:00:15.491 ****** skipping: [managed-node1] => { "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:35 -0400 (0:00:00.078) 0:00:15.569 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was 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:35 -0400 (0:00:00.065) 0:00:15.635 ****** ok: [managed-node1] => { "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:35 -0400 (0:00:00.066) 0:00:15.702 ****** ok: [managed-node1] => { "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:35 -0400 (0:00:00.074) 0:00:15.777 ****** ok: [managed-node1] => { "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:35 -0400 (0:00:00.064) 0:00:15.841 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 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:36 -0400 (0:00:00.119) 0:00:15.960 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.151) 0:00:16.111 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947272.9488852, "block_size": 4096, "blocks": 0, "ctime": 1729947272.9488852, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37952, "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": 1729947272.9488852, "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:36 -0400 (0:00:00.519) 0:00:16.631 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed 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:54:36 -0400 (0:00:00.056) 0:00:16.687 ****** ok: [managed-node1] => {} 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:54:36 -0400 (0:00:00.049) 0:00:16.737 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:36 -0400 (0:00:00.099) 0:00:16.837 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055625", "end": "2024-10-26 08:54:37.323823", "rc": 1, "start": "2024-10-26 08:54:37.268198" } STDOUT: Connection 'statebr' (20645bd5-4de9-49e7-a52a-23e16ea62e96) successfully deleted. STDERR: 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:54:37 -0400 (0:00:00.490) 0:00:17.328 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.094) 0:00:17.422 ****** ok: [managed-node1] => {} 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:54:37 -0400 (0:00:00.071) 0:00:17.494 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.140) 0:00:17.634 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.109) 0:00:17.744 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:37 -0400 (0:00:00.152) 0:00:17.896 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003132", "end": "2024-10-26 08:54:38.333207", "rc": 0, "start": "2024-10-26 08:54:38.330075" } STDOUT: bonding_masters eth0 lo 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:38 -0400 (0:00:00.480) 0:00:18.376 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:38 -0400 (0:00:00.079) 0:00:18.456 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] 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:38 -0400 (0:00:00.069) 0:00:18.525 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 26 October 2024 08:54:38 -0400 (0:00:00.122) 0:00:18.647 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005781", "end": "2024-10-26 08:54:39.045222", "rc": 1, "start": "2024-10-26 08:54:39.039441" } 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:54:39 -0400 (0:00:00.408) 0:00:19.056 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.088) 0:00:19.145 ****** ok: [managed-node1] => { "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:39 -0400 (0:00:00.448) 0:00:19.593 ****** ok: [managed-node1] => { "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:54:39 -0400 (0:00:00.049) 0:00:19.642 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 26 October 2024 08:54:39 -0400 (0:00:00.090) 0:00:19.733 ****** 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.141) 0:00:19.875 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:40 -0400 (0:00:00.108) 0:00:19.983 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:40 -0400 (0:00:00.065) 0:00:20.048 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:40 -0400 (0:00:00.060) 0:00:20.109 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:40 -0400 (0:00:00.043) 0:00:20.152 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-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.630) 0:00:21.783 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:43 -0400 (0:00:01.673) 0:00:23.456 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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.064) 0:00:23.521 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.068) 0:00:23.589 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.064) 0:00:23.653 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.073) 0:00:23.727 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.081) 0:00:23.808 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:43 -0400 (0:00:00.067) 0:00:23.876 ****** skipping: [managed-node1] => { "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:44 -0400 (0:00:00.076) 0:00:23.953 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.139) 0:00:24.093 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.093) 0:00:24.186 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.058) 0:00:24.245 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:44 -0400 (0:00:00.090) 0:00:24.335 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:45 -0400 (0:00:00.699) 0:00:25.034 ****** skipping: [managed-node1] => { "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:45 -0400 (0:00:00.075) 0:00:25.110 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:45 -0400 (0:00:00.061) 0:00:25.171 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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.058) 0:00:25.230 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2a1de7a-87ef-42e3-92f6-66dbc8aa2550 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:45 -0400 (0:00:00.628) 0:00:25.858 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:45 -0400 (0:00:00.057) 0:00:25.915 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2a1de7a-87ef-42e3-92f6-66dbc8aa2550" ] } 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.068) 0:00:25.984 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2a1de7a-87ef-42e3-92f6-66dbc8aa2550\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2a1de7a-87ef-42e3-92f6-66dbc8aa2550" ] } } 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.063) 0:00:26.047 ****** skipping: [managed-node1] => {} 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.054) 0:00:26.101 ****** ok: [managed-node1] => { "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:46 -0400 (0:00:00.444) 0:00:26.546 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2a1de7a-87ef-42e3-92f6-66dbc8aa2550\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2a1de7a-87ef-42e3-92f6-66dbc8aa2550" ] } } 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:46 -0400 (0:00:00.052) 0:00:26.598 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.099) 0:00:26.697 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:54:46 -0400 (0:00:00.113) 0:00:26.811 ****** ok: [managed-node1] => { "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:47 -0400 (0:00:00.422) 0:00:27.233 ****** ok: [managed-node1] => { "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:47 -0400 (0:00:00.075) 0:00:27.308 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.128) 0:00:27.436 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:54:47 -0400 (0:00:00.058) 0:00:27.495 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947285.8275998, "block_size": 4096, "blocks": 8, "ctime": 1729947285.8275998, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947285.8275998, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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:47 -0400 (0:00:00.418) 0:00:27.914 ****** ok: [managed-node1] => { "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:48 -0400 (0:00:00.045) 0:00:27.960 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018279", "end": "2024-10-26 08:54:48.360801", "rc": 0, "start": "2024-10-26 08:54:48.342522" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:48 -0400 (0:00:00.405) 0:00:28.366 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:48 -0400 (0:00:00.046) 0:00:28.413 ****** skipping: [managed-node1] => { "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:48 -0400 (0:00:00.059) 0:00:28.473 ****** skipping: [managed-node1] => { "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:48 -0400 (0:00:00.047) 0:00:28.520 ****** skipping: [managed-node1] => { "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:48 -0400 (0:00:00.108) 0:00:28.629 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was 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:48 -0400 (0:00:00.048) 0:00:28.677 ****** ok: [managed-node1] => { "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:48 -0400 (0:00:00.051) 0:00:28.728 ****** ok: [managed-node1] => { "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:48 -0400 (0:00:00.060) 0:00:28.789 ****** ok: [managed-node1] => { "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:48 -0400 (0:00:00.054) 0:00:28.843 ****** 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:48 -0400 (0:00:00.043) 0:00:28.886 ****** ok: [managed-node1] => {} 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:49 -0400 (0:00:00.045) 0:00:28.932 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:54:49 -0400 (0:00:00.102) 0:00:29.034 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037494", "end": "2024-10-26 08:54:49.571718", "rc": 1, "start": "2024-10-26 08:54:49.534224" } STDOUT: Connection 'statebr' (b2a1de7a-87ef-42e3-92f6-66dbc8aa2550) successfully deleted. STDERR: 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:49 -0400 (0:00:00.562) 0:00:29.597 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:54:49 -0400 (0:00:00.115) 0:00:29.712 ****** ok: [managed-node1] => {} 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:49 -0400 (0:00:00.067) 0:00:29.780 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:54:49 -0400 (0:00:00.120) 0:00:29.900 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:54:50 -0400 (0:00:00.148) 0:00:30.049 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:54:50 -0400 (0:00:00.087) 0:00:30.136 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002760", "end": "2024-10-26 08:54:50.520853", "rc": 0, "start": "2024-10-26 08:54:50.518093" } STDOUT: bonding_masters eth0 lo 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:50 -0400 (0:00:00.393) 0:00:30.529 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:50 -0400 (0:00:00.078) 0:00:30.608 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] 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:50 -0400 (0:00:00.090) 0:00:30.699 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:54:50 -0400 (0:00:00.191) 0:00:30.890 ****** 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:51 -0400 (0:00:00.123) 0:00:31.013 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.219) 0:00:31.233 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.076) 0:00:31.309 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.062) 0:00:31.372 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:51 -0400 (0:00:00.059) 0:00:31.432 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:54:53 -0400 (0:00:01.768) 0:00:33.200 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:54:54 -0400 (0:00:01.660) 0:00:34.860 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:54 -0400 (0:00:00.063) 0:00:34.923 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.052) 0:00:34.976 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.049) 0:00:35.026 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.084) 0:00:35.110 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.052) 0:00:35.163 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.044) 0:00:35.207 ****** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.062) 0:00:35.269 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.142) 0:00:35.412 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.083) 0:00:35.496 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.052) 0:00:35.548 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:54:55 -0400 (0:00:00.064) 0:00:35.613 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56 -0400 (0:00:00.593) 0:00:36.206 ****** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.076) 0:00:36.283 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56 -0400 (0:00:00.064) 0:00:36.347 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:56 -0400 (0:00:00.063) 0:00:36.411 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a 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:57 -0400 (0:00:00.687) 0:00:37.099 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:54:57 -0400 (0:00:00.158) 0:00:37.258 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a" ] } 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:57 -0400 (0:00:00.082) 0:00:37.341 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a" ] } } 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:57 -0400 (0:00:00.118) 0:00:37.459 ****** skipping: [managed-node1] => {} 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:57 -0400 (0:00:00.067) 0:00:37.526 ****** ok: [managed-node1] => { "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:58 -0400 (0:00:00.591) 0:00:38.117 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a" ] } } 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:58 -0400 (0:00:00.053) 0:00:38.171 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 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:58 -0400 (0:00:00.103) 0:00:38.275 ****** 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.127) 0:00:38.402 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-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.140) 0:00:38.542 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-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.143) 0:00:38.686 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.066) 0:00:38.753 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:54:58 -0400 (0:00:00.061) 0:00:38.815 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-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.785) 0:00:40.601 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:02 -0400 (0:00:01.591) 0:00:42.192 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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.095) 0:00:42.287 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.077) 0:00:42.365 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.071) 0:00:42.437 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.111) 0:00:42.548 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-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:00:42.622 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.073) 0:00:42.696 ****** skipping: [managed-node1] => { "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:02 -0400 (0:00:00.078) 0:00:42.774 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:02 -0400 (0:00:00.124) 0:00:42.898 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.066) 0:00:42.965 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.072) 0:00:43.037 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:03 -0400 (0:00:00.097) 0:00:43.135 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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.638) 0:00:43.774 ****** skipping: [managed-node1] => { "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.050) 0:00:43.824 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:03 -0400 (0:00:00.041) 0:00:43.866 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:03 -0400 (0:00:00.041) 0:00:43.908 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a skipped because already active 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:04 -0400 (0:00:00.670) 0:00:44.578 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:04 -0400 (0:00:00.203) 0:00:44.782 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a skipped because already active" ] } 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:04 -0400 (0:00:00.091) 0:00:44.874 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7041b92-35f0-44d5-977c-6f3aac03518a skipped because already active" ] } } 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.069) 0:00:44.943 ****** skipping: [managed-node1] => {} 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.089) 0:00:45.033 ****** ok: [managed-node1] => { "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:05 -0400 (0:00:00.528) 0:00:45.562 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.120) 0:00:45.682 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:55:05 -0400 (0:00:00.078) 0:00:45.761 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947297.0051472, "block_size": 4096, "blocks": 0, "ctime": 1729947297.0051472, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38083, "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": 1729947297.0051472, "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:55:06 -0400 (0:00:00.416) 0:00:46.177 ****** ok: [managed-node1] => { "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:55:06 -0400 (0:00:00.074) 0:00:46.252 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.147) 0:00:46.400 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:55:06 -0400 (0:00:00.061) 0:00:46.461 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947297.0517173, "block_size": 4096, "blocks": 8, "ctime": 1729947297.0027168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729947297.0027168, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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:55:07 -0400 (0:00:00.481) 0:00:46.942 ****** ok: [managed-node1] => { "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:55:07 -0400 (0:00:00.052) 0:00:46.994 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018636", "end": "2024-10-26 08:55:07.425208", "rc": 0, "start": "2024-10-26 08:55:07.406572" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:07 -0400 (0:00:00.444) 0:00:47.438 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:07 -0400 (0:00:00.074) 0:00:47.513 ****** skipping: [managed-node1] => { "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:07 -0400 (0:00:00.063) 0:00:47.577 ****** skipping: [managed-node1] => { "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:07 -0400 (0:00:00.052) 0:00:47.630 ****** skipping: [managed-node1] => { "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:07 -0400 (0:00:00.049) 0:00:47.680 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was 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:55:07 -0400 (0:00:00.046) 0:00:47.726 ****** ok: [managed-node1] => { "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:55:07 -0400 (0:00:00.048) 0:00:47.774 ****** ok: [managed-node1] => { "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:55:07 -0400 (0:00:00.052) 0:00:47.827 ****** ok: [managed-node1] => { "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:07 -0400 (0:00:00.052) 0:00:47.880 ****** 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:55:08 -0400 (0:00:00.061) 0:00:47.942 ****** ok: [managed-node1] => {} 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:55:08 -0400 (0:00:00.063) 0:00:48.005 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:55:08 -0400 (0:00:00.111) 0:00:48.117 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065224", "end": "2024-10-26 08:55:08.575387", "rc": 1, "start": "2024-10-26 08:55:08.510163" } STDOUT: Connection 'statebr' (b7041b92-35f0-44d5-977c-6f3aac03518a) successfully deleted. STDERR: 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:83 Saturday 26 October 2024 08:55:08 -0400 (0:00:00.460) 0:00:48.577 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:55:08 -0400 (0:00:00.079) 0:00:48.656 ****** ok: [managed-node1] => {} 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:55:08 -0400 (0:00:00.063) 0:00:48.719 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:55:08 -0400 (0:00:00.108) 0:00:48.828 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:55:08 -0400 (0:00:00.088) 0:00:48.916 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:55:09 -0400 (0:00:00.073) 0:00:48.990 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002732", "end": "2024-10-26 08:55:09.367591", "rc": 0, "start": "2024-10-26 08:55:09.364859" } STDOUT: bonding_masters eth0 lo 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:09 -0400 (0:00:00.391) 0:00:49.381 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:09 -0400 (0:00:00.060) 0:00:49.442 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] 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:09 -0400 (0:00:00.064) 0:00:49.506 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 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:09 -0400 (0:00:00.113) 0:00:49.620 ****** 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:09 -0400 (0:00:00.303) 0:00:49.923 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.153) 0:00:50.076 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.082) 0:00:50.159 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.063) 0:00:50.222 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:10 -0400 (0:00:00.073) 0:00:50.295 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:12 -0400 (0:00:01.716) 0:00:52.012 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:13 -0400 (0:00:01.575) 0:00:53.587 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:13 -0400 (0:00:00.110) 0:00:53.698 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.071) 0:00:53.769 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.076) 0:00:53.846 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:13 -0400 (0:00:00.074) 0:00:53.920 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.085) 0:00:54.005 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.052) 0:00:54.058 ****** skipping: [managed-node1] => { "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:14 -0400 (0:00:00.057) 0:00:54.116 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.082) 0:00:54.199 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.042) 0:00:54.241 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.042) 0:00:54.284 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:14 -0400 (0:00:00.048) 0:00:54.332 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:14 -0400 (0:00:00.562) 0:00:54.895 ****** skipping: [managed-node1] => { "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:15 -0400 (0:00:00.050) 0:00:54.945 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:15 -0400 (0:00:00.043) 0:00:54.989 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:15 -0400 (0:00:00.041) 0:00:55.030 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484 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:15 -0400 (0:00:00.652) 0:00:55.683 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:15 -0400 (0:00:00.062) 0:00:55.746 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484" ] } 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:15 -0400 (0:00:00.061) 0:00:55.807 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484" ] } } 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:15 -0400 (0:00:00.054) 0:00:55.862 ****** skipping: [managed-node1] => {} 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:15 -0400 (0:00:00.065) 0:00:55.927 ****** ok: [managed-node1] => { "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:16 -0400 (0:00:00.403) 0:00:56.331 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484" ] } } 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:16 -0400 (0:00:00.045) 0:00:56.377 ****** 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:16 -0400 (0:00:00.075) 0:00:56.452 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:16 -0400 (0:00:00.126) 0:00:56.578 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:16 -0400 (0:00:00.067) 0:00:56.645 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:16 -0400 (0:00:00.044) 0:00:56.689 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:16 -0400 (0:00:00.041) 0:00:56.731 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:18 -0400 (0:00:01.596) 0:00:58.328 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:19 -0400 (0:00:01.527) 0:00:59.856 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:19 -0400 (0:00:00.063) 0:00:59.919 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.058) 0:00:59.977 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.063) 0:01:00.040 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.061) 0:01:00.102 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.073) 0:01:00.175 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.060) 0:01:00.235 ****** skipping: [managed-node1] => { "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:20 -0400 (0:00:00.074) 0:01:00.310 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.117) 0:01:00.428 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.057) 0:01:00.485 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.049) 0:01:00.535 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:20 -0400 (0:00:00.059) 0:01:00.595 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:21 -0400 (0:00:00.565) 0:01:01.161 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:21 -0400 (0:00:00.049) 0:01:01.211 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:21 -0400 (0:00:00.082) 0:01:01.293 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:21 -0400 (0:00:00.043) 0:01:01.337 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484 skipped because already active 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:22 -0400 (0:00:00.593) 0:01:01.930 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:22 -0400 (0:00:00.071) 0:01:02.002 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484 skipped because already active" ] } 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:22 -0400 (0:00:00.158) 0:01:02.161 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5bae571-5783-4298-8bec-ea62d23cc484 skipped because already active" ] } } 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:22 -0400 (0:00:00.096) 0:01:02.258 ****** skipping: [managed-node1] => {} 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:22 -0400 (0:00:00.069) 0:01:02.327 ****** ok: [managed-node1] => { "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:22 -0400 (0:00:00.426) 0:01:02.754 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 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:22 -0400 (0:00:00.104) 0:01:02.858 ****** 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:23 -0400 (0:00:00.089) 0:01:02.947 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.127) 0:01:03.074 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.058) 0:01:03.133 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.057) 0:01:03.190 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:23 -0400 (0:00:00.072) 0:01:03.263 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:25 -0400 (0:00:01.676) 0:01:04.939 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:26 -0400 (0:00:01.543) 0:01:06.483 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:26 -0400 (0:00:00.137) 0:01:06.621 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.080) 0:01:06.701 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.078) 0:01:06.779 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.065) 0:01:06.845 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:26 -0400 (0:00:00.082) 0:01:06.928 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.073) 0:01:07.001 ****** skipping: [managed-node1] => { "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:27 -0400 (0:00:00.093) 0:01:07.094 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.112) 0:01:07.206 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.078) 0:01:07.285 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.067) 0:01:07.353 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:27 -0400 (0:00:00.069) 0:01:07.422 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:28 -0400 (0:00:00.735) 0:01:08.158 ****** skipping: [managed-node1] => { "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:28 -0400 (0:00:00.115) 0:01:08.274 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:28 -0400 (0:00:00.069) 0:01:08.344 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:28 -0400 (0:00:00.066) 0:01:08.410 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: 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:29 -0400 (0:00:00.711) 0:01:09.122 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:29 -0400 (0:00:00.070) 0:01:09.193 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } 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:29 -0400 (0:00:00.078) 0:01:09.271 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:29 -0400 (0:00:00.107) 0:01:09.379 ****** skipping: [managed-node1] => {} 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:29 -0400 (0:00:00.117) 0:01:09.496 ****** ok: [managed-node1] => { "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:29 -0400 (0:00:00.400) 0:01:09.897 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.112) 0:01:10.010 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.104) 0:01:10.114 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947315.602204, "block_size": 4096, "blocks": 0, "ctime": 1729947315.602204, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38214, "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": 1729947315.602204, "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:55:30 -0400 (0:00:00.447) 0:01:10.562 ****** ok: [managed-node1] => { "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:55:30 -0400 (0:00:00.053) 0:01:10.615 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.101) 0:01:10.717 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:55:30 -0400 (0:00:00.095) 0:01:10.812 ****** ok: [managed-node1] => { "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:31 -0400 (0:00:00.434) 0:01:11.246 ****** skipping: [managed-node1] => { "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:31 -0400 (0:00:00.064) 0:01:11.311 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017518", "end": "2024-10-26 08:55:31.931676", "rc": 1, "start": "2024-10-26 08:55:31.914158" } 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:32 -0400 (0:00:00.647) 0:01:11.959 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.066) 0:01:12.026 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.065) 0:01:12.091 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.058) 0:01:12.150 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.050) 0:01:12.201 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.065) 0:01:12.267 ****** ok: [managed-node1] => { "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:32 -0400 (0:00:00.067) 0:01:12.334 ****** 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:55:32 -0400 (0:00:00.061) 0:01:12.396 ****** ok: [managed-node1] => {} 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:55:32 -0400 (0:00:00.074) 0:01:12.471 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:55:32 -0400 (0:00:00.093) 0:01:12.565 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065724", "end": "2024-10-26 08:55:33.022986", "rc": 1, "start": "2024-10-26 08:55:32.957262" } STDOUT: Connection 'statebr' (e5bae571-5783-4298-8bec-ea62d23cc484) successfully deleted. STDERR: 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:102 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.460) 0:01:13.025 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.080) 0:01:13.106 ****** ok: [managed-node1] => {} 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:55:33 -0400 (0:00:00.056) 0:01:13.162 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.140) 0:01:13.303 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.136) 0:01:13.439 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:55:33 -0400 (0:00:00.090) 0:01:13.530 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002717", "end": "2024-10-26 08:55:33.925938", "rc": 0, "start": "2024-10-26 08:55:33.923221" } STDOUT: bonding_masters eth0 lo 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:34 -0400 (0:00:00.417) 0:01:13.947 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:34 -0400 (0:00:00.060) 0:01:14.008 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] 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:34 -0400 (0:00:00.065) 0:01:14.073 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 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:34 -0400 (0:00:00.107) 0:01:14.180 ****** 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:34 -0400 (0:00:00.114) 0:01:14.294 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:34 -0400 (0:00:00.100) 0:01:14.395 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:34 -0400 (0:00:00.067) 0:01:14.463 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:34 -0400 (0:00:00.058) 0:01:14.522 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:34 -0400 (0:00:00.061) 0:01:14.583 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:36 -0400 (0:00:01.656) 0:01:16.239 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:37 -0400 (0:00:01.502) 0:01:17.742 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:37 -0400 (0:00:00.044) 0:01:17.786 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.045) 0:01:17.832 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:37 -0400 (0:00:00.053) 0:01:17.885 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.061) 0:01:17.947 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.079) 0:01:18.026 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.060) 0:01:18.087 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.068) 0:01:18.155 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.113) 0:01:18.268 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.062) 0:01:18.331 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.061) 0:01:18.392 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:38 -0400 (0:00:00.061) 0:01:18.454 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:39 -0400 (0:00:00.598) 0:01:19.052 ****** skipping: [managed-node1] => { "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:39 -0400 (0:00:00.050) 0:01:19.103 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:39 -0400 (0:00:00.044) 0:01:19.147 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:39 -0400 (0:00:00.041) 0:01:19.189 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340 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:39 -0400 (0:00:00.601) 0:01:19.791 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:39 -0400 (0:00:00.042) 0:01:19.834 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340" ] } 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:39 -0400 (0:00:00.046) 0:01:19.880 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340" ] } } 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:39 -0400 (0:00:00.045) 0:01:19.925 ****** skipping: [managed-node1] => {} 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:40 -0400 (0:00:00.050) 0:01:19.976 ****** ok: [managed-node1] => { "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:40 -0400 (0:00:00.406) 0:01:20.382 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340" ] } } 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:40 -0400 (0:00:00.046) 0:01:20.428 ****** 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:40 -0400 (0:00:00.084) 0:01:20.512 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.170) 0:01:20.683 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.076) 0:01:20.760 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.061) 0:01:20.822 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:40 -0400 (0:00:00.061) 0:01:20.883 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:42 -0400 (0:00:01.633) 0:01:22.517 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:44 -0400 (0:00:01.604) 0:01:24.121 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:44 -0400 (0:00:00.050) 0:01:24.172 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.070) 0:01:24.242 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.074) 0:01:24.317 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.062) 0:01:24.380 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.076) 0:01:24.456 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.061) 0:01:24.518 ****** skipping: [managed-node1] => { "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:44 -0400 (0:00:00.062) 0:01:24.581 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.127) 0:01:24.708 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.085) 0:01:24.794 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:44 -0400 (0:00:00.067) 0:01:24.861 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:45 -0400 (0:00:00.070) 0:01:24.931 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:45 -0400 (0:00:00.756) 0:01:25.688 ****** skipping: [managed-node1] => { "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:45 -0400 (0:00:00.062) 0:01:25.750 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:45 -0400 (0:00:00.096) 0:01:25.847 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:45 -0400 (0:00:00.041) 0:01:25.888 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340 skipped because already active 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:46 -0400 (0:00:00.558) 0:01:26.447 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:46 -0400 (0:00:00.043) 0:01:26.491 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340 skipped because already active" ] } 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:46 -0400 (0:00:00.046) 0:01:26.537 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48c5e818-92b3-4ecf-b153-5b2e15698340 skipped because already active" ] } } 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:46 -0400 (0:00:00.044) 0:01:26.582 ****** skipping: [managed-node1] => {} 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:46 -0400 (0:00:00.043) 0:01:26.625 ****** ok: [managed-node1] => { "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:47 -0400 (0:00:00.395) 0:01:27.020 ****** 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:47 -0400 (0:00:00.104) 0:01:27.125 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:47 -0400 (0:00:00.133) 0:01:27.258 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:47 -0400 (0:00:00.071) 0:01:27.330 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:47 -0400 (0:00:00.096) 0:01:27.426 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:47 -0400 (0:00:00.053) 0:01:27.479 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:49 -0400 (0:00:01.638) 0:01:29.117 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:55:50 -0400 (0:00:01.540) 0:01:30.658 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:50 -0400 (0:00:00.121) 0:01:30.779 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:50 -0400 (0:00:00.049) 0:01:30.829 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:50 -0400 (0:00:00.049) 0:01:30.878 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.055) 0:01:30.933 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.063) 0:01:30.997 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.045) 0:01:31.042 ****** skipping: [managed-node1] => { "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:51 -0400 (0:00:00.050) 0:01:31.093 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.085) 0:01:31.178 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.047) 0:01:31.226 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.053) 0:01:31.279 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:51 -0400 (0:00:00.067) 0:01:31.346 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:52 -0400 (0:00:00.633) 0:01:31.980 ****** skipping: [managed-node1] => { "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:52 -0400 (0:00:00.092) 0:01:32.072 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:52 -0400 (0:00:00.057) 0:01:32.130 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:52 -0400 (0:00:00.064) 0:01:32.194 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: 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:52 -0400 (0:00:00.702) 0:01:32.897 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:53 -0400 (0:00:00.042) 0:01:32.939 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } 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:53 -0400 (0:00:00.045) 0:01:32.984 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:53 -0400 (0:00:00.047) 0:01:33.032 ****** skipping: [managed-node1] => {} 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:53 -0400 (0:00:00.053) 0:01:33.086 ****** ok: [managed-node1] => { "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:53 -0400 (0:00:00.375) 0:01:33.461 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:55:53 -0400 (0:00:00.079) 0:01:33.541 ****** 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:53 -0400 (0:00:00.087) 0:01:33.628 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:55:53 -0400 (0:00:00.086) 0:01:33.714 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:55:53 -0400 (0:00:00.052) 0:01:33.767 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:55:53 -0400 (0:00:00.080) 0:01:33.848 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:55:53 -0400 (0:00:00.043) 0:01:33.891 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:55:55 -0400 (0:00:01.610) 0:01:35.502 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:57 -0400 (0:00:01.534) 0:01:37.036 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:57 -0400 (0:00:00.050) 0:01:37.086 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.089) 0:01:37.175 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.046) 0:01:37.222 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.042) 0:01:37.264 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.057) 0:01:37.321 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.063) 0:01:37.385 ****** skipping: [managed-node1] => { "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:57 -0400 (0:00:00.069) 0:01:37.454 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.101) 0:01:37.556 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.050) 0:01:37.607 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.048) 0:01:37.655 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:55:57 -0400 (0:00:00.057) 0:01:37.713 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:58 -0400 (0:00:00.559) 0:01:38.273 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 26 October 2024 08:55:58 -0400 (0:00:00.055) 0:01:38.329 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:58 -0400 (0:00:00.040) 0:01:38.370 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:58 -0400 (0:00:00.042) 0:01:38.413 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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:59 -0400 (0:00:00.922) 0:01:39.335 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:55:59 -0400 (0:00:00.081) 0:01:39.417 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:59 -0400 (0:00:00.060) 0:01:39.478 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:59 -0400 (0:00:00.053) 0:01:39.531 ****** skipping: [managed-node1] => {} 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:59 -0400 (0:00:00.052) 0:01:39.584 ****** ok: [managed-node1] => { "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:56:00 -0400 (0:00:00.420) 0:01:40.004 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.146) 0:01:40.151 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.126) 0:01:40.278 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:56:00 -0400 (0:00:00.078) 0:01:40.356 ****** ok: [managed-node1] => { "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:56:00 -0400 (0:00:00.420) 0:01:40.777 ****** skipping: [managed-node1] => { "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:56:00 -0400 (0:00:00.068) 0:01:40.845 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017905", "end": "2024-10-26 08:56:01.263298", "rc": 1, "start": "2024-10-26 08:56:01.245393" } 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:56:01 -0400 (0:00:00.435) 0:01:41.281 ****** skipping: [managed-node1] => { "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:01 -0400 (0:00:00.055) 0:01:41.336 ****** skipping: [managed-node1] => { "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:01 -0400 (0:00:00.046) 0:01:41.383 ****** skipping: [managed-node1] => { "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:01 -0400 (0:00:00.045) 0:01:41.428 ****** skipping: [managed-node1] => { "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:01 -0400 (0:00:00.047) 0:01:41.476 ****** skipping: [managed-node1] => { "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:01 -0400 (0:00:00.046) 0:01:41.522 ****** ok: [managed-node1] => { "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:56:01 -0400 (0:00:00.051) 0:01:41.573 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 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:56:01 -0400 (0:00:00.140) 0:01:41.714 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:56:01 -0400 (0:00:00.181) 0:01:41.895 ****** ok: [managed-node1] => { "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:56:02 -0400 (0:00:00.578) 0:01:42.473 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed 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:56:02 -0400 (0:00:00.058) 0:01:42.531 ****** ok: [managed-node1] => {} 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:56:02 -0400 (0:00:00.063) 0:01:42.594 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-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.179) 0:01:42.774 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036272", "end": "2024-10-26 08:56:03.283361", "rc": 1, "start": "2024-10-26 08:56:03.247089" } 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:124 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.530) 0:01:43.304 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.118) 0:01:43.423 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.071) 0:01:43.494 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.118) 0:01:43.613 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.090) 0:01:43.703 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 26 October 2024 08:56:03 -0400 (0:00:00.076) 0:01:43.780 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002794", "end": "2024-10-26 08:56:04.163176", "rc": 0, "start": "2024-10-26 08:56:04.160382" } STDOUT: bonding_masters eth0 lo 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:56:04 -0400 (0:00:00.418) 0:01:44.198 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:56:04 -0400 (0:00:00.082) 0:01:44.280 ****** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] 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:56:04 -0400 (0:00:00.080) 0:01:44.360 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 26 October 2024 08:56:04 -0400 (0:00:00.299) 0:01:44.660 ****** 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:56:04 -0400 (0:00:00.125) 0:01:44.785 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:56:04 -0400 (0:00:00.128) 0:01:44.914 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:56:05 -0400 (0:00:00.101) 0:01:45.015 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:56:05 -0400 (0:00:00.071) 0:01:45.086 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:56:05 -0400 (0:00:00.074) 0:01:45.161 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:56:06 -0400 (0:00:01.672) 0:01:46.833 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:56:08 -0400 (0:00:01.553) 0:01:48.387 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:56:08 -0400 (0:00:00.052) 0:01:48.439 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.047) 0:01:48.486 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.043) 0:01:48.530 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.044) 0:01:48.574 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.050) 0:01:48.625 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.053) 0:01:48.678 ****** skipping: [managed-node1] => { "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:56:08 -0400 (0:00:00.049) 0:01:48.728 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.087) 0:01:48.815 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.043) 0:01:48.859 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:56:08 -0400 (0:00:00.049) 0:01:48.908 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:56:09 -0400 (0:00:00.082) 0:01:48.990 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:09 -0400 (0:00:00.837) 0:01:49.828 ****** skipping: [managed-node1] => { "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:56:09 -0400 (0:00:00.072) 0:01:49.901 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:10 -0400 (0:00:00.063) 0:01:49.964 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:56:10 -0400 (0:00:00.064) 0:01:50.029 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc52be4e-951f-4b25-8599-880315caa626 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:56:10 -0400 (0:00:00.697) 0:01:50.726 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:56:10 -0400 (0:00:00.049) 0:01:50.775 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc52be4e-951f-4b25-8599-880315caa626" ] } 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:56:10 -0400 (0:00:00.050) 0:01:50.825 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc52be4e-951f-4b25-8599-880315caa626\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc52be4e-951f-4b25-8599-880315caa626" ] } } 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:56:10 -0400 (0:00:00.062) 0:01:50.887 ****** skipping: [managed-node1] => {} 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:56:11 -0400 (0:00:00.062) 0:01:50.950 ****** ok: [managed-node1] => { "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:56:11 -0400 (0:00:00.376) 0:01:51.327 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc52be4e-951f-4b25-8599-880315caa626\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc52be4e-951f-4b25-8599-880315caa626" ] } } 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:56:11 -0400 (0:00:00.044) 0:01:51.371 ****** 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:56:11 -0400 (0:00:00.137) 0:01:51.509 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:56:11 -0400 (0:00:00.105) 0:01:51.615 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:56:11 -0400 (0:00:00.064) 0:01:51.679 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:56:11 -0400 (0:00:00.054) 0:01:51.733 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:56:11 -0400 (0:00:00.044) 0:01:51.778 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:56:13 -0400 (0:00:01.587) 0:01:53.365 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:56:14 -0400 (0:00:01.503) 0:01:54.869 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:56:15 -0400 (0:00:00.073) 0:01:54.942 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.066) 0:01:55.008 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.056) 0:01:55.065 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.059) 0:01:55.125 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.058) 0:01:55.183 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.047) 0:01:55.230 ****** skipping: [managed-node1] => { "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:56:15 -0400 (0:00:00.061) 0:01:55.291 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.086) 0:01:55.377 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.043) 0:01:55.421 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.041) 0:01:55.463 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:56:15 -0400 (0:00:00.068) 0:01:55.531 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:16 -0400 (0:00:00.612) 0:01:56.144 ****** skipping: [managed-node1] => { "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:56:16 -0400 (0:00:00.052) 0:01:56.196 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:16 -0400 (0:00:00.042) 0:01:56.238 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:56:16 -0400 (0:00:00.043) 0:01:56.282 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc52be4e-951f-4b25-8599-880315caa626 skipped because already active 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:56:16 -0400 (0:00:00.564) 0:01:56.846 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:56:16 -0400 (0:00:00.044) 0:01:56.891 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc52be4e-951f-4b25-8599-880315caa626 skipped because already active" ] } 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:56:17 -0400 (0:00:00.055) 0:01:56.947 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc52be4e-951f-4b25-8599-880315caa626 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc52be4e-951f-4b25-8599-880315caa626 skipped because already active" ] } } 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:56:17 -0400 (0:00:00.047) 0:01:56.995 ****** skipping: [managed-node1] => {} 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:56:17 -0400 (0:00:00.043) 0:01:57.039 ****** ok: [managed-node1] => { "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:56:17 -0400 (0:00:00.373) 0:01:57.412 ****** 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:56:17 -0400 (0:00:00.075) 0:01:57.487 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:56:17 -0400 (0:00:00.125) 0:01:57.612 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:56:17 -0400 (0:00:00.055) 0:01:57.668 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:56:17 -0400 (0:00:00.044) 0:01:57.712 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:56:17 -0400 (0:00:00.042) 0:01:57.755 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:56:19 -0400 (0:00:01.583) 0:01:59.338 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:20 -0400 (0:00:01.521) 0:02:00.860 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:56:20 -0400 (0:00:00.046) 0:02:00.907 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.043) 0:02:00.950 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.053) 0:02:01.004 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.087) 0:02:01.091 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.074) 0:02:01.166 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.074) 0:02:01.240 ****** skipping: [managed-node1] => { "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:56:21 -0400 (0:00:00.064) 0:02:01.305 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.127) 0:02:01.432 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.069) 0:02:01.502 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.050) 0:02:01.553 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:56:21 -0400 (0:00:00.054) 0:02:01.607 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:22 -0400 (0:00:00.558) 0:02:02.166 ****** skipping: [managed-node1] => { "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:56:22 -0400 (0:00:00.095) 0:02:02.261 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:22 -0400 (0:00:00.042) 0:02:02.304 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:56:22 -0400 (0:00:00.043) 0:02:02.348 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: 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:56:23 -0400 (0:00:00.639) 0:02:02.988 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:56:23 -0400 (0:00:00.056) 0:02:03.045 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } 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:56:23 -0400 (0:00:00.056) 0:02:03.101 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:56:23 -0400 (0:00:00.075) 0:02:03.176 ****** skipping: [managed-node1] => {} 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:56:23 -0400 (0:00:00.062) 0:02:03.239 ****** ok: [managed-node1] => { "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:56:23 -0400 (0:00:00.408) 0:02:03.647 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 26 October 2024 08:56:23 -0400 (0:00:00.081) 0:02:03.729 ****** 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:56:23 -0400 (0:00:00.072) 0:02:03.802 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 26 October 2024 08:56:23 -0400 (0:00:00.124) 0:02:03.926 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 26 October 2024 08:56:24 -0400 (0:00:00.056) 0:02:03.982 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 26 October 2024 08:56:24 -0400 (0:00:00.044) 0:02:04.026 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 26 October 2024 08:56:24 -0400 (0:00:00.041) 0:02:04.068 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 26 October 2024 08:56:25 -0400 (0:00:01.590) 0:02:05.658 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 26 October 2024 08:56:27 -0400 (0:00:01.575) 0:02:07.234 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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:56:27 -0400 (0:00:00.055) 0:02:07.289 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.045) 0:02:07.335 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.043) 0:02:07.378 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.043) 0:02:07.422 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.054) 0:02:07.476 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.043) 0:02:07.519 ****** skipping: [managed-node1] => { "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:56:27 -0400 (0:00:00.052) 0:02:07.572 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.086) 0:02:07.659 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.043) 0:02:07.702 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.046) 0:02:07.749 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 26 October 2024 08:56:27 -0400 (0:00:00.069) 0:02:07.818 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:28 -0400 (0:00:00.647) 0:02:08.466 ****** skipping: [managed-node1] => { "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:56:28 -0400 (0:00:00.132) 0:02:08.598 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:56:28 -0400 (0:00:00.062) 0:02:08.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } 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:56:28 -0400 (0:00:00.063) 0:02:08.724 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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:56:29 -0400 (0:00:00.789) 0:02:09.514 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 26 October 2024 08:56:29 -0400 (0:00:00.073) 0:02:09.587 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:56:29 -0400 (0:00:00.160) 0:02:09.748 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:56:29 -0400 (0:00:00.125) 0:02:09.874 ****** skipping: [managed-node1] => {} 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:56:30 -0400 (0:00:00.085) 0:02:09.959 ****** ok: [managed-node1] => { "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:56:30 -0400 (0:00:00.522) 0:02:10.482 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 26 October 2024 08:56:30 -0400 (0:00:00.165) 0:02:10.647 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 26 October 2024 08:56:30 -0400 (0:00:00.136) 0:02:10.784 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 26 October 2024 08:56:30 -0400 (0:00:00.058) 0:02:10.842 ****** ok: [managed-node1] => { "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:56:31 -0400 (0:00:00.492) 0:02:11.335 ****** skipping: [managed-node1] => { "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:56:31 -0400 (0:00:00.045) 0:02:11.381 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017858", "end": "2024-10-26 08:56:31.785003", "rc": 1, "start": "2024-10-26 08:56:31.767145" } 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:56:31 -0400 (0:00:00.428) 0:02:11.809 ****** skipping: [managed-node1] => { "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:31 -0400 (0:00:00.069) 0:02:11.878 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.074) 0:02:11.953 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.064) 0:02:12.017 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.051) 0:02:12.069 ****** skipping: [managed-node1] => { "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:32 -0400 (0:00:00.047) 0:02:12.117 ****** ok: [managed-node1] => { "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:32 -0400 (0:00:00.052) 0:02:12.169 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.884785", "end": "2024-10-26 08:56:33.504254", "rc": 0, "start": "2024-10-26 08:56:32.619469" } 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:33 -0400 (0:00:01.375) 0:02:13.544 ****** ok: [managed-node1] => { "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:33 -0400 (0:00:00.112) 0:02:13.657 ****** ok: [managed-node1] => { "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:33 -0400 (0:00:00.051) 0:02:13.709 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 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:56:33 -0400 (0:00:00.129) 0:02:13.838 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 26 October 2024 08:56:33 -0400 (0:00:00.088) 0:02:13.926 ****** ok: [managed-node1] => { "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:56:34 -0400 (0:00:00.430) 0:02:14.357 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed 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:34 -0400 (0:00:00.048) 0:02:14.406 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 26 October 2024 08:56:34 -0400 (0:00:00.045) 0:02:14.451 ****** included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 26 October 2024 08:56:34 -0400 (0:00:00.096) 0:02:14.548 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035066", "end": "2024-10-26 08:56:34.981262", "rc": 1, "start": "2024-10-26 08:56:34.946196" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring 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:35 -0400 (0:00:00.443) 0:02:14.992 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008058", "end": "2024-10-26 08:56:35.372817", "rc": 0, "start": "2024-10-26 08:56:35.364759" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e5:71:e5:07 brd ff:ff:ff:ff:ff:ff inet 10.31.13.179/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2396sec preferred_lft 2396sec inet6 fe80::8ff:e5ff:fe71:e507/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.179 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.179 metric 100 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:35 -0400 (0:00:00.383) 0:02:15.375 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.133568", "end": "2024-10-26 08:56:35.932310", "rc": 0, "start": "2024-10-26 08:56:35.798742" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 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 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10517 0 --:--:-- --:--:-- --:--:-- 10517 % 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 3592 0 --:--:-- --:--:-- --:--:-- 3592 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 26 October 2024 08:56:35 -0400 (0:00:00.551) 0:02:15.927 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.94s /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.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 services are running ---- 1.77s /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.72s /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.68s /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.67s /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.66s /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.64s /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.63s /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.63s /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.61s /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.60s /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.60s /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.59s /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.59s /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.59s /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.58s /tmp/collections-lt6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21