[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.MUA39UWMK6 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 27 July 2024 08:52:36 -0400 (0:00:00.020) 0:00:00.020 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 27 July 2024 08:52:37 -0400 (0:00:01.258) 0:00:01.279 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 27 July 2024 08:52:37 -0400 (0:00:00.020) 0:00:01.300 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.558) 0:00:01.858 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.482) 0:00:02.341 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.024) 0:00:02.365 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.015) 0:00:02.381 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.035) 0:00:02.416 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.015) 0:00:02.432 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.013) 0:00:02.446 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.016) 0:00:02.462 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.013) 0:00:02.476 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.013) 0:00:02.489 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 27 July 2024 08:52:38 -0400 (0:00:00.032) 0:00:02.522 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.921) 0:00:03.444 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.020) 0:00:03.464 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.029) 0:00:03.493 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.018) 0:00:03.512 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.062) 0:00:03.574 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.024) 0:00:03.599 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:52:39 -0400 (0:00:00.021) 0:00:03.620 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003485", "end": "2024-07-27 08:52:40.326035", "rc": 0, "start": "2024-07-27 08:52:40.322550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:52:40 -0400 (0:00:00.491) 0:00:04.111 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:52:40 -0400 (0:00:00.019) 0:00:04.131 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 08:52:40 -0400 (0:00:00.021) 0:00:04.153 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 27 July 2024 08:52:40 -0400 (0:00:00.032) 0:00:04.185 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006785", "end": "2024-07-27 08:52:40.868620", "rc": 1, "start": "2024-07-27 08:52:40.861835" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 08:52:40 -0400 (0:00:00.469) 0:00:04.655 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:52:40 -0400 (0:00:00.023) 0:00:04.678 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.383) 0:00:05.061 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.020) 0:00:05.082 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.032) 0:00:05.114 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.055) 0:00:05.170 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.038) 0:00:05.208 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.026) 0:00:05.234 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.020) 0:00:05.255 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:52:41 -0400 (0:00:00.024) 0:00:05.279 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:52:43 -0400 (0:00:02.399) 0:00:07.678 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:52:45 -0400 (0:00:01.281) 0:00:08.960 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.051) 0:00:09.011 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.040) 0:00:09.051 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.043) 0:00:09.095 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.049) 0:00:09.144 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.061) 0:00:09.205 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.052) 0:00:09.258 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.086) 0:00:09.344 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.097) 0:00:09.441 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.044) 0:00:09.485 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.042) 0:00:09.527 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:52:45 -0400 (0:00:00.060) 0:00:09.588 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:52:46 -0400 (0:00:00.894) 0:00:10.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:52:46 -0400 (0:00:00.060) 0:00:10.543 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:52:46 -0400 (0:00:00.043) 0:00:10.587 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:52:46 -0400 (0:00:00.041) 0:00:10.628 ********* 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, 64efb84b-7852-489b-9894-735f78e7ec7f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:52:47 -0400 (0:00:00.850) 0:00:11.479 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:52:47 -0400 (0:00:00.042) 0:00:11.522 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64efb84b-7852-489b-9894-735f78e7ec7f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:52:47 -0400 (0:00:00.045) 0:00:11.568 ********* 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, 64efb84b-7852-489b-9894-735f78e7ec7f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64efb84b-7852-489b-9894-735f78e7ec7f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:52:47 -0400 (0:00:00.048) 0:00:11.617 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:52:47 -0400 (0:00:00.043) 0:00:11.660 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 08:52:48 -0400 (0:00:00.542) 0:00:12.203 ********* 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, 64efb84b-7852-489b-9894-735f78e7ec7f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64efb84b-7852-489b-9894-735f78e7ec7f" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 08:52:48 -0400 (0:00:00.049) 0:00:12.252 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 08:52:48 -0400 (0:00:00.116) 0:00:12.369 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:52:48 -0400 (0:00:00.080) 0:00:12.449 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:52:48 -0400 (0:00:00.047) 0:00:12.497 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.410) 0:00:12.908 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.040) 0:00:12.948 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019317", "end": "2024-07-27 08:52:49.635213", "rc": 0, "start": "2024-07-27 08:52:49.615896" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.496) 0:00:13.445 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.049) 0:00:13.494 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.042) 0:00:13.537 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.045) 0:00:13.582 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.045) 0:00:13.628 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.042) 0:00:13.670 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 08:52:49 -0400 (0:00:00.047) 0:00:13.718 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.048) 0:00:13.767 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.047) 0:00:13.814 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.125) 0:00:13.940 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.073) 0:00:14.013 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084767.6160514, "block_size": 4096, "blocks": 0, "ctime": 1722084767.6160514, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35264, "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": 1722084767.6160514, "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.408) 0:00:14.422 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.049) 0:00:14.472 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.045) 0:00:14.517 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 08:52:50 -0400 (0:00:00.085) 0:00:14.603 ********* 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.061108", "end": "2024-07-27 08:52:51.269891", "rc": 1, "start": "2024-07-27 08:52:51.208783" } STDOUT: Connection 'statebr' (64efb84b-7852-489b-9894-735f78e7ec7f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 27 July 2024 08:52:51 -0400 (0:00:00.474) 0:00:15.078 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 08:52:51 -0400 (0:00:00.077) 0:00:15.155 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 08:52:51 -0400 (0:00:00.047) 0:00:15.203 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 08:52:51 -0400 (0:00:00.086) 0:00:15.289 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:52:51 -0400 (0:00:00.074) 0:00:15.364 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:52:51 -0400 (0:00:00.102) 0:00:15.467 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003564", "end": "2024-07-27 08:52:52.071009", "rc": 0, "start": "2024-07-27 08:52:52.067445" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:52:52 -0400 (0:00:00.415) 0:00:15.882 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:52:52 -0400 (0:00:00.046) 0:00:15.928 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 08:52:52 -0400 (0:00:00.046) 0:00:15.975 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 27 July 2024 08:52:52 -0400 (0:00:00.082) 0:00:16.057 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006654", "end": "2024-07-27 08:52:52.675038", "rc": 1, "start": "2024-07-27 08:52:52.668384" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 08:52:52 -0400 (0:00:00.431) 0:00:16.488 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:52:52 -0400 (0:00:00.073) 0:00:16.562 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.422) 0:00:16.985 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.045) 0:00:17.030 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.081) 0:00:17.112 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.093) 0:00:17.206 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.120) 0:00:17.327 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.057) 0:00:17.385 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.050) 0:00:17.435 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:52:53 -0400 (0:00:00.049) 0:00:17.485 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:52:56 -0400 (0:00:02.288) 0:00:19.774 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.985) 0:00:20.760 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.045) 0:00:20.805 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.043) 0:00:20.849 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.042) 0:00:20.891 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.051) 0:00:20.942 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.062) 0:00:21.005 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.048) 0:00:21.053 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.099) 0:00:21.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.095) 0:00:21.248 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.042) 0:00:21.291 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.044) 0:00:21.336 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:52:57 -0400 (0:00:00.060) 0:00:21.396 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:52:58 -0400 (0:00:00.653) 0:00:22.050 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:52:58 -0400 (0:00:00.060) 0:00:22.111 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:52:58 -0400 (0:00:00.042) 0:00:22.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:52:58 -0400 (0:00:00.041) 0:00:22.195 ********* 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, 8190e625-baff-41b6-afe8-29b1908c4ab9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.631) 0:00:22.827 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.043) 0:00:22.870 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8190e625-baff-41b6-afe8-29b1908c4ab9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.050) 0:00:22.921 ********* 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, 8190e625-baff-41b6-afe8-29b1908c4ab9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8190e625-baff-41b6-afe8-29b1908c4ab9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.048) 0:00:22.969 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.042) 0:00:23.012 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.467) 0:00:23.480 ********* 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, 8190e625-baff-41b6-afe8-29b1908c4ab9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8190e625-baff-41b6-afe8-29b1908c4ab9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.048) 0:00:23.528 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.124) 0:00:23.653 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:52:59 -0400 (0:00:00.073) 0:00:23.727 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 08:53:00 -0400 (0:00:00.411) 0:00:24.138 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 08:53:00 -0400 (0:00:00.044) 0:00:24.182 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:53:00 -0400 (0:00:00.079) 0:00:24.262 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:53:00 -0400 (0:00:00.044) 0:00:24.306 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:53:00 -0400 (0:00:00.408) 0:00:24.714 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.044) 0:00:24.759 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018824", "end": "2024-07-27 08:53:01.380871", "rc": 0, "start": "2024-07-27 08:53:01.362047" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.431) 0:00:25.190 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.049) 0:00:25.239 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.045) 0:00:25.284 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.043) 0:00:25.328 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.043) 0:00:25.371 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.083) 0:00:25.454 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.049) 0:00:25.504 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.049) 0:00:25.553 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.049) 0:00:25.602 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.046) 0:00:25.649 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 08:53:01 -0400 (0:00:00.046) 0:00:25.695 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.083) 0:00:25.779 ********* 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.039166", "end": "2024-07-27 08:53:02.418055", "rc": 1, "start": "2024-07-27 08:53:02.378889" } STDOUT: Connection 'statebr' (8190e625-baff-41b6-afe8-29b1908c4ab9) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.447) 0:00:26.226 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.078) 0:00:26.304 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.045) 0:00:26.349 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.085) 0:00:26.435 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.073) 0:00:26.509 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:53:02 -0400 (0:00:00.074) 0:00:26.583 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2024-07-27 08:53:03.188242", "rc": 0, "start": "2024-07-27 08:53:03.184840" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.449) 0:00:27.033 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.046) 0:00:27.079 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.045) 0:00:27.125 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.078) 0:00:27.204 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.098) 0:00:27.302 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.086) 0:00:27.389 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.059) 0:00:27.448 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.047) 0:00:27.495 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:03 -0400 (0:00:00.049) 0:00:27.545 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:07 -0400 (0:00:03.381) 0:00:30.927 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:08 -0400 (0:00:01.067) 0:00:31.995 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.048) 0:00:32.044 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.041) 0:00:32.085 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.040) 0:00:32.126 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.051) 0:00:32.177 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.062) 0:00:32.239 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.047) 0:00:32.287 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.060) 0:00:32.347 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.095) 0:00:32.442 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.042) 0:00:32.485 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.044) 0:00:32.529 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:08 -0400 (0:00:00.059) 0:00:32.588 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:09 -0400 (0:00:00.637) 0:00:33.226 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:09 -0400 (0:00:00.063) 0:00:33.289 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:09 -0400 (0:00:00.042) 0:00:33.332 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:09 -0400 (0:00:00.042) 0:00:33.374 ********* 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, 642609f0-4e37-4f01-ade8-b3e602547837 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:10 -0400 (0:00:00.800) 0:00:34.174 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:10 -0400 (0:00:00.044) 0:00:34.218 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 642609f0-4e37-4f01-ade8-b3e602547837" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:10 -0400 (0:00:00.048) 0:00:34.267 ********* 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, 642609f0-4e37-4f01-ade8-b3e602547837\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 642609f0-4e37-4f01-ade8-b3e602547837" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:10 -0400 (0:00:00.047) 0:00:34.314 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:10 -0400 (0:00:00.043) 0:00:34.358 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.438) 0:00:34.797 ********* 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, 642609f0-4e37-4f01-ade8-b3e602547837\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 642609f0-4e37-4f01-ade8-b3e602547837" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.048) 0:00:34.845 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.080) 0:00:34.926 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.095) 0:00:35.021 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.088) 0:00:35.110 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.059) 0:00:35.169 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.046) 0:00:35.215 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:11 -0400 (0:00:00.087) 0:00:35.303 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:13 -0400 (0:00:02.299) 0:00:37.602 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:14 -0400 (0:00:00.991) 0:00:38.593 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:14 -0400 (0:00:00.049) 0:00:38.643 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:14 -0400 (0:00:00.041) 0:00:38.685 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:14 -0400 (0:00:00.042) 0:00:38.727 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.051) 0:00:38.778 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.061) 0:00:38.840 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.050) 0:00:38.891 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.063) 0:00:38.954 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.096) 0:00:39.051 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.044) 0:00:39.095 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.045) 0:00:39.141 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:15 -0400 (0:00:00.102) 0:00:39.244 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:16 -0400 (0:00:00.644) 0:00:39.888 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:16 -0400 (0:00:00.063) 0:00:39.951 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:16 -0400 (0:00:00.044) 0:00:39.996 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:16 -0400 (0:00:00.042) 0:00:40.039 ********* 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, 642609f0-4e37-4f01-ade8-b3e602547837 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:16 -0400 (0:00:00.619) 0:00:40.658 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:16 -0400 (0:00:00.047) 0:00:40.705 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 642609f0-4e37-4f01-ade8-b3e602547837 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:17 -0400 (0:00:00.048) 0:00:40.754 ********* 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, 642609f0-4e37-4f01-ade8-b3e602547837 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 642609f0-4e37-4f01-ade8-b3e602547837 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:17 -0400 (0:00:00.049) 0:00:40.803 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:17 -0400 (0:00:00.042) 0:00:40.846 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 08:53:17 -0400 (0:00:00.437) 0:00:41.283 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 08:53:17 -0400 (0:00:00.087) 0:00:41.370 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:53:17 -0400 (0:00:00.072) 0:00:41.443 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084790.213238, "block_size": 4096, "blocks": 0, "ctime": 1722084790.213238, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35389, "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": 1722084790.213238, "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 08:53:18 -0400 (0:00:00.416) 0:00:41.860 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 08:53:18 -0400 (0:00:00.082) 0:00:41.943 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:53:18 -0400 (0:00:00.082) 0:00:42.025 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:53:18 -0400 (0:00:00.047) 0:00:42.073 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:53:18 -0400 (0:00:00.414) 0:00:42.487 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:53:18 -0400 (0:00:00.041) 0:00:42.528 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018774", "end": "2024-07-27 08:53:19.146085", "rc": 0, "start": "2024-07-27 08:53:19.127311" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.432) 0:00:42.961 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.048) 0:00:43.010 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.045) 0:00:43.056 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.046) 0:00:43.102 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.045) 0:00:43.148 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.042) 0:00:43.191 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.050) 0:00:43.241 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.049) 0:00:43.291 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.046) 0:00:43.337 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.050) 0:00:43.388 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.084) 0:00:43.473 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 08:53:19 -0400 (0:00:00.084) 0:00:43.557 ********* 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.065142", "end": "2024-07-27 08:53:20.219021", "rc": 1, "start": "2024-07-27 08:53:20.153879" } STDOUT: Connection 'statebr' (642609f0-4e37-4f01-ade8-b3e602547837) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 27 July 2024 08:53:20 -0400 (0:00:00.471) 0:00:44.029 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 08:53:20 -0400 (0:00:00.079) 0:00:44.108 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 08:53:20 -0400 (0:00:00.045) 0:00:44.154 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 08:53:20 -0400 (0:00:00.086) 0:00:44.241 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:53:20 -0400 (0:00:00.071) 0:00:44.313 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:53:20 -0400 (0:00:00.073) 0:00:44.386 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003541", "end": "2024-07-27 08:53:20.989883", "rc": 0, "start": "2024-07-27 08:53:20.986342" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.413) 0:00:44.800 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.045) 0:00:44.846 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.047) 0:00:44.893 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.123) 0:00:45.016 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.096) 0:00:45.112 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.091) 0:00:45.203 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.057) 0:00:45.261 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.050) 0:00:45.312 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:21 -0400 (0:00:00.050) 0:00:45.362 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:24 -0400 (0:00:02.394) 0:00:47.757 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:25 -0400 (0:00:01.009) 0:00:48.766 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.045) 0:00:48.812 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.042) 0:00:48.854 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.041) 0:00:48.895 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.092) 0:00:48.987 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.063) 0:00:49.051 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.050) 0:00:49.102 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.060) 0:00:49.163 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.096) 0:00:49.260 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.042) 0:00:49.303 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.042) 0:00:49.345 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:25 -0400 (0:00:00.059) 0:00:49.405 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:26 -0400 (0:00:00.646) 0:00:50.052 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:26 -0400 (0:00:00.062) 0:00:50.114 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:26 -0400 (0:00:00.041) 0:00:50.156 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:26 -0400 (0:00:00.042) 0:00:50.199 ********* 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, 49af635b-1374-4655-98df-6eb202fea032 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.654) 0:00:50.853 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.045) 0:00:50.899 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49af635b-1374-4655-98df-6eb202fea032" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.049) 0:00:50.948 ********* 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, 49af635b-1374-4655-98df-6eb202fea032\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49af635b-1374-4655-98df-6eb202fea032" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.048) 0:00:50.997 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.044) 0:00:51.041 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.538) 0:00:51.580 ********* 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, 49af635b-1374-4655-98df-6eb202fea032\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49af635b-1374-4655-98df-6eb202fea032" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.049) 0:00:51.629 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:27 -0400 (0:00:00.097) 0:00:51.726 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:28 -0400 (0:00:00.089) 0:00:51.816 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:28 -0400 (0:00:00.059) 0:00:51.875 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:28 -0400 (0:00:00.049) 0:00:51.924 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:28 -0400 (0:00:00.048) 0:00:51.973 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:30 -0400 (0:00:02.412) 0:00:54.385 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.998) 0:00:55.384 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.045) 0:00:55.429 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.082) 0:00:55.512 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.043) 0:00:55.555 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.052) 0:00:55.607 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.067) 0:00:55.675 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:31 -0400 (0:00:00.051) 0:00:55.727 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:32 -0400 (0:00:00.061) 0:00:55.788 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:32 -0400 (0:00:00.100) 0:00:55.888 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:32 -0400 (0:00:00.045) 0:00:55.933 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:32 -0400 (0:00:00.041) 0:00:55.975 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:32 -0400 (0:00:00.066) 0:00:56.041 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:32 -0400 (0:00:00.643) 0:00:56.684 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.061) 0:00:56.746 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.042) 0:00:56.789 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.042) 0:00:56.832 ********* 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, 49af635b-1374-4655-98df-6eb202fea032 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.650) 0:00:57.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.041) 0:00:57.523 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 49af635b-1374-4655-98df-6eb202fea032 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.088) 0:00:57.612 ********* 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, 49af635b-1374-4655-98df-6eb202fea032 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 49af635b-1374-4655-98df-6eb202fea032 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.049) 0:00:57.662 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:33 -0400 (0:00:00.042) 0:00:57.705 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.432) 0:00:58.137 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.083) 0:00:58.220 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.096) 0:00:58.317 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.089) 0:00:58.406 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.059) 0:00:58.466 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.049) 0:00:58.516 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:34 -0400 (0:00:00.049) 0:00:58.565 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:37 -0400 (0:00:02.378) 0:01:00.944 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:38 -0400 (0:00:01.083) 0:01:02.028 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.049) 0:01:02.078 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.043) 0:01:02.121 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.045) 0:01:02.166 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.052) 0:01:02.219 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.065) 0:01:02.284 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.047) 0:01:02.332 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.061) 0:01:02.393 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.098) 0:01:02.491 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.043) 0:01:02.535 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.044) 0:01:02.579 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:38 -0400 (0:00:00.062) 0:01:02.642 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:39 -0400 (0:00:00.639) 0:01:03.282 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:39 -0400 (0:00:00.062) 0:01:03.345 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:39 -0400 (0:00:00.085) 0:01:03.430 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:39 -0400 (0:00:00.041) 0:01:03.472 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:40 -0400 (0:00:00.643) 0:01:04.115 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:40 -0400 (0:00:00.044) 0:01:04.160 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:40 -0400 (0:00:00.048) 0:01:04.208 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:40 -0400 (0:00:00.047) 0:01:04.256 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:40 -0400 (0:00:00.045) 0:01:04.302 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.443) 0:01:04.745 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.089) 0:01:04.834 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.073) 0:01:04.908 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084806.9991007, "block_size": 4096, "blocks": 0, "ctime": 1722084806.9991007, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35514, "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": 1722084806.9991007, "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.484) 0:01:05.392 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.048) 0:01:05.440 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.079) 0:01:05.520 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:53:41 -0400 (0:00:00.084) 0:01:05.604 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.414) 0:01:06.019 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.043) 0:01:06.062 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019419", "end": "2024-07-27 08:53:42.688785", "rc": 1, "start": "2024-07-27 08:53:42.669366" } 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.437) 0:01:06.500 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.047) 0:01:06.547 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.042) 0:01:06.590 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.045) 0:01:06.636 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.046) 0:01:06.682 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 July 2024 08:53:42 -0400 (0:00:00.044) 0:01:06.726 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.048) 0:01:06.774 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.049) 0:01:06.824 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.047) 0:01:06.872 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.083) 0:01:06.955 ********* 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.060831", "end": "2024-07-27 08:53:43.622250", "rc": 1, "start": "2024-07-27 08:53:43.561419" } STDOUT: Connection 'statebr' (49af635b-1374-4655-98df-6eb202fea032) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.483) 0:01:07.439 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.112) 0:01:07.552 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.045) 0:01:07.598 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 08:53:43 -0400 (0:00:00.090) 0:01:07.689 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.074) 0:01:07.763 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.072) 0:01:07.836 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003506", "end": "2024-07-27 08:53:44.439336", "rc": 0, "start": "2024-07-27 08:53:44.435830" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.412) 0:01:08.249 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.048) 0:01:08.298 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.046) 0:01:08.344 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.084) 0:01:08.429 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.095) 0:01:08.525 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:44 -0400 (0:00:00.085) 0:01:08.610 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:45 -0400 (0:00:00.137) 0:01:08.748 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:45 -0400 (0:00:00.050) 0:01:08.798 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:45 -0400 (0:00:00.048) 0:01:08.847 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:47 -0400 (0:00:02.421) 0:01:11.269 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:48 -0400 (0:00:01.008) 0:01:12.277 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.045) 0:01:12.323 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.042) 0:01:12.366 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.041) 0:01:12.407 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.048) 0:01:12.456 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.062) 0:01:12.519 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.050) 0:01:12.569 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.058) 0:01:12.627 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:48 -0400 (0:00:00.098) 0:01:12.725 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.082) 0:01:12.808 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.043) 0:01:12.851 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.060) 0:01:12.912 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.641) 0:01:13.553 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.060) 0:01:13.614 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.044) 0:01:13.659 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:49 -0400 (0:00:00.044) 0:01:13.703 ********* 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, 62462ad7-84a8-48b9-ac53-aca73b38ee1c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:50 -0400 (0:00:00.707) 0:01:14.410 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:50 -0400 (0:00:00.043) 0:01:14.454 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62462ad7-84a8-48b9-ac53-aca73b38ee1c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:50 -0400 (0:00:00.048) 0:01:14.502 ********* 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, 62462ad7-84a8-48b9-ac53-aca73b38ee1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62462ad7-84a8-48b9-ac53-aca73b38ee1c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:50 -0400 (0:00:00.047) 0:01:14.550 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:50 -0400 (0:00:00.042) 0:01:14.592 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.426) 0:01:15.018 ********* 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, 62462ad7-84a8-48b9-ac53-aca73b38ee1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62462ad7-84a8-48b9-ac53-aca73b38ee1c" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.048) 0:01:15.067 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.133) 0:01:15.200 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.088) 0:01:15.288 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.058) 0:01:15.347 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.048) 0:01:15.396 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:51 -0400 (0:00:00.049) 0:01:15.446 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:53:54 -0400 (0:00:02.437) 0:01:17.884 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:53:55 -0400 (0:00:01.012) 0:01:18.896 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.048) 0:01:18.945 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.042) 0:01:18.988 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.042) 0:01:19.031 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.050) 0:01:19.081 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.064) 0:01:19.146 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.047) 0:01:19.194 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.104) 0:01:19.298 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.098) 0:01:19.397 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.043) 0:01:19.441 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.042) 0:01:19.484 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:53:55 -0400 (0:00:00.059) 0:01:19.544 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:53:56 -0400 (0:00:00.645) 0:01:20.189 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:53:56 -0400 (0:00:00.066) 0:01:20.256 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:53:56 -0400 (0:00:00.045) 0:01:20.302 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:53:56 -0400 (0:00:00.042) 0:01:20.345 ********* 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, 62462ad7-84a8-48b9-ac53-aca73b38ee1c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.607) 0:01:20.952 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.042) 0:01:20.995 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62462ad7-84a8-48b9-ac53-aca73b38ee1c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.046) 0:01:21.041 ********* 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, 62462ad7-84a8-48b9-ac53-aca73b38ee1c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62462ad7-84a8-48b9-ac53-aca73b38ee1c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.048) 0:01:21.090 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.043) 0:01:21.134 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.429) 0:01:21.563 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:53:57 -0400 (0:00:00.137) 0:01:21.700 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:53:58 -0400 (0:00:00.089) 0:01:21.790 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:53:58 -0400 (0:00:00.059) 0:01:21.850 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:53:58 -0400 (0:00:00.046) 0:01:21.896 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:53:58 -0400 (0:00:00.049) 0:01:21.946 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:00 -0400 (0:00:02.435) 0:01:24.381 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:01 -0400 (0:00:00.999) 0:01:25.380 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:01 -0400 (0:00:00.046) 0:01:25.427 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:01 -0400 (0:00:00.044) 0:01:25.471 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:01 -0400 (0:00:00.044) 0:01:25.516 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:01 -0400 (0:00:00.056) 0:01:25.572 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:01 -0400 (0:00:00.108) 0:01:25.681 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:02 -0400 (0:00:00.048) 0:01:25.730 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:02 -0400 (0:00:00.064) 0:01:25.795 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:02 -0400 (0:00:00.099) 0:01:25.894 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:02 -0400 (0:00:00.043) 0:01:25.938 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:02 -0400 (0:00:00.044) 0:01:25.982 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:02 -0400 (0:00:00.061) 0:01:26.044 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.703) 0:01:26.748 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.061) 0:01:26.809 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.044) 0:01:26.854 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.043) 0:01:26.898 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.631) 0:01:27.529 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.044) 0:01:27.574 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.048) 0:01:27.623 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.049) 0:01:27.672 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:03 -0400 (0:00:00.041) 0:01:27.714 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.490) 0:01:28.204 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.083) 0:01:28.288 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.096) 0:01:28.385 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.088) 0:01:28.473 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.058) 0:01:28.531 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.050) 0:01:28.582 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:04 -0400 (0:00:00.051) 0:01:28.633 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:07 -0400 (0:00:02.454) 0:01:31.088 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.995) 0:01:32.083 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.092) 0:01:32.175 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.041) 0:01:32.217 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.043) 0:01:32.261 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.050) 0:01:32.311 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.062) 0:01:32.374 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.049) 0:01:32.423 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.061) 0:01:32.485 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.096) 0:01:32.582 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.042) 0:01:32.625 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.043) 0:01:32.669 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.059) 0:01:32.728 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.661) 0:01:33.389 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.060) 0:01:33.449 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.042) 0:01:33.491 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.040) 0:01:33.532 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.766) 0:01:34.299 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.041) 0:01:34.340 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.090) 0:01:34.431 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.050) 0:01:34.481 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.045) 0:01:34.526 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.455) 0:01:34.982 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.082) 0:01:35.065 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.080) 0:01:35.145 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.048) 0:01:35.193 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.419) 0:01:35.613 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.041) 0:01:35.655 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018524", "end": "2024-07-27 08:54:12.289107", "rc": 1, "start": "2024-07-27 08:54:12.270583" } 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.444) 0:01:36.099 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.046) 0:01:36.145 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.043) 0:01:36.188 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.043) 0:01:36.232 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.086) 0:01:36.319 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.046) 0:01:36.365 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.048) 0:01:36.413 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.094) 0:01:36.508 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:54:12 -0400 (0:00:00.074) 0:01:36.583 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.443) 0:01:37.027 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.048) 0:01:37.076 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.048) 0:01:37.124 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.084) 0:01:37.208 ********* 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.036514", "end": "2024-07-27 08:54:13.842481", "rc": 1, "start": "2024-07-27 08:54:13.805967" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.443) 0:01:37.652 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.080) 0:01:37.733 ********* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.047) 0:01:37.780 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.126) 0:01:37.907 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.075) 0:01:37.983 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.071) 0:01:38.054 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003620", "end": "2024-07-27 08:54:14.658855", "rc": 0, "start": "2024-07-27 08:54:14.655235" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.414) 0:01:38.469 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.046) 0:01:38.516 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.047) 0:01:38.564 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.090) 0:01:38.654 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.095) 0:01:38.749 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.090) 0:01:38.840 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.058) 0:01:38.899 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.049) 0:01:38.948 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.088) 0:01:39.036 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:17 -0400 (0:00:02.452) 0:01:41.489 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:18 -0400 (0:00:01.019) 0:01:42.509 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.049) 0:01:42.558 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.043) 0:01:42.601 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.041) 0:01:42.643 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.051) 0:01:42.695 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.062) 0:01:42.758 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.054) 0:01:42.812 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.061) 0:01:42.873 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.097) 0:01:42.971 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.042) 0:01:43.013 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.043) 0:01:43.057 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.059) 0:01:43.116 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.749) 0:01:43.866 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.062) 0:01:43.928 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.041) 0:01:43.970 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.044) 0:01:44.014 ********* 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, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.670) 0:01:44.685 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.041) 0:01:44.727 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.049) 0:01:44.776 ********* 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, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.050) 0:01:44.827 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.040) 0:01:44.868 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.436) 0:01:45.304 ********* 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, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.046) 0:01:45.351 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.095) 0:01:45.446 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.087) 0:01:45.534 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.155) 0:01:45.690 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.051) 0:01:45.742 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.049) 0:01:45.791 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:24 -0400 (0:00:02.461) 0:01:48.253 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:25 -0400 (0:00:01.011) 0:01:49.264 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.045) 0:01:49.310 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.043) 0:01:49.353 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.042) 0:01:49.396 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.049) 0:01:49.446 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.067) 0:01:49.513 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.049) 0:01:49.563 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.060) 0:01:49.624 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.097) 0:01:49.722 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.089) 0:01:49.811 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.042) 0:01:49.854 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.062) 0:01:49.916 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.652) 0:01:50.569 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.061) 0:01:50.630 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.044) 0:01:50.675 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.042) 0:01:50.718 ********* 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, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.613) 0:01:51.331 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.044) 0:01:51.376 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.051) 0:01:51.428 ********* 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, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26e7f4bc-bbfd-42c8-8073-85cf8c34de5c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.047) 0:01:51.476 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.045) 0:01:51.521 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.440) 0:01:51.962 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.097) 0:01:52.059 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.133) 0:01:52.193 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.061) 0:01:52.255 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.050) 0:01:52.305 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.050) 0:01:52.355 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:33 -0400 (0:00:04.411) 0:01:56.767 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.997) 0:01:57.765 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.046) 0:01:57.812 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.044) 0:01:57.856 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.042) 0:01:57.899 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.047) 0:01:57.947 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.066) 0:01:58.014 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.050) 0:01:58.065 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.061) 0:01:58.127 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.197) 0:01:58.324 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.043) 0:01:58.367 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.044) 0:01:58.411 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.066) 0:01:58.478 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.672) 0:01:59.151 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.062) 0:01:59.213 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.044) 0:01:59.257 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.045) 0:01:59.303 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.719) 0:02:00.022 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.044) 0:02:00.067 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.046) 0:02:00.113 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.050) 0:02:00.164 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.041) 0:02:00.205 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.475) 0:02:00.681 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 July 2024 08:54:37 -0400 (0:00:00.127) 0:02:00.809 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:37 -0400 (0:00:00.099) 0:02:00.908 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:37 -0400 (0:00:00.087) 0:02:00.995 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:37 -0400 (0:00:00.060) 0:02:01.056 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:37 -0400 (0:00:00.048) 0:02:01.104 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:37 -0400 (0:00:00.048) 0:02:01.153 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:39 -0400 (0:00:02.387) 0:02:03.540 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:40 -0400 (0:00:01.016) 0:02:04.557 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.048) 0:02:04.606 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.043) 0:02:04.649 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.041) 0:02:04.691 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.094) 0:02:04.786 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.065) 0:02:04.851 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.050) 0:02:04.902 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.060) 0:02:04.963 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.098) 0:02:05.061 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.042) 0:02:05.104 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.042) 0:02:05.147 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.061) 0:02:05.208 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.674) 0:02:05.883 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.065) 0:02:05.949 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.042) 0:02:05.992 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.043) 0:02:06.035 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.636) 0:02:06.672 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.045) 0:02:06.717 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.049) 0:02:06.766 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.051) 0:02:06.818 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.097) 0:02:06.915 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.445) 0:02:07.360 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.092) 0:02:07.452 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.079) 0:02:07.532 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.046) 0:02:07.578 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.415) 0:02:07.994 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.044) 0:02:08.039 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020790", "end": "2024-07-27 08:54:44.666017", "rc": 1, "start": "2024-07-27 08:54:44.645227" } 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.434) 0:02:08.473 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.045) 0:02:08.519 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.043) 0:02:08.563 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.045) 0:02:08.608 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.046) 0:02:08.654 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.044) 0:02:08.698 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 27 July 2024 08:54:45 -0400 (0:00:00.045) 0:02:08.744 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.324314", "end": "2024-07-27 08:54:45.670966", "rc": 0, "start": "2024-07-27 08:54:45.346652" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 27 July 2024 08:54:45 -0400 (0:00:00.783) 0:02:09.528 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 27 July 2024 08:54:45 -0400 (0:00:00.048) 0:02:09.576 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 08:54:45 -0400 (0:00:00.048) 0:02:09.625 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 08:54:45 -0400 (0:00:00.097) 0:02:09.723 ********* included: /tmp/tmp.MUA39UWMK6/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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.074) 0:02:09.798 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.426) 0:02:10.224 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.049) 0:02:10.274 ********* 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/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.048) 0:02:10.322 ********* included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.094) 0:02:10.417 ********* 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.037981", "end": "2024-07-27 08:54:47.067710", "rc": 1, "start": "2024-07-27 08:54:47.029729" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.463) 0:02:10.881 ********* 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.009247", "end": "2024-07-27 08:54:47.547804", "rc": 0, "start": "2024-07-27 08:54:47.538557" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:ad:d6:ce:50:21 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.81/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3407sec preferred_lft 3407sec inet6 fe80::2cfc:c722:1979:511e/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.81 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.81 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.483) 0:02:11.364 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=11 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.178) 0:02:11.543 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 4.41s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 3.38s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.46s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.44s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.44s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.42s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.40s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.26s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /tmp/tmp.MUA39UWMK6/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26