[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.UdGeogwTz0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Tuesday 30 July 2024 13:48: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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Tuesday 30 July 2024 13:48:37 -0400 (0:00:01.217) 0:00:01.238 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 30 July 2024 13:48:37 -0400 (0:00:00.017) 0:00:01.255 ********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.554) 0:00:01.810 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.463) 0:00:02.273 ********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.021) 0:00:02.295 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.015) 0:00:02.310 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.029) 0:00:02.340 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.014) 0:00:02.354 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.015) 0:00:02.370 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.013) 0:00:02.383 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.013) 0:00:02.397 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.013) 0:00:02.411 ********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 30 July 2024 13:48:38 -0400 (0:00:00.028) 0:00:02.439 ********** ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.961) 0:00:03.401 ********** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.015) 0:00:03.416 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.025) 0:00:03.442 ********** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.016) 0:00:03.459 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.047) 0:00:03.506 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.019) 0:00:03.525 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:48:39 -0400 (0:00:00.018) 0:00:03.544 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003601", "end": "2024-07-30 13:48:40.156588", "rc": 0, "start": "2024-07-30 13:48:40.152987" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:48:40 -0400 (0:00:00.468) 0:00:04.012 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:48:40 -0400 (0:00:00.017) 0:00:04.029 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 13:48:40 -0400 (0:00:00.017) 0:00:04.046 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 30 July 2024 13:48:40 -0400 (0:00:00.027) 0:00:04.074 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008104", "end": "2024-07-30 13:48:40.616946", "rc": 1, "start": "2024-07-30 13:48:40.608842" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:48:40 -0400 (0:00:00.397) 0:00:04.471 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:48:40 -0400 (0:00:00.019) 0:00:04.491 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.389) 0:00:04.880 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.017) 0:00:04.898 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.024) 0:00:04.922 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.040) 0:00:04.963 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.030) 0:00:04.993 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.024) 0:00:05.018 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.021) 0:00:05.039 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:48:41 -0400 (0:00:00.018) 0:00:05.058 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:48:43 -0400 (0:00:02.125) 0:00:07.183 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.997) 0:00:08.181 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.034) 0:00:08.215 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.030) 0:00:08.246 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.029) 0:00:08.276 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.045) 0:00:08.321 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.047) 0:00:08.369 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.033) 0:00:08.402 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.047) 0:00:08.450 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.099) 0:00:08.549 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.028) 0:00:08.578 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.032) 0:00:08.610 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:48:44 -0400 (0:00:00.042) 0:00:08.653 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:48:45 -0400 (0:00:00.814) 0:00:09.467 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:48:45 -0400 (0:00:00.045) 0:00:09.512 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:48:45 -0400 (0:00:00.028) 0:00:09.540 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:48:45 -0400 (0:00:00.032) 0:00:09.573 ********** 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, 177e915e-ad1c-451a-a63b-96cba755d674 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:48:46 -0400 (0:00:00.765) 0:00:10.339 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:48:46 -0400 (0:00:00.029) 0:00:10.368 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177e915e-ad1c-451a-a63b-96cba755d674" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:48:46 -0400 (0:00:00.034) 0:00:10.403 ********** 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, 177e915e-ad1c-451a-a63b-96cba755d674\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177e915e-ad1c-451a-a63b-96cba755d674" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:48:46 -0400 (0:00:00.033) 0:00:10.436 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:48:46 -0400 (0:00:00.032) 0:00:10.469 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.497) 0:00:10.966 ********** 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, 177e915e-ad1c-451a-a63b-96cba755d674\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 177e915e-ad1c-451a-a63b-96cba755d674" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.035) 0:00:11.001 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.055) 0:00:11.057 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.087) 0:00:11.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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.032) 0:00:11.178 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.407) 0:00:11.586 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 13:48:47 -0400 (0:00:00.031) 0:00:11.617 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022909", "end": "2024-07-30 13:48:48.178115", "rc": 0, "start": "2024-07-30 13:48:48.155206" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.429) 0:00:12.046 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.036) 0:00:12.083 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.030) 0:00:12.114 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.031) 0:00:12.146 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.031) 0:00:12.177 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.032) 0:00:12.209 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.035) 0:00:12.244 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.036) 0:00:12.281 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.032) 0:00:12.313 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.065) 0:00:12.379 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:48:48 -0400 (0:00:00.050) 0:00:12.430 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361726.4148102, "block_size": 4096, "blocks": 0, "ctime": 1722361726.4148102, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42828, "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": 1722361726.4148102, "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.401) 0:00:12.831 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.068) 0:00:12.900 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.034) 0:00:12.934 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.057) 0:00:12.992 ********** 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.070834", "end": "2024-07-30 13:48:49.596929", "rc": 1, "start": "2024-07-30 13:48:49.526095" } STDOUT: Connection 'statebr' (177e915e-ad1c-451a-a63b-96cba755d674) 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.474) 0:00:13.467 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.052) 0:00:13.519 ********** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.033) 0:00:13.553 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.065) 0:00:13.618 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.049) 0:00:13.668 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:48:49 -0400 (0:00:00.050) 0:00:13.718 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003648", "end": "2024-07-30 13:48:50.257903", "rc": 0, "start": "2024-07-30 13:48:50.254255" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:48:50 -0400 (0:00:00.408) 0:00:14.127 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:48:50 -0400 (0:00:00.034) 0:00:14.162 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 13:48:50 -0400 (0:00:00.033) 0:00:14.196 ********** included: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 30 July 2024 13:48:50 -0400 (0:00:00.057) 0:00:14.253 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006778", "end": "2024-07-30 13:48:50.796838", "rc": 1, "start": "2024-07-30 13:48:50.790060" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:48:50 -0400 (0:00:00.443) 0:00:14.697 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:48:50 -0400 (0:00:00.050) 0:00:14.747 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.399) 0:00:15.147 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.033) 0:00:15.181 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.055) 0:00:15.236 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.067) 0:00:15.303 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.060) 0:00:15.364 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.042) 0:00:15.406 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.034) 0:00:15.441 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:48:51 -0400 (0:00:00.035) 0:00:15.477 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:48:53 -0400 (0:00:02.037) 0:00:17.515 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.887) 0:00:18.402 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.033) 0:00:18.436 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.030) 0:00:18.466 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.030) 0:00:18.497 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.046) 0:00:18.543 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.051) 0:00:18.595 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.037) 0:00:18.632 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.043) 0:00:18.675 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.076) 0:00:18.752 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:48:54 -0400 (0:00:00.029) 0:00:18.782 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:48:55 -0400 (0:00:00.030) 0:00:18.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 : Enable and start NetworkManager] ***** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:48:55 -0400 (0:00:00.043) 0:00:18.856 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:48:55 -0400 (0:00:00.623) 0:00:19.480 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:48:55 -0400 (0:00:00.047) 0:00:19.527 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:48:55 -0400 (0:00:00.029) 0:00:19.556 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:48:55 -0400 (0:00:00.032) 0:00:19.589 ********** 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, 56e8c43d-37e2-4119-a29b-efa835e51ead TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:48:56 -0400 (0:00:00.636) 0:00:20.226 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:48:56 -0400 (0:00:00.030) 0:00:20.256 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56e8c43d-37e2-4119-a29b-efa835e51ead" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:48:56 -0400 (0:00:00.073) 0:00:20.330 ********** 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, 56e8c43d-37e2-4119-a29b-efa835e51ead\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56e8c43d-37e2-4119-a29b-efa835e51ead" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:48:56 -0400 (0:00:00.036) 0:00:20.366 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:48:56 -0400 (0:00:00.030) 0:00:20.397 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.413) 0:00:20.811 ********** 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, 56e8c43d-37e2-4119-a29b-efa835e51ead\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56e8c43d-37e2-4119-a29b-efa835e51ead" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.036) 0:00:20.848 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.061) 0:00:20.910 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.048) 0:00:20.958 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.402) 0:00:21.361 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.033) 0:00:21.395 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.054) 0:00:21.450 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 13:48:57 -0400 (0:00:00.031) 0:00:21.482 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.399) 0:00:21.881 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.029) 0:00:21.910 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022431", "end": "2024-07-30 13:48:58.467241", "rc": 0, "start": "2024-07-30 13:48:58.444810" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.426) 0:00:22.337 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.074) 0:00:22.412 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.031) 0:00:22.443 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.034) 0:00:22.478 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.030) 0:00:22.508 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.033) 0:00:22.542 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.034) 0:00:22.576 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.038) 0:00:22.614 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.037) 0:00:22.652 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.034) 0:00:22.686 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.034) 0:00:22.720 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 13:48:58 -0400 (0:00:00.057) 0:00:22.777 ********** 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.045078", "end": "2024-07-30 13:48:59.358046", "rc": 1, "start": "2024-07-30 13:48:59.312968" } STDOUT: Connection 'statebr' (56e8c43d-37e2-4119-a29b-efa835e51ead) 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 30 July 2024 13:48:59 -0400 (0:00:00.451) 0:00:23.229 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 13:48:59 -0400 (0:00:00.052) 0:00:23.282 ********** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 13:48:59 -0400 (0:00:00.035) 0:00:23.318 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 13:48:59 -0400 (0:00:00.064) 0:00:23.382 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:48:59 -0400 (0:00:00.050) 0:00:23.432 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:48:59 -0400 (0:00:00.085) 0:00:23.518 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003561", "end": "2024-07-30 13:49:00.058100", "rc": 0, "start": "2024-07-30 13:49:00.054539" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.407) 0:00:23.925 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.034) 0:00:23.960 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.035) 0:00:23.996 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.053) 0:00:24.049 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.067) 0:00:24.116 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.061) 0:00:24.178 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.042) 0:00:24.220 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.034) 0:00:24.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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:00 -0400 (0:00:00.035) 0:00:24.290 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:02 -0400 (0:00:02.131) 0:00:26.421 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.911) 0:00:27.333 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.033) 0:00:27.367 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.032) 0:00:27.400 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.030) 0:00:27.431 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.047) 0:00:27.478 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.049) 0:00:27.527 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.037) 0:00:27.565 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.044) 0:00:27.610 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.077) 0:00:27.687 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.030) 0:00:27.717 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.031) 0:00:27.749 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:03 -0400 (0:00:00.044) 0:00:27.794 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:04 -0400 (0:00:00.623) 0:00:28.417 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:04 -0400 (0:00:00.046) 0:00:28.464 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:04 -0400 (0:00:00.029) 0:00:28.493 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:04 -0400 (0:00:00.032) 0:00:28.526 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9eceb66-f33f-4faf-997b-e12f4d65f78e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:05 -0400 (0:00:00.684) 0:00:29.210 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:05 -0400 (0:00:00.029) 0:00:29.240 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9eceb66-f33f-4faf-997b-e12f4d65f78e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:05 -0400 (0:00:00.077) 0:00:29.317 ********** 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, e9eceb66-f33f-4faf-997b-e12f4d65f78e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9eceb66-f33f-4faf-997b-e12f4d65f78e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:05 -0400 (0:00:00.035) 0:00:29.352 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:05 -0400 (0:00:00.034) 0:00:29.386 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.418) 0:00:29.804 ********** 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, e9eceb66-f33f-4faf-997b-e12f4d65f78e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9eceb66-f33f-4faf-997b-e12f4d65f78e" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.035) 0:00:29.839 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.054) 0:00:29.894 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.068) 0:00:29.962 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.062) 0:00:30.025 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.041) 0:00:30.066 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.038) 0:00:30.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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:06 -0400 (0:00:00.034) 0:00:30.138 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:08 -0400 (0:00:02.045) 0:00:32.184 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.901) 0:00:33.085 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.034) 0:00:33.120 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.031) 0:00:33.151 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.031) 0:00:33.182 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.049) 0:00:33.232 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.047) 0:00:33.279 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.037) 0:00:33.316 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.045) 0:00:33.362 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.076) 0:00:33.438 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.032) 0:00:33.471 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.029) 0:00:33.501 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:09 -0400 (0:00:00.047) 0:00:33.548 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:10 -0400 (0:00:00.625) 0:00:34.174 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:10 -0400 (0:00:00.050) 0:00:34.225 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:10 -0400 (0:00:00.030) 0:00:34.256 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:10 -0400 (0:00:00.030) 0:00:34.286 ********** 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, e9eceb66-f33f-4faf-997b-e12f4d65f78e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.633) 0:00:34.920 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.030) 0:00:34.951 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9eceb66-f33f-4faf-997b-e12f4d65f78e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.077) 0:00:35.028 ********** 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, e9eceb66-f33f-4faf-997b-e12f4d65f78e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9eceb66-f33f-4faf-997b-e12f4d65f78e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.037) 0:00:35.066 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.031) 0:00:35.097 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.414) 0:00:35.511 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.063) 0:00:35.575 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:49:11 -0400 (0:00:00.050) 0:00:35.625 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361745.2855577, "block_size": 4096, "blocks": 0, "ctime": 1722361745.2855577, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42953, "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": 1722361745.2855577, "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:49:12 -0400 (0:00:00.406) 0:00:36.031 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 July 2024 13:49:12 -0400 (0:00:00.035) 0:00:36.067 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 13:49:12 -0400 (0:00:00.058) 0:00:36.126 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 13:49:12 -0400 (0:00:00.035) 0:00:36.161 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 13:49:12 -0400 (0:00:00.402) 0:00:36.564 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 13:49:12 -0400 (0:00:00.031) 0:00:36.596 ********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022903", "end": "2024-07-30 13:49:13.154536", "rc": 0, "start": "2024-07-30 13:49:13.131633" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.429) 0:00:37.025 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.035) 0:00:37.060 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.071) 0:00:37.131 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.033) 0:00:37.165 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.032) 0:00:37.197 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.033) 0:00:37.230 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.036) 0:00:37.267 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.038) 0:00:37.305 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.033) 0:00:37.338 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.037) 0:00:37.376 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.035) 0:00:37.411 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 13:49:13 -0400 (0:00:00.060) 0:00:37.472 ********** 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.071656", "end": "2024-07-30 13:49:14.076296", "rc": 1, "start": "2024-07-30 13:49:14.004640" } STDOUT: Connection 'statebr' (e9eceb66-f33f-4faf-997b-e12f4d65f78e) 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.472) 0:00:37.945 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.053) 0:00:37.998 ********** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.033) 0:00:38.032 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.067) 0:00:38.099 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.050) 0:00:38.149 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.087) 0:00:38.237 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003929", "end": "2024-07-30 13:49:14.774691", "rc": 0, "start": "2024-07-30 13:49:14.770762" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.407) 0:00:38.645 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.034) 0:00:38.679 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.034) 0:00:38.713 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 13:49:14 -0400 (0:00:00.059) 0:00:38.773 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:15 -0400 (0:00:00.066) 0:00:38.840 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:15 -0400 (0:00:00.064) 0:00:38.904 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:15 -0400 (0:00:00.042) 0:00:38.946 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:15 -0400 (0:00:00.036) 0:00:38.983 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:15 -0400 (0:00:00.036) 0:00:39.020 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:17 -0400 (0:00:02.033) 0:00:41.054 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.914) 0:00:41.968 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.033) 0:00:42.002 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.033) 0:00:42.035 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.030) 0:00:42.065 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.050) 0:00:42.115 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.048) 0:00:42.164 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.035) 0:00:42.200 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.046) 0:00:42.247 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.073) 0:00:42.320 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.033) 0:00:42.353 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.032) 0:00:42.385 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:18 -0400 (0:00:00.047) 0:00:42.433 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:19 -0400 (0:00:00.633) 0:00:43.067 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:19 -0400 (0:00:00.045) 0:00:43.112 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:19 -0400 (0:00:00.030) 0:00:43.142 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:19 -0400 (0:00:00.033) 0:00:43.176 ********** 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, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.628) 0:00:43.805 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.032) 0:00:43.837 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.033) 0:00:43.871 ********** 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, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.081) 0:00:43.953 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.030) 0:00:43.983 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.416) 0:00:44.400 ********** 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, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.037) 0:00:44.438 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.070) 0:00:44.509 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.062) 0:00:44.571 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.043) 0:00:44.615 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.035) 0:00:44.650 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:20 -0400 (0:00:00.038) 0:00:44.689 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:22 -0400 (0:00:02.050) 0:00:46.739 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:23 -0400 (0:00:00.830) 0:00:47.570 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:23 -0400 (0:00:00.035) 0:00:47.605 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:23 -0400 (0:00:00.075) 0:00:47.680 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:23 -0400 (0:00:00.030) 0:00:47.711 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:23 -0400 (0:00:00.050) 0:00:47.761 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.047) 0:00:47.809 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.040) 0:00:47.850 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.045) 0:00:47.896 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.074) 0:00:47.970 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.031) 0:00:48.002 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.032) 0:00:48.034 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.045) 0:00:48.080 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.627) 0:00:48.707 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.048) 0:00:48.756 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:24 -0400 (0:00:00.031) 0:00:48.787 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:25 -0400 (0:00:00.032) 0:00:48.820 ********** 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, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:25 -0400 (0:00:00.585) 0:00:49.405 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:25 -0400 (0:00:00.032) 0:00:49.438 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:25 -0400 (0:00:00.036) 0:00:49.475 ********** 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, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:25 -0400 (0:00:00.036) 0:00:49.511 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:25 -0400 (0:00:00.032) 0:00:49.543 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.457) 0:00:50.001 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.058) 0:00:50.059 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.067) 0:00:50.127 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.062) 0:00:50.190 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.044) 0:00:50.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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.037) 0:00:50.272 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:26 -0400 (0:00:00.037) 0:00:50.309 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:28 -0400 (0:00:02.018) 0:00:52.328 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.822) 0:00:53.150 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.036) 0:00:53.187 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.030) 0:00:53.218 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.076) 0:00:53.294 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.048) 0:00:53.343 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.050) 0:00:53.393 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.036) 0:00:53.430 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.047) 0:00:53.477 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.076) 0:00:53.553 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.030) 0:00:53.584 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.033) 0:00:53.617 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:29 -0400 (0:00:00.046) 0:00:53.664 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:30 -0400 (0:00:00.635) 0:00:54.299 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:30 -0400 (0:00:00.048) 0:00:54.348 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:30 -0400 (0:00:00.030) 0:00:54.378 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:30 -0400 (0:00:00.033) 0:00:54.411 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.624) 0:00:55.036 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.033) 0:00:55.070 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.037) 0:00:55.108 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.034) 0:00:55.142 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.032) 0:00:55.174 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.461) 0:00:55.636 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.062) 0:00:55.698 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:49:31 -0400 (0:00:00.050) 0:00:55.748 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722361759.8828948, "block_size": 4096, "blocks": 0, "ctime": 1722361759.8828948, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43078, "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": 1722361759.8828948, "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 13:49:32 -0400 (0:00:00.408) 0:00:56.157 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 July 2024 13:49:32 -0400 (0:00:00.037) 0:00:56.194 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 13:49:32 -0400 (0:00:00.056) 0:00:56.251 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 13:49:32 -0400 (0:00:00.034) 0:00:56.285 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 13:49:32 -0400 (0:00:00.410) 0:00:56.695 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 13:49:32 -0400 (0:00:00.033) 0:00:56.729 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023356", "end": "2024-07-30 13:49:33.290140", "rc": 1, "start": "2024-07-30 13:49:33.266784" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.430) 0:00:57.159 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.032) 0:00:57.192 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.032) 0:00:57.225 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.032) 0:00:57.257 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.034) 0:00:57.291 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.032) 0:00:57.324 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.083) 0:00:57.407 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.039) 0:00:57.447 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.035) 0:00:57.482 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 13:49:33 -0400 (0:00:00.059) 0:00:57.542 ********** 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.067635", "end": "2024-07-30 13:49:34.146737", "rc": 1, "start": "2024-07-30 13:49:34.079102" } STDOUT: Connection 'statebr' (a2f3c465-5e36-4250-9f1e-ddd5cf7bd0fe) 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.483) 0:00:58.026 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.053) 0:00:58.079 ********** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.036) 0:00:58.116 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.065) 0:00:58.182 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.053) 0:00:58.236 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.049) 0:00:58.285 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003532", "end": "2024-07-30 13:49:34.830630", "rc": 0, "start": "2024-07-30 13:49:34.827098" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.416) 0:00:58.701 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.033) 0:00:58.735 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 13:49:34 -0400 (0:00:00.035) 0:00:58.770 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 13:49:35 -0400 (0:00:00.106) 0:00:58.877 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:35 -0400 (0:00:00.071) 0:00:58.948 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:35 -0400 (0:00:00.063) 0:00:59.012 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:35 -0400 (0:00:00.042) 0:00:59.054 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:35 -0400 (0:00:00.037) 0:00:59.092 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:35 -0400 (0:00:00.037) 0:00:59.130 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:37 -0400 (0:00:02.114) 0:01:01.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 : Print network provider] ************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.819) 0:01:02.064 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.035) 0:01:02.099 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.032) 0:01:02.131 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.030) 0:01:02.162 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.049) 0:01:02.212 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.045) 0:01:02.258 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.082) 0:01:02.340 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.047) 0:01:02.388 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.078) 0:01:02.467 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.032) 0:01:02.499 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.030) 0:01:02.530 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:38 -0400 (0:00:00.048) 0:01:02.579 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:39 -0400 (0:00:00.629) 0:01:03.208 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:39 -0400 (0:00:00.049) 0:01:03.257 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:39 -0400 (0:00:00.033) 0:01:03.291 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:39 -0400 (0:00:00.032) 0:01:03.324 ********** 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, 91b3966b-2cb0-4ca6-8d07-de37cb187c28 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.630) 0:01:03.954 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.032) 0:01:03.987 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91b3966b-2cb0-4ca6-8d07-de37cb187c28" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.035) 0:01:04.023 ********** 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, 91b3966b-2cb0-4ca6-8d07-de37cb187c28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91b3966b-2cb0-4ca6-8d07-de37cb187c28" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.036) 0:01:04.059 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.031) 0:01:04.091 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.425) 0:01:04.517 ********** 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, 91b3966b-2cb0-4ca6-8d07-de37cb187c28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91b3966b-2cb0-4ca6-8d07-de37cb187c28" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.036) 0:01:04.554 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.112) 0:01:04.666 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.064) 0:01:04.730 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:40 -0400 (0:00:00.044) 0:01:04.775 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:41 -0400 (0:00:00.036) 0:01:04.811 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:41 -0400 (0:00:00.037) 0:01:04.848 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:43 -0400 (0:00:02.046) 0:01:06.895 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:43 -0400 (0:00:00.811) 0:01:07.706 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:43 -0400 (0:00:00.035) 0:01:07.741 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:43 -0400 (0:00:00.032) 0:01:07.774 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.031) 0:01:07.806 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.046) 0:01:07.853 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.050) 0:01:07.903 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.036) 0:01:07.940 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.047) 0:01:07.987 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.125) 0:01:08.113 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.032) 0:01:08.145 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.032) 0:01:08.178 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:44 -0400 (0:00:00.047) 0:01:08.225 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.633) 0:01:08.859 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.046) 0:01:08.906 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.030) 0:01:08.937 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.034) 0:01:08.971 ********** 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, 91b3966b-2cb0-4ca6-8d07-de37cb187c28 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.595) 0:01:09.567 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.030) 0:01:09.598 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91b3966b-2cb0-4ca6-8d07-de37cb187c28 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.037) 0:01:09.636 ********** 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, 91b3966b-2cb0-4ca6-8d07-de37cb187c28 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91b3966b-2cb0-4ca6-8d07-de37cb187c28 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.034) 0:01:09.670 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:45 -0400 (0:00:00.032) 0:01:09.703 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 30 July 2024 13:49:46 -0400 (0:00:00.424) 0:01:10.128 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:46 -0400 (0:00:00.069) 0:01:10.197 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:46 -0400 (0:00:00.103) 0:01:10.300 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:46 -0400 (0:00:00.045) 0:01:10.346 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:46 -0400 (0:00:00.037) 0:01:10.383 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:46 -0400 (0:00:00.037) 0:01:10.420 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:48 -0400 (0:00:02.133) 0:01:12.554 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.822) 0:01:13.376 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.036) 0:01:13.412 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.032) 0:01:13.445 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.033) 0:01:13.478 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.049) 0:01:13.527 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.046) 0:01:13.574 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.039) 0:01:13.613 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.047) 0:01:13.661 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.075) 0:01:13.736 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:49 -0400 (0:00:00.034) 0:01:13.771 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:50 -0400 (0:00:00.030) 0:01:13.801 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:50 -0400 (0:00:00.097) 0:01:13.899 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:50 -0400 (0:00:00.638) 0:01:14.537 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:50 -0400 (0:00:00.050) 0:01:14.588 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:50 -0400 (0:00:00.033) 0:01:14.622 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:50 -0400 (0:00:00.030) 0:01:14.652 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:51 -0400 (0:00:00.628) 0:01:15.280 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:51 -0400 (0:00:00.031) 0:01:15.312 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:51 -0400 (0:00:00.035) 0:01:15.348 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:51 -0400 (0:00:00.038) 0:01:15.386 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:51 -0400 (0:00:00.030) 0:01:15.416 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.413) 0:01:15.830 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.057) 0:01:15.887 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.068) 0:01:15.955 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.063) 0:01:16.019 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.090) 0:01:16.109 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.036) 0:01:16.145 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:49:52 -0400 (0:00:00.040) 0:01:16.186 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:49:54 -0400 (0:00:02.062) 0:01:18.248 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.816) 0:01:19.064 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.033) 0:01:19.098 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.034) 0:01:19.133 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.032) 0:01:19.165 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.045) 0:01:19.211 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.050) 0:01:19.261 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.038) 0:01:19.300 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.050) 0:01:19.350 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.074) 0:01:19.424 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.030) 0:01:19.455 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.034) 0:01:19.489 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:49:55 -0400 (0:00:00.046) 0:01:19.536 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:49:56 -0400 (0:00:00.728) 0:01:20.265 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:49:56 -0400 (0:00:00.047) 0:01:20.312 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:49:56 -0400 (0:00:00.032) 0:01:20.345 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:49:56 -0400 (0:00:00.034) 0:01:20.379 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.682) 0:01:21.062 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.034) 0:01:21.097 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.035) 0:01:21.132 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.038) 0:01:21.170 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.033) 0:01:21.204 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.416) 0:01:21.620 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.058) 0:01:21.678 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.057) 0:01:21.736 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 13:49:57 -0400 (0:00:00.035) 0:01:21.771 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 13:49:58 -0400 (0:00:00.403) 0:01:22.174 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 13:49:58 -0400 (0:00:00.030) 0:01:22.205 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022049", "end": "2024-07-30 13:49:58.764677", "rc": 1, "start": "2024-07-30 13:49:58.742628" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 13:49:58 -0400 (0:00:00.478) 0:01:22.684 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 13:49:58 -0400 (0:00:00.035) 0:01:22.719 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 13:49:58 -0400 (0:00:00.033) 0:01:22.752 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 13:49:58 -0400 (0:00:00.033) 0:01:22.786 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.033) 0:01:22.819 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.033) 0:01:22.853 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.038) 0:01:22.891 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.067) 0:01:22.959 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.052) 0:01:23.012 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.400) 0:01:23.413 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.038) 0:01:23.451 ********** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.036) 0:01:23.487 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 13:49:59 -0400 (0:00:00.059) 0:01:23.547 ********** 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.043125", "end": "2024-07-30 13:50:00.127116", "rc": 1, "start": "2024-07-30 13:50:00.083991" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.449) 0:01:23.997 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.057) 0:01:24.055 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.081) 0:01:24.136 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.072) 0:01:24.208 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.050) 0:01:24.259 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.050) 0:01:24.309 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003608", "end": "2024-07-30 13:50:00.852952", "rc": 0, "start": "2024-07-30 13:50:00.849344" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.415) 0:01:24.725 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.036) 0:01:24.761 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 30 July 2024 13:50:00 -0400 (0:00:00.034) 0:01:24.795 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 July 2024 13:50:01 -0400 (0:00:00.063) 0:01:24.859 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:50:01 -0400 (0:00:00.072) 0:01:24.931 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:50:01 -0400 (0:00:00.063) 0:01:24.994 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:50:01 -0400 (0:00:00.043) 0:01:25.038 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:50:01 -0400 (0:00:00.036) 0:01:25.075 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:50:01 -0400 (0:00:00.089) 0:01:25.165 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:50:03 -0400 (0:00:02.117) 0:01:27.283 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.822) 0:01:28.105 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.033) 0:01:28.139 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.033) 0:01:28.173 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.030) 0:01:28.203 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.051) 0:01:28.255 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.048) 0:01:28.304 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.035) 0:01:28.339 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.047) 0:01:28.387 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.073) 0:01:28.461 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.032) 0:01:28.493 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.032) 0:01:28.526 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:50:04 -0400 (0:00:00.044) 0:01:28.571 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:50:05 -0400 (0:00:00.642) 0:01:29.213 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:50:05 -0400 (0:00:00.045) 0:01:29.259 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:50:05 -0400 (0:00:00.083) 0:01:29.343 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:50:05 -0400 (0:00:00.033) 0:01:29.376 ********** 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, 39ba08e7-cc03-42ff-936b-fec05550f8e3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.647) 0:01:30.024 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.033) 0:01:30.057 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ba08e7-cc03-42ff-936b-fec05550f8e3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.035) 0:01:30.093 ********** 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, 39ba08e7-cc03-42ff-936b-fec05550f8e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ba08e7-cc03-42ff-936b-fec05550f8e3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.036) 0:01:30.130 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.032) 0:01:30.162 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.426) 0:01:30.588 ********** 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, 39ba08e7-cc03-42ff-936b-fec05550f8e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39ba08e7-cc03-42ff-936b-fec05550f8e3" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.035) 0:01:30.624 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.068) 0:01:30.692 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.062) 0:01:30.754 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:50:06 -0400 (0:00:00.044) 0:01:30.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 : Set flag to indicate system is ostree] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:50:07 -0400 (0:00:00.037) 0:01:30.836 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:50:07 -0400 (0:00:00.037) 0:01:30.873 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:50:09 -0400 (0:00:02.107) 0:01:32.981 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:50:09 -0400 (0:00:00.808) 0:01:33.789 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.036) 0:01:33.826 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.032) 0:01:33.858 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.034) 0:01:33.893 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.048) 0:01:33.941 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.051) 0:01:33.993 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.037) 0:01:34.030 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.048) 0:01:34.078 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.075) 0:01:34.153 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.032) 0:01:34.186 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.032) 0:01:34.218 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:50:10 -0400 (0:00:00.048) 0:01:34.267 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.639) 0:01:34.906 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.047) 0:01:34.954 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.031) 0:01:34.986 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.089) 0:01:35.075 ********** 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, 39ba08e7-cc03-42ff-936b-fec05550f8e3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.583) 0:01:35.659 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.033) 0:01:35.693 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39ba08e7-cc03-42ff-936b-fec05550f8e3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.036) 0:01:35.729 ********** 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, 39ba08e7-cc03-42ff-936b-fec05550f8e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39ba08e7-cc03-42ff-936b-fec05550f8e3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:50:11 -0400 (0:00:00.036) 0:01:35.766 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.035) 0:01:35.801 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.416) 0:01:36.217 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.070) 0:01:36.288 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.061) 0:01:36.350 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.046) 0:01:36.397 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.036) 0:01:36.434 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:50:12 -0400 (0:00:00.038) 0:01:36.473 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:50:14 -0400 (0:00:02.046) 0:01:38.519 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.931) 0:01:39.451 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.036) 0:01:39.488 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.033) 0:01:39.521 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.033) 0:01:39.555 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.048) 0:01:39.603 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.054) 0:01:39.657 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.039) 0:01:39.697 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:50:15 -0400 (0:00:00.047) 0:01:39.744 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.077) 0:01:39.822 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.031) 0:01:39.853 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.034) 0:01:39.888 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.047) 0:01:39.936 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.631) 0:01:40.568 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.048) 0:01:40.616 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.031) 0:01:40.648 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:50:16 -0400 (0:00:00.032) 0:01:40.680 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:50:17 -0400 (0:00:00.760) 0:01:41.440 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:50:17 -0400 (0:00:00.030) 0:01:41.471 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:50:17 -0400 (0:00:00.090) 0:01:41.562 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:50:17 -0400 (0:00:00.036) 0:01:41.598 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:50:17 -0400 (0:00:00.034) 0:01:41.633 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.420) 0:01:42.054 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.059) 0:01:42.113 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.069) 0:01:42.183 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.061) 0:01:42.245 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.046) 0:01:42.291 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.037) 0:01:42.329 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 13:50:18 -0400 (0:00:00.037) 0:01:42.366 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 13:50:20 -0400 (0:00:02.065) 0:01:44.431 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.927) 0:01:45.359 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.037) 0:01:45.396 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.032) 0:01:45.428 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.033) 0:01:45.462 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.052) 0:01:45.515 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.051) 0:01:45.566 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.037) 0:01:45.603 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.049) 0:01:45.653 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.073) 0:01:45.726 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.035) 0:01:45.762 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 13:50:21 -0400 (0:00:00.032) 0:01:45.794 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 13:50:22 -0400 (0:00:00.046) 0:01:45.841 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 13:50:22 -0400 (0:00:00.629) 0:01:46.470 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 13:50:22 -0400 (0:00:00.047) 0:01:46.517 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 13:50:22 -0400 (0:00:00.032) 0:01:46.550 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 13:50:22 -0400 (0:00:00.034) 0:01:46.584 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 13:50:23 -0400 (0:00:00.613) 0:01:47.198 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 13:50:23 -0400 (0:00:00.033) 0:01:47.231 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 13:50:23 -0400 (0:00:00.035) 0:01:47.267 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 13:50:23 -0400 (0:00:00.089) 0:01:47.356 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 13:50:23 -0400 (0:00:00.033) 0:01:47.390 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 30 July 2024 13:50:24 -0400 (0:00:00.427) 0:01:47.817 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 July 2024 13:50:24 -0400 (0:00:00.065) 0:01:47.883 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 July 2024 13:50:24 -0400 (0:00:00.056) 0:01:47.940 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 July 2024 13:50:24 -0400 (0:00:00.036) 0:01:47.976 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 July 2024 13:50:24 -0400 (0:00:00.409) 0:01:48.386 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 July 2024 13:50:24 -0400 (0:00:00.031) 0:01:48.418 ********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021874", "end": "2024-07-30 13:50:24.982520", "rc": 1, "start": "2024-07-30 13:50:24.960646" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.434) 0:01:48.853 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.034) 0:01:48.888 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.034) 0:01:48.922 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.032) 0:01:48.955 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.036) 0:01:48.991 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.031) 0:01:49.023 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.037) 0:01:49.060 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.196247", "end": "2024-07-30 13:50:25.794424", "rc": 0, "start": "2024-07-30 13:50:25.598177" } STDOUT: NetworkManager-1.48.4-1.el10.1 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.660) 0:01:49.720 ********** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.4-1.el10.1" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.034) 0:01:49.754 ********** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.4-1.el10.1" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 30 July 2024 13:50:25 -0400 (0:00:00.037) 0:01:49.792 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 13:50:26 -0400 (0:00:00.069) 0:01:49.861 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 13:50:26 -0400 (0:00:00.052) 0:01:49.913 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 13:50:26 -0400 (0:00:00.405) 0:01:50.319 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 30 July 2024 13:50:26 -0400 (0:00:00.036) 0:01:50.355 ********** 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 30 July 2024 13:50:26 -0400 (0:00:00.036) 0:01:50.391 ********** included: /tmp/tmp.UdGeogwTz0/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.UdGeogwTz0/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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 July 2024 13:50:26 -0400 (0:00:00.066) 0:01:50.458 ********** 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.043775", "end": "2024-07-30 13:50:27.039546", "rc": 1, "start": "2024-07-30 13:50:26.995771" } 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.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 30 July 2024 13:50:27 -0400 (0:00:00.452) 0:01:50.911 ********** 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.009721", "end": "2024-07-30 13:50:27.464330", "rc": 0, "start": "2024-07-30 13:50:27.454609" } 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:9f:64:bd:ba:01 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.43.15/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2301sec preferred_lft 2301sec inet6 fe80::c9f:64ff:febd:ba01/64 scope link noprefixroute valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 62:c4:e5:46:74:2d brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.15 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.15 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 30 July 2024 13:50:27 -0400 (0:00:00.425) 0:01:51.337 ********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.271633", "end": "2024-07-30 13:50:28.151345", "rc": 0, "start": "2024-07-30 13:50:27.879712" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1404 0 --:--:-- --:--:-- --:--:-- 1412 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 13276 0 --:--:-- --:--:-- --:--:-- 13857 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Tuesday 30 July 2024 13:50:28 -0400 (0:00:00.735) 0:01:52.073 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.06s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.22s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/tmp.UdGeogwTz0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26