[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.GFqU0xgDk0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.007) 0:00:00.007 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 03 August 2024 08:52:58 -0400 (0:00:01.009) 0:00:01.017 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.018) 0:00:01.035 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.451) 0:00:01.486 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.380) 0:00:01.867 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.022) 0:00:01.889 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.014) 0:00:01.903 ******* included: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.043) 0:00:01.946 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.014) 0:00:01.961 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.013) 0:00:01.974 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.014) 0:00:01.989 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.013) 0:00:02.002 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.012) 0:00:02.015 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.026) 0:00:02.041 ******* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.736) 0:00:02.777 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.016) 0:00:02.794 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.023) 0:00:02.818 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.016) 0:00:02.835 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.050) 0:00:02.885 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.020) 0:00:02.906 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.018) 0:00:02.925 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003064", "end": "2024-08-03 08:53:00.940221", "rc": 0, "start": "2024-08-03 08:53:00.937157" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.392) 0:00:03.317 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.018) 0:00:03.336 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.017) 0:00:03.353 ******* included: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.028) 0:00:03.381 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007201", "end": "2024-08-03 08:53:01.312299", "rc": 1, "start": "2024-08-03 08:53:01.305098" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.307) 0:00:03.689 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.019) 0:00:03.709 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.303) 0:00:04.012 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.019) 0:00:04.032 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.026) 0:00:04.058 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.043) 0:00:04.101 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.032) 0:00:04.133 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.036) 0:00:04.169 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.019) 0:00:04.189 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.020) 0:00:04.209 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:03 -0400 (0:00:01.597) 0:00:05.807 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.990) 0:00:06.797 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.033) 0:00:06.831 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.030) 0:00:06.861 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.030) 0:00:06.891 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.049) 0:00:06.940 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.060) 0:00:07.000 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.048) 0:00:07.049 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.060) 0:00:07.110 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.083) 0:00:07.193 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.054) 0:00:07.247 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:04 -0400 (0:00:00.031) 0:00:07.279 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.057) 0:00:07.336 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.709) 0:00:08.046 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.058) 0:00:08.105 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.029) 0:00:08.135 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.030) 0:00:08.165 ******* 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, b99c926b-c905-4ef7-93b0-25b795e129cf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.663) 0:00:08.829 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.030) 0:00:08.860 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b99c926b-c905-4ef7-93b0-25b795e129cf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.033) 0:00:08.894 ******* 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, b99c926b-c905-4ef7-93b0-25b795e129cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b99c926b-c905-4ef7-93b0-25b795e129cf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.033) 0:00:08.928 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.030) 0:00:08.958 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.411) 0:00:09.369 ******* 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, b99c926b-c905-4ef7-93b0-25b795e129cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b99c926b-c905-4ef7-93b0-25b795e129cf" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.034) 0:00:09.404 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.057) 0:00:09.461 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.085) 0:00:09.546 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.033) 0:00:09.580 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.313) 0:00:09.893 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.031) 0:00:09.925 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019786", "end": "2024-08-03 08:53:07.867121", "rc": 0, "start": "2024-08-03 08:53:07.847335" } 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.334) 0:00:10.259 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.035) 0:00:10.295 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.031) 0:00:10.327 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.030) 0:00:10.357 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.031) 0:00:10.389 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.030) 0:00:10.419 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.035) 0:00:10.455 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.034) 0:00:10.489 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.034) 0:00:10.524 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.076) 0:00:10.601 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.049) 0:00:10.650 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689586.3867962, "block_size": 4096, "blocks": 0, "ctime": 1722689586.3867962, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49380, "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": 1722689586.3867962, "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.316) 0:00:10.967 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.065) 0:00:11.032 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.032) 0:00:11.065 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.058) 0:00:11.123 ******* 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.058102", "end": "2024-08-03 08:53:09.103393", "rc": 1, "start": "2024-08-03 08:53:09.045291" } STDOUT: Connection 'statebr' (b99c926b-c905-4ef7-93b0-25b795e129cf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.371) 0:00:11.495 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.054) 0:00:11.549 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.032) 0:00:11.582 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.064) 0:00:11.646 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.049) 0:00:11.696 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.048) 0:00:11.744 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003005", "end": "2024-08-03 08:53:09.670702", "rc": 0, "start": "2024-08-03 08:53:09.667697" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.318) 0:00:12.063 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.033) 0:00:12.097 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.032) 0:00:12.129 ******* included: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.056) 0:00:12.185 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005641", "end": "2024-08-03 08:53:10.114198", "rc": 1, "start": "2024-08-03 08:53:10.108557" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.350) 0:00:12.536 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.049) 0:00:12.585 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.316) 0:00:12.902 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.033) 0:00:12.936 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.055) 0:00:12.992 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.066) 0:00:13.058 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.060) 0:00:13.119 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.056) 0:00:13.175 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.035) 0:00:13.210 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.034) 0:00:13.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 : Check which packages are installed] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:12 -0400 (0:00:01.482) 0:00:14.727 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.853) 0:00:15.580 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.034) 0:00:15.615 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.030) 0:00:15.646 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.030) 0:00:15.676 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.049) 0:00:15.726 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.063) 0:00:15.790 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.050) 0:00:15.840 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.057) 0:00:15.898 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.085) 0:00:15.984 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.029) 0:00:16.014 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.030) 0:00:16.044 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.057) 0:00:16.102 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.501) 0:00:16.603 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.060) 0:00:16.663 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.029) 0:00:16.693 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.029) 0:00:16.723 ******* 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, 83b5f01f-cc14-411a-aa29-c23f191439cf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.525) 0:00:17.249 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.029) 0:00:17.279 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83b5f01f-cc14-411a-aa29-c23f191439cf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.068) 0:00:17.347 ******* 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, 83b5f01f-cc14-411a-aa29-c23f191439cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83b5f01f-cc14-411a-aa29-c23f191439cf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.034) 0:00:17.382 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.031) 0:00:17.414 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.328) 0:00:17.742 ******* 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, 83b5f01f-cc14-411a-aa29-c23f191439cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83b5f01f-cc14-411a-aa29-c23f191439cf" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.036) 0:00:17.778 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.062) 0:00:17.840 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.050) 0:00:17.891 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.314) 0:00:18.206 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.035) 0:00:18.241 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.054) 0:00:18.295 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.032) 0:00:18.328 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.313) 0:00:18.642 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.030) 0:00:18.673 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019458", "end": "2024-08-03 08:53:16.615644", "rc": 0, "start": "2024-08-03 08:53:16.596186" } 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.334) 0:00:19.007 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.072) 0:00:19.079 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.031) 0:00:19.111 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.032) 0:00:19.143 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.031) 0:00:19.174 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.032) 0:00:19.206 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.037) 0:00:19.244 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.036) 0:00:19.280 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.035) 0:00:19.316 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.047) 0:00:19.363 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.034) 0:00:19.398 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.058) 0:00:19.456 ******* 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.038857", "end": "2024-08-03 08:53:17.420362", "rc": 1, "start": "2024-08-03 08:53:17.381505" } STDOUT: Connection 'statebr' (83b5f01f-cc14-411a-aa29-c23f191439cf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.357) 0:00:19.813 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.053) 0:00:19.867 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.034) 0:00:19.901 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.063) 0:00:19.964 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.086) 0:00:20.050 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.048) 0:00:20.099 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002917", "end": "2024-08-03 08:53:18.026786", "rc": 0, "start": "2024-08-03 08:53:18.023869" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.319) 0:00:20.418 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.034) 0:00:20.453 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.034) 0:00:20.487 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.053) 0:00:20.541 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.067) 0:00:20.608 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.061) 0:00:20.670 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.055) 0:00:20.725 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.036) 0:00:20.761 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.034) 0:00:20.796 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:19 -0400 (0:00:01.490) 0:00:22.287 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.867) 0:00:23.154 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.035) 0:00:23.189 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.030) 0:00:23.220 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.030) 0:00:23.250 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.050) 0:00:23.301 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.059) 0:00:23.360 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.050) 0:00:23.411 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.057) 0:00:23.469 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.086) 0:00:23.556 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.030) 0:00:23.586 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.031) 0:00:23.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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.059) 0:00:23.676 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.503) 0:00:24.180 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.060) 0:00:24.241 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.029) 0:00:24.271 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.030) 0:00:24.301 ******* 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, bc042a2d-26e3-4149-9785-5d25fabed9e1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:22 -0400 (0:00:00.565) 0:00:24.867 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:22 -0400 (0:00:00.031) 0:00:24.899 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc042a2d-26e3-4149-9785-5d25fabed9e1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:22 -0400 (0:00:00.073) 0:00:24.972 ******* 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, bc042a2d-26e3-4149-9785-5d25fabed9e1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc042a2d-26e3-4149-9785-5d25fabed9e1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:22 -0400 (0:00:00.035) 0:00:25.007 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:22 -0400 (0:00:00.031) 0:00:25.039 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.329) 0:00:25.369 ******* 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, bc042a2d-26e3-4149-9785-5d25fabed9e1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc042a2d-26e3-4149-9785-5d25fabed9e1" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.036) 0:00:25.405 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.054) 0:00:25.459 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.067) 0:00:25.527 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.060) 0:00:25.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 : Check if system is ostree] *********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.055) 0:00:25.643 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.036) 0:00:25.679 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.035) 0:00:25.715 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:24 -0400 (0:00:01.472) 0:00:27.187 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.856) 0:00:28.044 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.035) 0:00:28.079 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.031) 0:00:28.110 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.029) 0:00:28.140 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.051) 0:00:28.192 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.060) 0:00:28.252 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.053) 0:00:28.305 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.057) 0:00:28.363 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.086) 0:00:28.449 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.031) 0:00:28.481 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.030) 0:00:28.512 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.061) 0:00:28.573 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.502) 0:00:29.076 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.060) 0:00:29.137 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.030) 0:00:29.168 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.029) 0:00:29.198 ******* 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, bc042a2d-26e3-4149-9785-5d25fabed9e1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.518) 0:00:29.716 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.030) 0:00:29.746 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc042a2d-26e3-4149-9785-5d25fabed9e1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.071) 0:00:29.817 ******* 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, bc042a2d-26e3-4149-9785-5d25fabed9e1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc042a2d-26e3-4149-9785-5d25fabed9e1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.036) 0:00:29.854 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.030) 0:00:29.884 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.329) 0:00:30.213 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.064) 0:00:30.277 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:27 -0400 (0:00:00.049) 0:00:30.327 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689602.4236045, "block_size": 4096, "blocks": 0, "ctime": 1722689602.4236045, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49511, "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": 1722689602.4236045, "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.316) 0:00:30.643 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.034) 0:00:30.677 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.056) 0:00:30.733 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.033) 0:00:30.767 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.314) 0:00:31.082 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.029) 0:00:31.111 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020113", "end": "2024-08-03 08:53:29.055416", "rc": 0, "start": "2024-08-03 08:53:29.035303" } 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.336) 0:00:31.448 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.034) 0:00:31.483 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.068) 0:00:31.551 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.032) 0:00:31.583 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.032) 0:00:31.616 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.032) 0:00:31.649 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.035) 0:00:31.684 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.036) 0:00:31.721 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.034) 0:00:31.756 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.052) 0:00:31.808 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.033) 0:00:31.842 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.058) 0:00:31.901 ******* 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.179383", "end": "2024-08-03 08:53:30.004300", "rc": 1, "start": "2024-08-03 08:53:29.824917" } STDOUT: Connection 'statebr' (bc042a2d-26e3-4149-9785-5d25fabed9e1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.496) 0:00:32.397 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.055) 0:00:32.452 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.033) 0:00:32.485 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.065) 0:00:32.551 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.050) 0:00:32.602 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.085) 0:00:32.687 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002935", "end": "2024-08-03 08:53:30.614357", "rc": 0, "start": "2024-08-03 08:53:30.611422" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.319) 0:00:33.007 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.035) 0:00:33.043 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.034) 0:00:33.077 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.059) 0:00:33.137 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.068) 0:00:33.205 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.062) 0:00:33.267 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.059) 0:00:33.326 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.035) 0:00:33.362 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.036) 0:00:33.399 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:32 -0400 (0:00:01.473) 0:00:34.872 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.860) 0:00:35.732 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.034) 0:00:35.766 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.031) 0:00:35.798 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.031) 0:00:35.829 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.049) 0:00:35.879 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.064) 0:00:35.943 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.049) 0:00:35.993 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.062) 0:00:36.055 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.084) 0:00:36.140 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.031) 0:00:36.171 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.031) 0:00:36.203 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:33 -0400 (0:00:00.058) 0:00:36.261 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.508) 0:00:36.769 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.059) 0:00:36.829 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.030) 0:00:36.859 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.031) 0:00:36.891 ******* 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, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.570) 0:00:37.461 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.031) 0:00:37.493 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.035) 0:00:37.529 ******* 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, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.075) 0:00:37.604 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.032) 0:00:37.637 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.337) 0:00:37.974 ******* 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, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.035) 0:00:38.010 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.067) 0:00:38.077 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.061) 0:00:38.139 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.058) 0:00:38.197 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.035) 0:00:38.233 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.036) 0:00:38.269 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:37 -0400 (0:00:01.471) 0:00:39.741 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.784) 0:00:40.525 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.033) 0:00:40.559 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.068) 0:00:40.628 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.031) 0:00:40.659 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.050) 0:00:40.710 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.064) 0:00:40.774 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.050) 0:00:40.824 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.061) 0:00:40.886 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.088) 0:00:40.974 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.030) 0:00:41.005 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.031) 0:00:41.036 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.057) 0:00:41.094 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.507) 0:00:41.601 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.059) 0:00:41.661 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.030) 0:00:41.692 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.031) 0:00:41.723 ******* 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, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.474) 0:00:42.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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.031) 0:00:42.229 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.035) 0:00:42.265 ******* 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, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.034) 0:00:42.299 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.068) 0:00:42.368 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.328) 0:00:42.697 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.055) 0:00:42.753 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.068) 0:00:42.821 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.060) 0:00:42.882 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.056) 0:00:42.938 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.036) 0:00:42.974 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:40 -0400 (0:00:00.036) 0:00:43.011 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:42 -0400 (0:00:01.469) 0:00:44.480 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.786) 0:00:45.267 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.035) 0:00:45.302 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.071) 0:00:45.374 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.030) 0:00:45.404 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.051) 0:00:45.456 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.061) 0:00:45.517 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.053) 0:00:45.571 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.058) 0:00:45.630 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.087) 0:00:45.717 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.031) 0:00:45.749 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.030) 0:00:45.780 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.062) 0:00:45.842 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.504) 0:00:46.347 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.058) 0:00:46.405 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.031) 0:00:46.437 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.029) 0:00:46.466 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.506) 0:00:46.972 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.030) 0:00:47.003 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.034) 0:00:47.037 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.035) 0:00:47.073 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.029) 0:00:47.102 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.366) 0:00:47.469 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.062) 0:00:47.532 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.049) 0:00:47.581 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689615.0233214, "block_size": 4096, "blocks": 0, "ctime": 1722689615.0233214, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49642, "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": 1722689615.0233214, "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.316) 0:00:47.898 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.034) 0:00:47.932 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.055) 0:00:47.988 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:53:45 -0400 (0:00:00.034) 0:00:48.022 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.314) 0:00:48.337 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.030) 0:00:48.367 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020607", "end": "2024-08-03 08:53:46.316076", "rc": 1, "start": "2024-08-03 08:53:46.295469" } 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.342) 0:00:48.710 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.032) 0:00:48.742 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.033) 0:00:48.775 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.032) 0:00:48.807 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.032) 0:00:48.840 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.072) 0:00:48.913 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.035) 0:00:48.949 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.050) 0:00:48.999 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.034) 0:00:49.034 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:53:46 -0400 (0:00:00.060) 0:00:49.094 ******* 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.065625", "end": "2024-08-03 08:53:47.086107", "rc": 1, "start": "2024-08-03 08:53:47.020482" } STDOUT: Connection 'statebr' (9d73d32b-7abe-4f7b-b3d9-5ab8d2627e1d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.384) 0:00:49.479 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.056) 0:00:49.535 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.033) 0:00:49.569 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.067) 0:00:49.637 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.050) 0:00:49.688 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.049) 0:00:49.738 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-08-03 08:53:47.664945", "rc": 0, "start": "2024-08-03 08:53:47.661794" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.320) 0:00:50.058 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.034) 0:00:50.093 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.033) 0:00:50.126 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.100) 0:00:50.227 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.069) 0:00:50.296 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.061) 0:00:50.358 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.057) 0:00:50.415 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.035) 0:00:50.451 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.036) 0:00:50.487 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:49 -0400 (0:00:01.470) 0:00:51.958 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.793) 0:00:52.751 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.034) 0:00:52.785 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.032) 0:00:52.818 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.030) 0:00:52.848 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.052) 0:00:52.901 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.101) 0:00:53.003 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.050) 0:00:53.054 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.062) 0:00:53.116 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.085) 0:00:53.201 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.031) 0:00:53.233 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.030) 0:00:53.263 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:50 -0400 (0:00:00.060) 0:00:53.324 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:51 -0400 (0:00:00.506) 0:00:53.831 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:51 -0400 (0:00:00.059) 0:00:53.891 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:51 -0400 (0:00:00.031) 0:00:53.922 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:51 -0400 (0:00:00.031) 0:00:53.954 ******* 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, 0d8b1664-1137-404a-96fc-d2191f246ba9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.515) 0:00:54.470 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.032) 0:00:54.502 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d8b1664-1137-404a-96fc-d2191f246ba9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.034) 0:00:54.537 ******* 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, 0d8b1664-1137-404a-96fc-d2191f246ba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d8b1664-1137-404a-96fc-d2191f246ba9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.037) 0:00:54.574 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.031) 0:00:54.606 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.330) 0:00:54.936 ******* 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, 0d8b1664-1137-404a-96fc-d2191f246ba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d8b1664-1137-404a-96fc-d2191f246ba9" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.035) 0:00:54.972 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.106) 0:00:55.078 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.061) 0:00:55.140 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.057) 0:00:55.198 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.035) 0:00:55.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 : Check which services are running] **** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.036) 0:00:55.270 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:54 -0400 (0:00:01.469) 0:00:56.740 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.782) 0:00:57.523 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.034) 0:00:57.558 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.031) 0:00:57.589 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.030) 0:00:57.620 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.053) 0:00:57.674 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.062) 0:00:57.736 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.050) 0:00:57.786 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.099) 0:00:57.886 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.085) 0:00:57.972 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.032) 0:00:58.004 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.030) 0:00:58.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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:55 -0400 (0:00:00.061) 0:00:58.096 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.506) 0:00:58.603 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.058) 0:00:58.661 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.032) 0:00:58.694 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.030) 0:00:58.725 ******* 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, 0d8b1664-1137-404a-96fc-d2191f246ba9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.477) 0:00:59.202 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.031) 0:00:59.234 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d8b1664-1137-404a-96fc-d2191f246ba9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.034) 0:00:59.269 ******* 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, 0d8b1664-1137-404a-96fc-d2191f246ba9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d8b1664-1137-404a-96fc-d2191f246ba9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:56 -0400 (0:00:00.035) 0:00:59.304 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.030) 0:00:59.335 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.330) 0:00:59.666 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.067) 0:00:59.734 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.103) 0:00:59.837 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.057) 0:00:59.895 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.035) 0:00:59.930 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.035) 0:00:59.966 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:59 -0400 (0:00:01.469) 0:01:01.436 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.787) 0:01:02.224 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.035) 0:01:02.260 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.030) 0:01:02.290 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.032) 0:01:02.322 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.049) 0:01:02.372 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.064) 0:01:02.437 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.050) 0:01:02.488 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.061) 0:01:02.550 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.086) 0:01:02.637 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.031) 0:01:02.668 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.077) 0:01:02.746 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.060) 0:01:02.807 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.511) 0:01:03.318 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.060) 0:01:03.379 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.031) 0:01:03.410 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.032) 0:01:03.443 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.509) 0:01:03.953 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.033) 0:01:03.986 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.037) 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": [ { "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.036) 0:01:04.060 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.032) 0:01:04.093 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.337) 0:01:04.430 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.058) 0:01:04.489 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.069) 0:01:04.558 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.110) 0:01:04.669 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.057) 0:01:04.727 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.038) 0:01:04.765 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.038) 0:01:04.804 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:54:03 -0400 (0:00:01.490) 0:01:06.294 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:54:04 -0400 (0:00:00.786) 0:01:07.080 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:54:04 -0400 (0:00:00.034) 0:01:07.115 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:54:04 -0400 (0:00:00.032) 0:01:07.147 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:54:04 -0400 (0:00:00.031) 0:01:07.178 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:54:04 -0400 (0:00:00.054) 0:01:07.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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:54:04 -0400 (0:00:00.060) 0:01:07.293 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.053) 0:01:07.347 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.059) 0:01:07.407 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.085) 0:01:07.492 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.032) 0:01:07.525 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.030) 0:01:07.556 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.157) 0:01:07.714 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.510) 0:01:08.224 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.059) 0:01:08.284 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:54:05 -0400 (0:00:00.032) 0:01:08.317 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:54:06 -0400 (0:00:00.031) 0:01:08.348 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:54:06 -0400 (0:00:00.561) 0:01:08.910 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:54:06 -0400 (0:00:00.032) 0:01:08.942 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:54:06 -0400 (0:00:00.034) 0:01:08.977 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:54:06 -0400 (0:00:00.036) 0:01:09.014 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:54:06 -0400 (0:00:00.030) 0:01:09.044 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.330) 0:01:09.375 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.058) 0:01:09.434 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.055) 0:01:09.489 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.034) 0:01:09.524 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.314) 0:01:09.838 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.072) 0:01:09.910 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018891", "end": "2024-08-03 08:54:07.852838", "rc": 1, "start": "2024-08-03 08:54:07.833947" } 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.334) 0:01:10.245 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.033) 0:01:10.278 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:54:07 -0400 (0:00:00.031) 0:01:10.310 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.032) 0:01:10.343 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.033) 0:01:10.376 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.031) 0:01:10.408 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.035) 0:01:10.444 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.077) 0:01:10.521 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.050) 0:01:10.572 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.313) 0:01:10.886 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.036) 0:01:10.923 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.034) 0:01:10.957 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:54:08 -0400 (0:00:00.059) 0:01:11.017 ******* 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.038041", "end": "2024-08-03 08:54:08.977227", "rc": 1, "start": "2024-08-03 08:54:08.939186" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.353) 0:01:11.370 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.095) 0:01:11.466 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.034) 0:01:11.501 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.065) 0:01:11.566 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.051) 0:01:11.618 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.049) 0:01:11.668 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003006", "end": "2024-08-03 08:54:09.593244", "rc": 0, "start": "2024-08-03 08:54:09.590238" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.318) 0:01:11.987 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.034) 0:01:12.021 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.034) 0:01:12.056 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.062) 0:01:12.118 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.070) 0:01:12.188 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.062) 0:01:12.250 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:54:09 -0400 (0:00:00.056) 0:01:12.307 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:54:10 -0400 (0:00:00.076) 0:01:12.384 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:54:10 -0400 (0:00:00.037) 0:01:12.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 : Check which packages are installed] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:54:11 -0400 (0:00:01.475) 0:01:13.896 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.785) 0:01:14.682 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.035) 0:01:14.718 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.032) 0:01:14.751 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.031) 0:01:14.782 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.055) 0:01:14.837 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.062) 0:01:14.900 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.051) 0:01:14.951 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.060) 0:01:15.011 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.086) 0:01:15.098 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.032) 0:01:15.131 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.031) 0:01:15.163 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:54:12 -0400 (0:00:00.064) 0:01:15.227 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:54:13 -0400 (0:00:00.608) 0:01:15.835 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:54:13 -0400 (0:00:00.060) 0:01:15.896 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:54:13 -0400 (0:00:00.032) 0:01:15.928 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:54:13 -0400 (0:00:00.031) 0:01:15.960 ******* 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, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.520) 0:01:16.480 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.032) 0:01:16.513 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.035) 0:01:16.549 ******* 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, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.037) 0:01:16.586 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.031) 0:01:16.618 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.333) 0:01:16.951 ******* 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, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.036) 0:01:16.987 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.068) 0:01:17.056 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.062) 0:01:17.118 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.057) 0:01:17.176 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.036) 0:01:17.213 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:54:14 -0400 (0:00:00.079) 0:01:17.292 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:54:16 -0400 (0:00:01.473) 0:01:18.766 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.787) 0:01:19.553 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.035) 0:01:19.589 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.032) 0:01:19.622 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.031) 0:01:19.654 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.056) 0:01:19.711 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.062) 0:01:19.773 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.056) 0:01:19.830 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.061) 0:01:19.891 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.086) 0:01:19.978 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.033) 0:01:20.011 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.031) 0:01:20.043 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:54:17 -0400 (0:00:00.063) 0:01:20.107 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:54:18 -0400 (0:00:00.511) 0:01:20.618 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:54:18 -0400 (0:00:00.059) 0:01:20.678 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:54:18 -0400 (0:00:00.082) 0:01:20.761 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:54:18 -0400 (0:00:00.032) 0:01:20.793 ******* 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, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:54:18 -0400 (0:00:00.478) 0:01:21.271 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:54:18 -0400 (0:00:00.031) 0:01:21.303 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.036) 0:01:21.340 ******* 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, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f41e3dd2-857b-4bb7-8ef8-e4e7c899129c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.037) 0:01:21.378 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.031) 0:01:21.410 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.331) 0:01:21.741 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.070) 0:01:21.812 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.063) 0:01:21.875 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.061) 0:01:21.936 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.037) 0:01:21.973 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:54:19 -0400 (0:00:00.037) 0:01:22.011 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:54:21 -0400 (0:00:01.495) 0:01:23.507 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.889) 0:01:24.396 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.035) 0:01:24.431 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.032) 0:01:24.464 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.031) 0:01:24.496 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.055) 0:01:24.552 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.063) 0:01:24.616 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.053) 0:01:24.669 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.064) 0:01:24.733 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.088) 0:01:24.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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.034) 0:01:24.856 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.033) 0:01:24.889 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:54:22 -0400 (0:00:00.060) 0:01:24.950 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.509) 0:01:25.460 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.060) 0:01:25.520 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.032) 0:01:25.553 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.032) 0:01:25.585 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.597) 0:01:26.182 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.077) 0:01:26.260 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:54:23 -0400 (0:00:00.036) 0:01:26.296 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.038) 0:01:26.334 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.031) 0:01:26.366 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.341) 0:01:26.707 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.057) 0:01:26.764 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.068) 0:01:26.833 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.064) 0:01:26.897 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.057) 0:01:26.954 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.037) 0:01:26.991 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:54:24 -0400 (0:00:00.035) 0:01:27.027 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:54:26 -0400 (0:00:01.475) 0:01:28.503 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.880) 0:01:29.384 ******* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.036) 0:01:29.420 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.031) 0:01:29.452 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.032) 0:01:29.485 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.052) 0:01:29.538 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.062) 0:01:29.601 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.053) 0:01:29.654 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.059) 0:01:29.714 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.088) 0:01:29.803 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.031) 0:01:29.834 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.033) 0:01:29.867 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:54:27 -0400 (0:00:00.059) 0:01:29.927 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.505) 0:01:30.432 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.063) 0:01:30.496 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.030) 0:01:30.527 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.031) 0:01:30.559 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.553) 0:01:31.113 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.031) 0:01:31.144 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.083) 0:01:31.227 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.037) 0:01:31.265 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:54:28 -0400 (0:00:00.033) 0:01:31.298 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:54:29 -0400 (0:00:00.332) 0:01:31.631 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 03 August 2024 08:54:29 -0400 (0:00:00.067) 0:01:31.698 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:54:29 -0400 (0:00:00.056) 0:01:31.755 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:54:29 -0400 (0:00:00.034) 0:01:31.789 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:54:29 -0400 (0:00:00.318) 0:01:32.108 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:54:29 -0400 (0:00:00.033) 0:01:32.141 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018743", "end": "2024-08-03 08:54:30.083179", "rc": 1, "start": "2024-08-03 08:54:30.064436" } 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.334) 0:01:32.475 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.033) 0:01:32.509 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.032) 0:01:32.542 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.033) 0:01:32.576 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.032) 0:01:32.608 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.033) 0:01:32.641 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 03 August 2024 08:54:30 -0400 (0:00:00.086) 0:01:32.728 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.287521", "end": "2024-08-03 08:54:30.941397", "rc": 0, "start": "2024-08-03 08:54:30.653876" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.609) 0:01:33.338 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.037) 0:01:33.375 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.036) 0:01:33.411 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.087) 0:01:33.499 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.053) 0:01:33.552 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.325) 0:01:33.878 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.036) 0:01:33.915 ******* 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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.037) 0:01:33.952 ******* included: /tmp/tmp.GFqU0xgDk0/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.GFqU0xgDk0/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.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:54:31 -0400 (0:00:00.067) 0:01:34.019 ******* 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.036440", "end": "2024-08-03 08:54:31.983703", "rc": 1, "start": "2024-08-03 08:54:31.947263" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 03 August 2024 08:54:32 -0400 (0:00:00.358) 0:01:34.378 ******* 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.008070", "end": "2024-08-03 08:54:32.308206", "rc": 0, "start": "2024-08-03 08:54:32.300136" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:5e:fa:2c:5c:b9 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.43.253/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2461sec preferred_lft 2461sec inet6 fe80::c5e:faff:fe2c:5cb9/64 scope link valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:72:df:c1:ae:46 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.253 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.253 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 03 August 2024 08:54:32 -0400 (0:00:00.322) 0:01:34.700 ******* 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.321137", "end": "2024-08-03 08:54:32.952083", "rc": 0, "start": "2024-08-03 08:54:32.630946" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1380 0 --:--:-- --:--:-- --:--:-- 1380 % 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 3986 0 --:--:-- --:--:-- --:--:-- 4041 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 03 August 2024 08:54:33 -0400 (0:00:00.698) 0:01:35.399 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmp.GFqU0xgDk0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26