[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.16.9] 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/collections-RJ0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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_initscripts.yml ***************************************** 2 plays in /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 10 August 2024 09:14:05 -0400 (0:00:00.007) 0:00:00.007 ******* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 10 August 2024 09:14:06 -0400 (0:00:01.120) 0:00:01.128 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 10 August 2024 09:14:06 -0400 (0:00:00.017) 0:00:01.146 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 10 August 2024 09:14:06 -0400 (0:00:00.557) 0:00:01.704 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.442) 0:00:02.146 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.020) 0:00:02.167 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.012) 0:00:02.180 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.040) 0:00:02.220 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.445) 0:00:02.666 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.013) 0:00:02.679 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 10 August 2024 09:14:07 -0400 (0:00:00.013) 0:00:02.692 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.256596", "end": "2024-08-10 09:14:08.281188", "rc": 0, "start": "2024-08-10 09:14:08.024592" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 10 August 2024 09:14:08 -0400 (0:00:00.615) 0:00:03.307 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 10 August 2024 09:14:08 -0400 (0:00:00.013) 0:00:03.321 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 10 August 2024 09:14:08 -0400 (0:00:00.024) 0:00:03.345 ******* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.826) 0:00:04.172 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.033) 0:00:04.206 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.040) 0:00:04.247 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.036) 0:00:04.283 ******* 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": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.073) 0:00:04.357 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.041) 0:00:04.398 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.035) 0:00:04.434 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003284", "end": "2024-08-10 09:14:09.790587", "rc": 0, "start": "2024-08-10 09:14:09.787303" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.382) 0:00:04.817 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.034) 0:00:04.851 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.034) 0:00:04.886 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 10 August 2024 09:14:09 -0400 (0:00:00.046) 0:00:04.932 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007739", "end": "2024-08-10 09:14:10.292430", "rc": 1, "start": "2024-08-10 09:14:10.284691" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.385) 0:00:05.318 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.038) 0:00:05.357 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.383) 0:00:05.740 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.039) 0:00:05.779 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.047) 0:00:05.827 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.063) 0:00:05.890 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:14:10 -0400 (0:00:00.051) 0:00:05.941 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:14:11 -0400 (0:00:00.037) 0:00:05.979 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:14:11 -0400 (0:00:00.038) 0:00:06.017 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:14:11 -0400 (0:00:00.038) 0:00:06.056 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:14:12 -0400 (0:00:01.891) 0:00:07.947 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:14:14 -0400 (0:00:01.800) 0:00:09.748 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:14:14 -0400 (0:00:00.051) 0:00:09.800 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:14:14 -0400 (0:00:00.047) 0:00:09.847 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:14:14 -0400 (0:00:00.048) 0:00:09.896 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:14:14 -0400 (0:00:00.048) 0:00:09.945 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.057) 0:00:10.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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.049) 0:00:10.052 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.058) 0:00:10.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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.142) 0:00:10.253 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.049) 0:00:10.302 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.049) 0:00:10.352 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.059) 0:00:10.411 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.049) 0:00:10.461 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:14:15 -0400 (0:00:00.048) 0:00:10.509 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:14:16 -0400 (0:00:00.780) 0:00:11.290 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmphnbvg_ww" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:14:16 -0400 (0:00:00.410) 0:00:11.700 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:14:17 -0400 (0:00:00.671) 0:00:12.372 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:14:17 -0400 (0:00:00.049) 0:00:12.422 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:14:17 -0400 (0:00:00.056) 0:00:12.478 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:14:17 -0400 (0:00:00.054) 0:00:12.532 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:14:17 -0400 (0:00:00.049) 0:00:12.582 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.504) 0:00:13.087 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.053) 0:00:13.141 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.119) 0:00:13.260 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.076) 0:00:13.336 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.052) 0:00:13.389 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295657.3280644, "block_size": 4096, "blocks": 8, "ctime": 1723295657.3280644, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723295657.3280644, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.399) 0:00:13.788 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:14:18 -0400 (0:00:00.055) 0:00:13.844 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022158", "end": "2024-08-10 09:14:19.233598", "rc": 1, "start": "2024-08-10 09:14:19.211440" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:14:19 -0400 (0:00:00.431) 0:00:14.276 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:14:19 -0400 (0:00:00.049) 0:00:14.325 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004311", "end": "2024-08-10 09:14:20.695277", "rc": 0, "start": "2024-08-10 09:14:19.690966" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:14:20 -0400 (0:00:01.413) 0:00:15.739 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:14:20 -0400 (0:00:00.054) 0:00:15.794 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003114", "end": "2024-08-10 09:14:21.147565", "rc": 0, "start": "2024-08-10 09:14:21.144451" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.395) 0:00:16.189 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.057) 0:00:16.247 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.054) 0:00:16.302 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.052) 0:00:16.354 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.054) 0:00:16.409 ******* skipping: [managed_node1] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.084) 0:00:16.494 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.050) 0:00:16.544 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:14:21 -0400 (0:00:00.078) 0:00:16.622 ******* 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.043679", "end": "2024-08-10 09:14:22.018063", "rc": 1, "start": "2024-08-10 09:14:21.974384" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.436) 0:00:17.059 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.076) 0:00:17.135 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.051) 0:00:17.186 ******* 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. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.092) 0:00:17.278 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.069) 0:00:17.348 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.069) 0:00:17.417 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003254", "end": "2024-08-10 09:14:22.770439", "rc": 0, "start": "2024-08-10 09:14:22.767185" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.392) 0:00:17.810 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.056) 0:00:17.866 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:14:22 -0400 (0:00:00.052) 0:00:17.919 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 10 August 2024 09:14:23 -0400 (0:00:00.111) 0:00:18.031 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006026", "end": "2024-08-10 09:14:23.388937", "rc": 1, "start": "2024-08-10 09:14:23.382911" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:14:23 -0400 (0:00:00.400) 0:00:18.431 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:14:23 -0400 (0:00:00.070) 0:00:18.502 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:14:23 -0400 (0:00:00.396) 0:00:18.898 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:14:23 -0400 (0:00:00.052) 0:00:18.951 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 10 August 2024 09:14:24 -0400 (0:00:00.079) 0:00:19.030 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:14:24 -0400 (0:00:00.086) 0:00:19.117 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:14:24 -0400 (0:00:00.081) 0:00:19.199 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:14:24 -0400 (0:00:00.057) 0:00:19.256 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:14:24 -0400 (0:00:00.056) 0:00:19.312 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:14:24 -0400 (0:00:00.053) 0:00:19.365 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:14:26 -0400 (0:00:01.854) 0:00:21.220 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:14:27 -0400 (0:00:01.572) 0:00:22.792 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:14:27 -0400 (0:00:00.052) 0:00:22.845 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:14:27 -0400 (0:00:00.048) 0:00:22.894 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:14:27 -0400 (0:00:00.051) 0:00:22.945 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.049) 0:00:22.994 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.058) 0:00:23.053 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.052) 0:00:23.105 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.058) 0:00:23.164 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.084) 0:00:23.249 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.053) 0:00:23.302 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.050) 0:00:23.352 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.057) 0:00:23.410 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.052) 0:00:23.463 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:14:28 -0400 (0:00:00.049) 0:00:23.512 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:14:29 -0400 (0:00:00.664) 0:00:24.177 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpol5mwmf9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:14:29 -0400 (0:00:00.408) 0:00:24.585 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.501) 0:00:25.086 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.049) 0:00:25.136 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.057) 0:00:25.194 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.054) 0:00:25.249 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.049) 0:00:25.299 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.413) 0:00:25.712 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.051) 0:00:25.763 ******* included: /tmp/collections-RJ0/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/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.082) 0:00:25.846 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:14:30 -0400 (0:00:00.066) 0:00:25.912 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:14:31 -0400 (0:00:00.397) 0:00:26.309 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 August 2024 09:14:31 -0400 (0:00:00.050) 0:00:26.359 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:14:31 -0400 (0:00:00.106) 0:00:26.465 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:14:31 -0400 (0:00:00.049) 0:00:26.515 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295670.0429165, "block_size": 4096, "blocks": 8, "ctime": 1723295670.0429165, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723295670.0429165, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:14:31 -0400 (0:00:00.395) 0:00:26.911 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:14:31 -0400 (0:00:00.052) 0:00:26.963 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021757", "end": "2024-08-10 09:14:32.337362", "rc": 1, "start": "2024-08-10 09:14:32.315605" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:14:32 -0400 (0:00:00.414) 0:00:27.378 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:14:32 -0400 (0:00:00.052) 0:00:27.430 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003168", "end": "2024-08-10 09:14:32.786608", "rc": 0, "start": "2024-08-10 09:14:32.783440" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:14:32 -0400 (0:00:00.399) 0:00:27.830 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:14:32 -0400 (0:00:00.055) 0:00:27.885 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003131", "end": "2024-08-10 09:14:33.246768", "rc": 0, "start": "2024-08-10 09:14:33.243637" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.405) 0:00:28.291 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.056) 0:00:28.348 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.053) 0:00:28.401 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.057) 0:00:28.459 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.053) 0:00:28.512 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.046) 0:00:28.559 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.055) 0:00:28.615 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:14:33 -0400 (0:00:00.113) 0:00:28.728 ******* 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.040804", "end": "2024-08-10 09:14:34.126069", "rc": 1, "start": "2024-08-10 09:14:34.085265" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.439) 0:00:29.168 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.072) 0:00:29.241 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.054) 0:00:29.295 ******* 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. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.091) 0:00:29.386 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.069) 0:00:29.456 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.068) 0:00:29.525 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2024-08-10 09:14:34.884719", "rc": 0, "start": "2024-08-10 09:14:34.881463" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:14:34 -0400 (0:00:00.400) 0:00:29.926 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.052) 0:00:29.979 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.051) 0:00:30.030 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.075) 0:00:30.106 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.121) 0:00:30.227 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.080) 0:00:30.308 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.056) 0:00:30.364 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.055) 0:00:30.420 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:14:35 -0400 (0:00:00.053) 0:00:30.473 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:14:37 -0400 (0:00:01.778) 0:00:32.251 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:14:38 -0400 (0:00:01.578) 0:00:33.830 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:14:38 -0400 (0:00:00.051) 0:00:33.881 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:14:38 -0400 (0:00:00.050) 0:00:33.932 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.049) 0:00:33.982 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.047) 0:00:34.030 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.060) 0:00:34.090 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.081) 0:00:34.172 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.058) 0:00:34.230 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.086) 0:00:34.316 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.048) 0:00:34.365 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.049) 0:00:34.414 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.061) 0:00:34.476 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.050) 0:00:34.527 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:14:39 -0400 (0:00:00.049) 0:00:34.576 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:14:40 -0400 (0:00:00.584) 0:00:35.161 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpq0drlv4i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:14:40 -0400 (0:00:00.402) 0:00:35.563 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.495) 0:00:36.059 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.052) 0:00:36.112 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.053) 0:00:36.165 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.053) 0:00:36.219 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.052) 0:00:36.271 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.410) 0:00:36.682 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.138) 0:00:36.820 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:14:41 -0400 (0:00:00.074) 0:00:36.895 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:14:42 -0400 (0:00:00.088) 0:00:36.983 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:14:42 -0400 (0:00:00.080) 0:00:37.063 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:14:42 -0400 (0:00:00.058) 0:00:37.122 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:14:42 -0400 (0:00:00.053) 0:00:37.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 : Check which services are running] **** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:14:42 -0400 (0:00:00.052) 0:00:37.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 : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:14:44 -0400 (0:00:01.836) 0:00:39.064 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:14:45 -0400 (0:00:01.578) 0:00:40.643 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:14:45 -0400 (0:00:00.051) 0:00:40.694 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:14:45 -0400 (0:00:00.084) 0:00:40.779 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:14:45 -0400 (0:00:00.049) 0:00:40.828 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:14:45 -0400 (0:00:00.048) 0:00:40.877 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:14:45 -0400 (0:00:00.062) 0:00:40.939 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.050) 0:00:40.990 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.057) 0:00:41.047 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.088) 0:00:41.135 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.051) 0:00:41.187 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.050) 0:00:41.237 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.061) 0:00:41.298 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.050) 0:00:41.348 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:14:46 -0400 (0:00:00.048) 0:00:41.397 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:14:47 -0400 (0:00:00.590) 0:00:41.987 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmp2zvsi7tr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:14:47 -0400 (0:00:00.409) 0:00:42.397 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.808) 0:00:43.205 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.052) 0:00:43.258 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.092) 0:00:43.351 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.053) 0:00:43.404 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.053) 0:00:43.458 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.408) 0:00:43.867 ******* included: /tmp/collections-RJ0/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/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:14:48 -0400 (0:00:00.084) 0:00:43.951 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:14:49 -0400 (0:00:00.068) 0:00:44.020 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295688.0714462, "block_size": 4096, "blocks": 0, "ctime": 1723295688.0714462, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62428, "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": 1723295688.0714462, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:14:49 -0400 (0:00:00.395) 0:00:44.416 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 August 2024 09:14:49 -0400 (0:00:00.052) 0:00:44.468 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:14:49 -0400 (0:00:00.077) 0:00:44.545 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:14:49 -0400 (0:00:00.050) 0:00:44.596 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295687.892709, "block_size": 4096, "blocks": 8, "ctime": 1723295681.018789, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723295681.018789, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:14:50 -0400 (0:00:00.399) 0:00:44.995 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:14:50 -0400 (0:00:00.053) 0:00:45.049 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022187", "end": "2024-08-10 09:14:50.428249", "rc": 1, "start": "2024-08-10 09:14:50.406062" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:14:50 -0400 (0:00:00.421) 0:00:45.470 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:14:50 -0400 (0:00:00.125) 0:00:45.595 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003209", "end": "2024-08-10 09:14:50.953528", "rc": 0, "start": "2024-08-10 09:14:50.950319" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.402) 0:00:45.998 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.057) 0:00:46.056 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003124", "end": "2024-08-10 09:14:51.422466", "rc": 0, "start": "2024-08-10 09:14:51.419342" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.410) 0:00:46.466 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.058) 0:00:46.524 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.055) 0:00:46.580 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.059) 0:00:46.639 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.055) 0:00:46.694 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.047) 0:00:46.742 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.056) 0:00:46.799 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:14:51 -0400 (0:00:00.077) 0:00:46.876 ******* ok: [managed_node1] => { "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.051661", "end": "2024-08-10 09:14:52.285646", "rc": 0, "start": "2024-08-10 09:14:52.233985" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 10 August 2024 09:14:52 -0400 (0:00:00.454) 0:00:47.330 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:14:52 -0400 (0:00:00.075) 0:00:47.405 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:14:52 -0400 (0:00:00.055) 0:00:47.460 ******* 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. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:14:52 -0400 (0:00:00.138) 0:00:47.598 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:14:52 -0400 (0:00:00.071) 0:00:47.670 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:14:52 -0400 (0:00:00.070) 0:00:47.741 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003386", "end": "2024-08-10 09:14:53.102737", "rc": 0, "start": "2024-08-10 09:14:53.099351" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.404) 0:00:48.146 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.054) 0:00:48.201 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.053) 0:00:48.255 ******* included: /tmp/collections-RJ0/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/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.083) 0:00:48.339 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.087) 0:00:48.427 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.082) 0:00:48.510 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.057) 0:00:48.568 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.058) 0:00:48.626 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:14:53 -0400 (0:00:00.095) 0:00:48.721 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:14:55 -0400 (0:00:01.838) 0:00:50.559 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:14:57 -0400 (0:00:01.589) 0:00:52.149 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.053) 0:00:52.202 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.052) 0:00:52.255 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.050) 0:00:52.306 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.048) 0:00:52.354 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.062) 0:00:52.417 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.051) 0:00:52.468 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.058) 0:00:52.527 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.087) 0:00:52.614 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.049) 0:00:52.663 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.048) 0:00:52.712 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.060) 0:00:52.772 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.086) 0:00:52.859 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:14:57 -0400 (0:00:00.049) 0:00:52.909 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:14:58 -0400 (0:00:00.593) 0:00:53.503 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpse9a_xx1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:14:58 -0400 (0:00:00.410) 0:00:53.913 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:14:59 -0400 (0:00:00.502) 0:00:54.415 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:14:59 -0400 (0:00:00.054) 0:00:54.470 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:14:59 -0400 (0:00:00.055) 0:00:54.526 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:14:59 -0400 (0:00:00.055) 0:00:54.581 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:14:59 -0400 (0:00:00.054) 0:00:54.636 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.412) 0:00:55.049 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.057) 0:00:55.106 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.088) 0:00:55.195 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.081) 0:00:55.276 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.106) 0:00:55.383 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.054) 0:00:55.437 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:00 -0400 (0:00:00.058) 0:00:55.496 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:02 -0400 (0:00:01.882) 0:00:57.379 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:03 -0400 (0:00:01.594) 0:00:58.973 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.054) 0:00:59.028 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.052) 0:00:59.080 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.050) 0:00:59.131 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.054) 0:00:59.185 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.062) 0:00:59.248 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.051) 0:00:59.299 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.064) 0:00:59.364 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.090) 0:00:59.454 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.051) 0:00:59.505 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.102) 0:00:59.608 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.061) 0:00:59.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.052) 0:00:59.722 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:04 -0400 (0:00:00.056) 0:00:59.778 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:05 -0400 (0:00:00.597) 0:01:00.376 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpffpcb6p9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:05 -0400 (0:00:00.413) 0:01:00.789 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:06 -0400 (0:00:00.766) 0:01:01.556 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:06 -0400 (0:00:00.052) 0:01:01.608 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:06 -0400 (0:00:00.054) 0:01:01.663 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:06 -0400 (0:00:00.058) 0:01:01.721 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:06 -0400 (0:00:00.051) 0:01:01.773 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.412) 0:01:02.185 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.075) 0:01:02.261 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.124) 0:01:02.385 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.081) 0:01:02.466 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.058) 0:01:02.524 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.053) 0:01:02.578 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:07 -0400 (0:00:00.053) 0:01:02.631 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:09 -0400 (0:00:01.848) 0:01:04.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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:11 -0400 (0:00:01.591) 0:01:06.071 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.056) 0:01:06.128 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.052) 0:01:06.181 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.051) 0:01:06.233 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.055) 0:01:06.288 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.062) 0:01:06.351 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.051) 0:01:06.402 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.166) 0:01:06.569 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.088) 0:01:06.657 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.052) 0:01:06.709 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.055) 0:01:06.765 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.061) 0:01:06.826 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.051) 0:01:06.878 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:11 -0400 (0:00:00.055) 0:01:06.933 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:12 -0400 (0:00:00.595) 0:01:07.528 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmppsjapigz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:12 -0400 (0:00:00.404) 0:01:07.933 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:13 -0400 (0:00:00.507) 0:01:08.441 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:13 -0400 (0:00:00.050) 0:01:08.491 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:13 -0400 (0:00:00.052) 0:01:08.543 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:13 -0400 (0:00:00.056) 0:01:08.600 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:13 -0400 (0:00:00.050) 0:01:08.650 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.413) 0:01:09.064 ******* included: /tmp/collections-RJ0/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/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.117) 0:01:09.181 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.069) 0:01:09.251 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295706.4272845, "block_size": 4096, "blocks": 0, "ctime": 1723295706.4272845, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62559, "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": 1723295706.4272845, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.391) 0:01:09.642 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.057) 0:01:09.700 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.074) 0:01:09.775 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:15:14 -0400 (0:00:00.051) 0:01:09.826 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.396) 0:01:10.222 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.051) 0:01:10.274 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021742", "end": "2024-08-10 09:15:15.649493", "rc": 1, "start": "2024-08-10 09:15:15.627751" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.416) 0:01:10.691 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.054) 0:01:10.745 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.051) 0:01:10.796 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.049) 0:01:10.846 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.052) 0:01:10.898 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 August 2024 09:15:15 -0400 (0:00:00.050) 0:01:10.949 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.138) 0:01:11.087 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.049) 0:01:11.136 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.053) 0:01:11.190 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.081) 0:01:11.272 ******* ok: [managed_node1] => { "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.051028", "end": "2024-08-10 09:15:16.679419", "rc": 0, "start": "2024-08-10 09:15:16.628391" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.451) 0:01:11.723 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.079) 0:01:11.802 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.054) 0:01:11.856 ******* 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:15:16 -0400 (0:00:00.092) 0:01:11.949 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.075) 0:01:12.025 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.069) 0:01:12.095 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003374", "end": "2024-08-10 09:15:17.452864", "rc": 0, "start": "2024-08-10 09:15:17.449490" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.400) 0:01:12.495 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.052) 0:01:12.548 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.094) 0:01:12.643 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.084) 0:01:12.727 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.089) 0:01:12.817 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.081) 0:01:12.898 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:17 -0400 (0:00:00.058) 0:01:12.957 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:18 -0400 (0:00:00.053) 0:01:13.011 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:18 -0400 (0:00:00.053) 0:01:13.064 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:19 -0400 (0:00:01.788) 0:01:14.853 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:21 -0400 (0:00:01.568) 0:01:16.421 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.053) 0:01:16.475 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.089) 0:01:16.564 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.050) 0:01:16.615 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.054) 0:01:16.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.061) 0:01:16.731 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.051) 0:01:16.782 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.063) 0:01:16.846 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:21 -0400 (0:00:00.088) 0:01:16.935 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:22 -0400 (0:00:00.050) 0:01:16.985 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:22 -0400 (0:00:00.054) 0:01:17.039 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:22 -0400 (0:00:00.061) 0:01:17.101 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:22 -0400 (0:00:00.050) 0:01:17.152 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:22 -0400 (0:00:00.054) 0:01:17.206 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:22 -0400 (0:00:00.583) 0:01:17.789 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpzscpkuun" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:23 -0400 (0:00:00.406) 0:01:18.195 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:23 -0400 (0:00:00.546) 0:01:18.742 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:23 -0400 (0:00:00.052) 0:01:18.794 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:23 -0400 (0:00:00.053) 0:01:18.848 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.154) 0:01:19.002 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.053) 0:01:19.056 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.408) 0:01:19.464 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.057) 0:01:19.521 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.087) 0:01:19.609 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.085) 0:01:19.694 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.059) 0:01:19.754 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.058) 0:01:19.812 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:24 -0400 (0:00:00.055) 0:01:19.868 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:26 -0400 (0:00:01.780) 0:01:21.648 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:28 -0400 (0:00:01.668) 0:01:23.317 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.054) 0:01:23.372 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.051) 0:01:23.423 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.054) 0:01:23.477 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.051) 0:01:23.529 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.060) 0:01:23.590 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.054) 0:01:23.644 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.059) 0:01:23.704 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.084) 0:01:23.788 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.053) 0:01:23.842 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.050) 0:01:23.892 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:28 -0400 (0:00:00.058) 0:01:23.951 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:29 -0400 (0:00:00.054) 0:01:24.005 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:29 -0400 (0:00:00.051) 0:01:24.056 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:29 -0400 (0:00:00.584) 0:01:24.641 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpgphs1ut4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:30 -0400 (0:00:00.410) 0:01:25.051 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:30 -0400 (0:00:00.809) 0:01:25.860 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.149) 0:01:26.010 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.055) 0:01:26.066 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.054) 0:01:26.121 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.054) 0:01:26.175 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.408) 0:01:26.584 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.090) 0:01:26.674 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.082) 0:01:26.756 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.059) 0:01:26.816 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.053) 0:01:26.869 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:31 -0400 (0:00:00.053) 0:01:26.923 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:33 -0400 (0:00:01.791) 0:01:28.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 : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:35 -0400 (0:00:01.674) 0:01:30.389 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.053) 0:01:30.443 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.054) 0:01:30.498 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.051) 0:01:30.550 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.051) 0:01:30.601 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.065) 0:01:30.666 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.052) 0:01:30.719 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.059) 0:01:30.778 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.088) 0:01:30.866 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.051) 0:01:30.918 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:35 -0400 (0:00:00.050) 0:01:30.969 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:36 -0400 (0:00:00.064) 0:01:31.034 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:36 -0400 (0:00:00.051) 0:01:31.085 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:36 -0400 (0:00:00.050) 0:01:31.135 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:36 -0400 (0:00:00.593) 0:01:31.729 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmp2v2j0jdl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:37 -0400 (0:00:00.448) 0:01:32.177 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:37 -0400 (0:00:00.500) 0:01:32.678 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:37 -0400 (0:00:00.055) 0:01:32.733 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:37 -0400 (0:00:00.054) 0:01:32.787 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:37 -0400 (0:00:00.053) 0:01:32.841 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:37 -0400 (0:00:00.053) 0:01:32.895 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.405) 0:01:33.301 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.079) 0:01:33.381 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.086) 0:01:33.467 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.081) 0:01:33.548 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.057) 0:01:33.606 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.057) 0:01:33.663 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:38 -0400 (0:00:00.053) 0:01:33.717 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:40 -0400 (0:00:01.856) 0:01:35.574 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:42 -0400 (0:00:01.573) 0:01:37.147 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.054) 0:01:37.201 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.055) 0:01:37.256 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.052) 0:01:37.309 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.050) 0:01:37.360 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.063) 0:01:37.423 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.051) 0:01:37.475 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.059) 0:01:37.534 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.086) 0:01:37.621 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.051) 0:01:37.673 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.050) 0:01:37.723 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.061) 0:01:37.784 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.090) 0:01:37.875 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:42 -0400 (0:00:00.050) 0:01:37.926 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:43 -0400 (0:00:00.588) 0:01:38.515 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpyka96_tg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:43 -0400 (0:00:00.404) 0:01:38.920 ******* 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:44 -0400 (0:00:00.494) 0:01:39.415 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:44 -0400 (0:00:00.054) 0:01:39.469 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:44 -0400 (0:00:00.054) 0:01:39.524 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:44 -0400 (0:00:00.054) 0:01:39.578 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:44 -0400 (0:00:00.053) 0:01:39.632 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:15:45 -0400 (0:00:00.408) 0:01:40.041 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 August 2024 09:15:45 -0400 (0:00:00.080) 0:01:40.121 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:15:45 -0400 (0:00:00.074) 0:01:40.195 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:15:45 -0400 (0:00:00.052) 0:01:40.248 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:15:45 -0400 (0:00:00.389) 0:01:40.638 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:15:45 -0400 (0:00:00.135) 0:01:40.774 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021726", "end": "2024-08-10 09:15:46.150333", "rc": 1, "start": "2024-08-10 09:15:46.128607" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.419) 0:01:41.194 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.053) 0:01:41.247 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.057) 0:01:41.304 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.054) 0:01:41.359 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.052) 0:01:41.411 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.056) 0:01:41.468 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.056) 0:01:41.524 ******* skipping: [managed_node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.055) 0:01:41.580 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.057) 0:01:41.637 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:15:46 -0400 (0:00:00.079) 0:01:41.716 ******* ok: [managed_node1] => { "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.050861", "end": "2024-08-10 09:15:47.123565", "rc": 0, "start": "2024-08-10 09:15:47.072704" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 10 August 2024 09:15:47 -0400 (0:00:00.451) 0:01:42.168 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 10 August 2024 09:15:47 -0400 (0:00:00.076) 0:01:42.244 ******* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 10 August 2024 09:15:47 -0400 (0:00:00.054) 0:01:42.299 ******* 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 10 August 2024 09:15:47 -0400 (0:00:00.143) 0:01:42.443 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 10 August 2024 09:15:47 -0400 (0:00:00.072) 0:01:42.516 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 August 2024 09:15:47 -0400 (0:00:00.071) 0:01:42.587 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003366", "end": "2024-08-10 09:15:47.946420", "rc": 0, "start": "2024-08-10 09:15:47.943054" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.401) 0:01:42.989 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.054) 0:01:43.044 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.053) 0:01:43.098 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.089) 0:01:43.187 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.089) 0:01:43.277 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.085) 0:01:43.362 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.058) 0:01:43.420 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.056) 0:01:43.477 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:48 -0400 (0:00:00.098) 0:01:43.575 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:50 -0400 (0:00:01.761) 0:01:45.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 : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:51 -0400 (0:00:01.579) 0:01:46.916 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:51 -0400 (0:00:00.055) 0:01:46.972 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.052) 0:01:47.024 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.056) 0:01:47.080 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.053) 0:01:47.134 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.064) 0:01:47.198 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.057) 0:01:47.255 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.062) 0:01:47.318 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.087) 0:01:47.406 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.055) 0:01:47.462 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.052) 0:01:47.515 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.060) 0:01:47.575 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.111) 0:01:47.687 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:52 -0400 (0:00:00.054) 0:01:47.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:15:53 -0400 (0:00:00.592) 0:01:48.334 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmp97yya0do" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:15:53 -0400 (0:00:00.412) 0:01:48.747 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.503) 0:01:49.250 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.051) 0:01:49.302 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.059) 0:01:49.361 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.057) 0:01:49.419 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.051) 0:01:49.471 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.415) 0:01:49.886 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 10 August 2024 09:15:54 -0400 (0:00:00.054) 0:01:49.940 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:15:55 -0400 (0:00:00.088) 0:01:50.029 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:15:55 -0400 (0:00:00.079) 0:01:50.108 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:15:55 -0400 (0:00:00.153) 0:01:50.261 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:15:55 -0400 (0:00:00.055) 0:01:50.316 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:15:55 -0400 (0:00:00.059) 0:01:50.375 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:15:57 -0400 (0:00:01.780) 0:01:52.156 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:15:58 -0400 (0:00:01.578) 0:01:53.735 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:15:58 -0400 (0:00:00.056) 0:01:53.792 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:15:58 -0400 (0:00:00.052) 0:01:53.845 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:15:58 -0400 (0:00:00.051) 0:01:53.896 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:15:58 -0400 (0:00:00.055) 0:01:53.952 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.062) 0:01:54.014 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.050) 0:01:54.065 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.064) 0:01:54.129 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.087) 0:01:54.217 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.050) 0:01:54.268 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.160) 0:01:54.428 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.062) 0:01:54.490 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.052) 0:01:54.543 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:15:59 -0400 (0:00:00.056) 0:01:54.599 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:16:00 -0400 (0:00:00.592) 0:01:55.191 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmp4asyr5u0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:16:00 -0400 (0:00:00.404) 0:01:55.596 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:16:01 -0400 (0:00:00.766) 0:01:56.362 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:16:01 -0400 (0:00:00.051) 0:01:56.414 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:16:01 -0400 (0:00:00.054) 0:01:56.468 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:16:01 -0400 (0:00:00.058) 0:01:56.527 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:16:01 -0400 (0:00:00.052) 0:01:56.580 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:16:02 -0400 (0:00:00.411) 0:01:56.991 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:16:02 -0400 (0:00:00.089) 0:01:57.081 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:16:02 -0400 (0:00:00.124) 0:01:57.205 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:16:02 -0400 (0:00:00.060) 0:01:57.266 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:16:02 -0400 (0:00:00.054) 0:01:57.320 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:16:02 -0400 (0:00:00.057) 0:01:57.378 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:16:04 -0400 (0:00:01.843) 0:01:59.222 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:16:05 -0400 (0:00:01.578) 0:02:00.801 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:16:05 -0400 (0:00:00.056) 0:02:00.857 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:16:05 -0400 (0:00:00.052) 0:02:00.909 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:16:05 -0400 (0:00:00.050) 0:02:00.960 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.055) 0:02:01.015 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.061) 0:02:01.077 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.051) 0:02:01.128 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.063) 0:02:01.192 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.086) 0:02:01.278 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.158) 0:02:01.436 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.053) 0:02:01.489 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.061) 0:02:01.551 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.055) 0:02:01.606 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:16:06 -0400 (0:00:00.052) 0:02:01.659 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:16:07 -0400 (0:00:00.595) 0:02:02.254 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmp3655oq0e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:16:07 -0400 (0:00:00.408) 0:02:02.663 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.516) 0:02:03.179 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.051) 0:02:03.231 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.053) 0:02:03.284 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.058) 0:02:03.343 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.051) 0:02:03.395 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.404) 0:02:03.800 ******* included: /tmp/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:16:08 -0400 (0:00:00.075) 0:02:03.875 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:16:09 -0400 (0:00:00.128) 0:02:04.004 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:16:09 -0400 (0:00:00.080) 0:02:04.084 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:16:09 -0400 (0:00:00.059) 0:02:04.144 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:16:09 -0400 (0:00:00.053) 0:02:04.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 : Check which services are running] **** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:16:09 -0400 (0:00:00.055) 0:02:04.253 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:16:11 -0400 (0:00:01.771) 0:02:06.024 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:16:12 -0400 (0:00:01.583) 0:02:07.607 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:16:12 -0400 (0:00:00.056) 0:02:07.664 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:16:12 -0400 (0:00:00.051) 0:02:07.716 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:16:12 -0400 (0:00:00.050) 0:02:07.766 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:16:12 -0400 (0:00:00.053) 0:02:07.820 ******* 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:16:12 -0400 (0:00:00.109) 0:02:07.929 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.050) 0:02:07.980 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.063) 0:02:08.043 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.087) 0:02:08.131 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.050) 0:02:08.181 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.055) 0:02:08.237 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.060) 0:02:08.297 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.049) 0:02:08.346 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:16:13 -0400 (0:00:00.052) 0:02:08.398 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:16:14 -0400 (0:00:00.585) 0:02:08.983 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33395wjl29wpx/tmpxmgn04ci" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:16:14 -0400 (0:00:00.406) 0:02:09.390 ******* 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:16:14 -0400 (0:00:00.494) 0:02:09.884 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:16:14 -0400 (0:00:00.050) 0:02:09.935 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.052) 0:02:09.988 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.057) 0:02:10.046 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.050) 0:02:10.096 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.451) 0:02:10.547 ******* included: /tmp/collections-RJ0/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/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.083) 0:02:10.631 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.074) 0:02:10.706 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 August 2024 09:16:15 -0400 (0:00:00.050) 0:02:10.757 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.397) 0:02:11.155 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.051) 0:02:11.207 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021866", "end": "2024-08-10 09:16:16.582773", "rc": 1, "start": "2024-08-10 09:16:16.560907" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.417) 0:02:11.624 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.055) 0:02:11.680 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.053) 0:02:11.734 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.052) 0:02:11.786 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.055) 0:02:11.841 ******* 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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.053) 0:02:11.895 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 10 August 2024 09:16:16 -0400 (0:00:00.054) 0:02:11.950 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.963125", "end": "2024-08-10 09:16:18.270592", "rc": 0, "start": "2024-08-10 09:16:17.307467" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 10 August 2024 09:16:18 -0400 (0:00:01.364) 0:02:13.314 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 10 August 2024 09:16:18 -0400 (0:00:00.101) 0:02:13.416 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 10 August 2024 09:16:18 -0400 (0:00:00.052) 0:02:13.469 ******* skipping: [managed_node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 10 August 2024 09:16:18 -0400 (0:00:00.058) 0:02:13.527 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 10 August 2024 09:16:18 -0400 (0:00:00.053) 0:02:13.581 ******* included: /tmp/collections-RJ0/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/collections-RJ0/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/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 10 August 2024 09:16:18 -0400 (0:00:00.083) 0:02:13.664 ******* ok: [managed_node1] => { "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.053523", "end": "2024-08-10 09:16:19.069449", "rc": 0, "start": "2024-08-10 09:16:19.015926" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 10 August 2024 09:16:19 -0400 (0:00:00.449) 0:02:14.114 ******* 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.009008", "end": "2024-08-10 09:16:19.473863", "rc": 0, "start": "2024-08-10 09:16:19.464855" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:08:c5:e0:bf:8d brd ff:ff:ff:ff:ff:ff inet 10.31.47.122/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3083sec preferred_lft 3083sec inet6 fe80::8:c5ff:fee0:bf8d/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether f2:a3:81:12:54:4c brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.122 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.122 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 10 August 2024 09:16:19 -0400 (0:00:00.401) 0:02:14.515 ******* 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.156431", "end": "2024-08-10 09:16:20.029522", "rc": 0, "start": "2024-08-10 09:16:19.873091" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5083 0 --:--:-- --:--:-- --:--:-- 5000 % 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 4279 0 --:--:-- --:--:-- --:--:-- 4279 PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 10 August 2024 09:16:20 -0400 (0:00:00.606) 0:02:15.122 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26