[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.10] 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-goM 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-goM/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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.009) 0:00:00.009 ******* ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 17 August 2024 08:48:10 -0400 (0:00:01.107) 0:00:01.117 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 17 August 2024 08:48:10 -0400 (0:00:00.020) 0:00:01.138 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.563) 0:00:01.701 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.494) 0:00:02.196 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.039) 0:00:02.235 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.034) 0:00:02.270 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.087) 0:00:02.357 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.580) 0:00:02.938 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.016) 0:00:02.954 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.022) 0:00:02.976 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.218193", "end": "2024-08-17 08:48:13.012522", "rc": 0, "start": "2024-08-17 08:48:12.794329" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.645) 0:00:03.622 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.030) 0:00:03.652 ******* ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.064) 0:00:03.717 ******* ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 17 August 2024 08:48:13 -0400 (0:00:00.785) 0:00:04.502 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.040) 0:00:04.543 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.050) 0:00:04.593 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.043) 0:00:04.637 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (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_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.091) 0:00:04.729 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.060) 0:00:04.789 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.044) 0:00:04.834 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003091", "end": "2024-08-17 08:48:14.619089", "rc": 0, "start": "2024-08-17 08:48:14.615998" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.413) 0:00:05.247 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.097) 0:00:05.345 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.079) 0:00:05.425 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 08:48:14 -0400 (0:00:00.088) 0:00:05.513 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007184", "end": "2024-08-17 08:48:15.317205", "rc": 1, "start": "2024-08-17 08:48:15.310021" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.381) 0:00:05.895 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.044) 0:00:05.939 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.355) 0:00:06.295 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.046) 0:00:06.341 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.055) 0:00:06.397 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:15 -0400 (0:00:00.076) 0:00:06.473 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.060) 0:00:06.534 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.043) 0:00:06.577 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.044) 0:00:06.621 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:16 -0400 (0:00:00.043) 0:00:06.665 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:18 -0400 (0:00:02.198) 0:00:08.863 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:20 -0400 (0:00:02.165) 0:00:11.029 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:20 -0400 (0:00:00.092) 0:00:11.121 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:20 -0400 (0:00:00.093) 0:00:11.214 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:20 -0400 (0:00:00.096) 0:00:11.311 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:20 -0400 (0:00:00.099) 0:00:11.410 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:20 -0400 (0:00:00.095) 0:00:11.506 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.072) 0:00:11.578 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.084) 0:00:11.662 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.253) 0:00:11.916 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.075) 0:00:11.992 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.077) 0:00:12.069 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.092) 0:00:12.161 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.077) 0:00:12.239 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.101) 0:00:12.341 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:22 -0400 (0:00:01.004) 0:00:13.346 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmphyppl081" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:23 -0400 (0:00:00.415) 0:00:13.762 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.810) 0:00:14.572 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.085) 0:00:14.658 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.074) 0:00:14.732 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.083) 0:00:14.816 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.107) 0:00:14.924 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:48:24 -0400 (0:00:00.605) 0:00:15.529 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.064) 0:00:15.593 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.127) 0:00:15.721 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.090) 0:00:15.812 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.077) 0:00:15.889 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898903.9485767, "block_size": 4096, "blocks": 8, "ctime": 1723898903.9485767, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723898903.9485767, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.462) 0:00:16.352 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:48:25 -0400 (0:00:00.102) 0:00:16.454 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017013", "end": "2024-08-17 08:48:26.315704", "rc": 1, "start": "2024-08-17 08:48:26.298691" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.483) 0:00:16.937 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.100) 0:00:17.038 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003000", "end": "2024-08-17 08:48:26.868540", "rc": 0, "start": "2024-08-17 08:48:26.865540" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:48:26 -0400 (0:00:00.446) 0:00:17.484 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:48:27 -0400 (0:00:00.075) 0:00:17.559 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002925", "end": "2024-08-17 08:48:27.355980", "rc": 0, "start": "2024-08-17 08:48:27.353055" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:48:27 -0400 (0:00:00.435) 0:00:17.995 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 08:48:27 -0400 (0:00:00.126) 0:00:18.121 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 08:48:27 -0400 (0:00:00.101) 0:00:18.223 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 08:48:27 -0400 (0:00:00.122) 0:00:18.346 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:48:27 -0400 (0:00:00.107) 0:00:18.453 ******* skipping: [managed_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:48:28 -0400 (0:00:00.094) 0:00:18.548 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:48:28 -0400 (0:00:00.143) 0:00:18.692 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:48:28 -0400 (0:00:00.094) 0:00:18.786 ******* fatal: [managed_node2]: 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.034329", "end": "2024-08-17 08:48:28.603468", "rc": 1, "start": "2024-08-17 08:48:28.569139" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 17 August 2024 08:48:28 -0400 (0:00:00.447) 0:00:19.233 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:48:28 -0400 (0:00:00.120) 0:00:19.354 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:48:28 -0400 (0:00:00.072) 0:00:19.426 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (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_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.174) 0:00:19.601 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.144) 0:00:19.745 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.157) 0:00:19.903 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003097", "end": "2024-08-17 08:48:29.763021", "rc": 0, "start": "2024-08-17 08:48:29.759924" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:48:29 -0400 (0:00:00.531) 0:00:20.434 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.132) 0:00:20.567 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.111) 0:00:20.678 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.192) 0:00:20.871 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005544", "end": "2024-08-17 08:48:30.719353", "rc": 1, "start": "2024-08-17 08:48:30.713809" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.447) 0:00:21.318 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:48:30 -0400 (0:00:00.145) 0:00:21.464 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.438) 0:00:21.902 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.065) 0:00:21.968 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.089) 0:00:22.057 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.161) 0:00:22.218 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:31 -0400 (0:00:00.272) 0:00:22.491 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.195) 0:00:22.687 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.132) 0:00:22.819 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:32 -0400 (0:00:00.080) 0:00:22.900 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:33 -0400 (0:00:01.625) 0:00:24.526 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:35 -0400 (0:00:01.669) 0:00:26.195 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:35 -0400 (0:00:00.101) 0:00:26.297 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:35 -0400 (0:00:00.099) 0:00:26.396 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:35 -0400 (0:00:00.094) 0:00:26.491 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.096) 0:00:26.587 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.117) 0:00:26.705 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.095) 0:00:26.801 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.131) 0:00:26.933 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.167) 0:00:27.101 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.095) 0:00:27.197 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.097) 0:00:27.294 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.109) 0:00:27.403 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:36 -0400 (0:00:00.081) 0:00:27.485 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.067) 0:00:27.552 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:37 -0400 (0:00:00.660) 0:00:28.213 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmp62sbl7r5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:38 -0400 (0:00:00.422) 0:00:28.635 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:38 -0400 (0:00:00.738) 0:00:29.374 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:38 -0400 (0:00:00.140) 0:00:29.515 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.133) 0:00:29.648 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.156) 0:00:29.805 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.110) 0:00:29.915 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.459) 0:00:30.374 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:48:39 -0400 (0:00:00.063) 0:00:30.438 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.097) 0:00:30.535 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.085) 0:00:30.620 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.616) 0:00:31.237 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.062) 0:00:31.299 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:48:40 -0400 (0:00:00.153) 0:00:31.452 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.099) 0:00:31.552 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898918.7496424, "block_size": 4096, "blocks": 8, "ctime": 1723898918.7496424, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723898918.7496424, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.536) 0:00:32.088 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:48:41 -0400 (0:00:00.085) 0:00:32.174 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017730", "end": "2024-08-17 08:48:42.015813", "rc": 1, "start": "2024-08-17 08:48:41.998083" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.466) 0:00:32.640 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.101) 0:00:32.742 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002920", "end": "2024-08-17 08:48:42.562052", "rc": 0, "start": "2024-08-17 08:48:42.559132" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.462) 0:00:33.204 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:48:42 -0400 (0:00:00.109) 0:00:33.313 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003010", "end": "2024-08-17 08:48:43.139502", "rc": 0, "start": "2024-08-17 08:48:43.136492" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.423) 0:00:33.737 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.096) 0:00:33.833 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.091) 0:00:33.925 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.071) 0:00:33.997 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.074) 0:00:34.071 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.055) 0:00:34.127 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.066) 0:00:34.193 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:48:43 -0400 (0:00:00.195) 0:00:34.389 ******* fatal: [managed_node2]: 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.033558", "end": "2024-08-17 08:48:44.346769", "rc": 1, "start": "2024-08-17 08:48:44.313211" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.562) 0:00:34.952 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.093) 0:00:35.046 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.060) 0:00:35.106 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (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_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.152) 0:00:35.259 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.145) 0:00:35.405 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:48:44 -0400 (0:00:00.103) 0:00:35.508 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003096", "end": "2024-08-17 08:48:45.297125", "rc": 0, "start": "2024-08-17 08:48:45.294029" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.391) 0:00:35.900 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.092) 0:00:35.993 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.100) 0:00:36.093 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.159) 0:00:36.253 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:45 -0400 (0:00:00.232) 0:00:36.485 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:46 -0400 (0:00:00.228) 0:00:36.714 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:46 -0400 (0:00:00.146) 0:00:36.860 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:46 -0400 (0:00:00.112) 0:00:36.973 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:46 -0400 (0:00:00.127) 0:00:37.100 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:48 -0400 (0:00:01.723) 0:00:38.823 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:49 -0400 (0:00:01.534) 0:00:40.358 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:49 -0400 (0:00:00.105) 0:00:40.463 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.204) 0:00:40.668 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.117) 0:00:40.785 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.097) 0:00:40.883 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.103) 0:00:40.987 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.067) 0:00:41.054 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.160) 0:00:41.215 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.121) 0:00:41.337 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:50 -0400 (0:00:00.100) 0:00:41.438 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.097) 0:00:41.535 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.086) 0:00:41.622 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.085) 0:00:41.708 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.061) 0:00:41.769 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:48:51 -0400 (0:00:00.664) 0:00:42.433 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpiccrgdn8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:48:52 -0400 (0:00:00.471) 0:00:42.905 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.630) 0:00:43.536 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.070) 0:00:43.606 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.080) 0:00:43.687 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.076) 0:00:43.763 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.068) 0:00:43.831 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.515) 0:00:44.347 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:48:53 -0400 (0:00:00.125) 0:00:44.472 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:48:54 -0400 (0:00:00.219) 0:00:44.692 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:48:54 -0400 (0:00:00.175) 0:00:44.867 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:48:54 -0400 (0:00:00.182) 0:00:45.050 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:48:54 -0400 (0:00:00.109) 0:00:45.159 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:48:54 -0400 (0:00:00.102) 0:00:45.262 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:48:54 -0400 (0:00:00.102) 0:00:45.365 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:48:56 -0400 (0:00:01.679) 0:00:47.044 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:48:58 -0400 (0:00:01.543) 0:00:48.588 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.113) 0:00:48.701 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.093) 0:00:48.794 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.170) 0:00:48.964 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.098) 0:00:49.062 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.136) 0:00:49.199 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.121) 0:00:49.320 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:48:58 -0400 (0:00:00.134) 0:00:49.455 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.157) 0:00:49.613 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.097) 0:00:49.710 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.097) 0:00:49.807 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.114) 0:00:49.922 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.094) 0:00:50.016 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.061) 0:00:50.077 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.675) 0:00:50.753 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpyedv0x6c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:00 -0400 (0:00:00.429) 0:00:51.182 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:01 -0400 (0:00:00.714) 0:00:51.897 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:01 -0400 (0:00:00.059) 0:00:51.956 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:01 -0400 (0:00:00.093) 0:00:52.049 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:01 -0400 (0:00:00.131) 0:00:52.181 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:01 -0400 (0:00:00.249) 0:00:52.430 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.527) 0:00:52.958 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.179) 0:00:53.137 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.098) 0:00:53.235 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898941.2221627, "block_size": 4096, "blocks": 0, "ctime": 1723898941.2221627, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34765, "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": 1723898941.2221627, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.421) 0:00:53.656 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.101) 0:00:53.758 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.148) 0:00:53.906 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.100) 0:00:54.007 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898941.0727413, "block_size": 4096, "blocks": 8, "ctime": 1723898932.902705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723898932.902705, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.593) 0:00:54.600 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.104) 0:00:54.705 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018108", "end": "2024-08-17 08:49:04.723817", "rc": 1, "start": "2024-08-17 08:49:04.705709" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.649) 0:00:55.355 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:49:04 -0400 (0:00:00.091) 0:00:55.446 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002921", "end": "2024-08-17 08:49:05.549265", "rc": 0, "start": "2024-08-17 08:49:05.546344" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.739) 0:00:56.185 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:49:05 -0400 (0:00:00.066) 0:00:56.251 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002953", "end": "2024-08-17 08:49:06.140516", "rc": 0, "start": "2024-08-17 08:49:06.137563" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.498) 0:00:56.750 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.091) 0:00:56.841 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.111) 0:00:56.952 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.126) 0:00:57.079 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.142) 0:00:57.221 ******* skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.092) 0:00:57.313 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:49:06 -0400 (0:00:00.106) 0:00:57.419 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.131) 0:00:57.551 ******* ok: [managed_node2] => { "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.042766", "end": "2024-08-17 08:49:07.394635", "rc": 0, "start": "2024-08-17 08:49:07.351869" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.465) 0:00:58.016 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.198) 0:00:58.215 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:49:07 -0400 (0:00:00.180) 0:00:58.395 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (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_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.204) 0:00:58.600 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.201) 0:00:58.801 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.097) 0:00:58.898 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003180", "end": "2024-08-17 08:49:08.683480", "rc": 0, "start": "2024-08-17 08:49:08.680300" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.388) 0:00:59.287 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.072) 0:00:59.360 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.070) 0:00:59.431 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.094) 0:00:59.525 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.153) 0:00:59.679 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.163) 0:00:59.843 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.114) 0:00:59.957 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.107) 0:01:00.064 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.166) 0:01:00.231 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:11 -0400 (0:00:01.951) 0:01:02.183 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:13 -0400 (0:00:01.596) 0:01:03.779 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.138) 0:01:03.918 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.139) 0:01:04.057 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.181) 0:01:04.238 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:13 -0400 (0:00:00.166) 0:01:04.405 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.134) 0:01:04.539 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.099) 0:01:04.639 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.121) 0:01:04.760 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.179) 0:01:04.940 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.112) 0:01:05.053 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.108) 0:01:05.162 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.120) 0:01:05.282 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.111) 0:01:05.394 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:14 -0400 (0:00:00.137) 0:01:05.532 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.606) 0:01:06.138 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpcqh99yju" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.433) 0:01:06.571 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.653) 0:01:07.225 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.124) 0:01:07.350 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.152) 0:01:07.502 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.104) 0:01:07.607 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.102) 0:01:07.709 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.469) 0:01:08.179 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.079) 0:01:08.258 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.183) 0:01:08.441 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.201) 0:01:08.642 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.192) 0:01:08.834 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.269) 0:01:09.104 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.108) 0:01:09.212 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:20 -0400 (0:00:01.665) 0:01:10.878 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:21 -0400 (0:00:01.503) 0:01:12.381 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:21 -0400 (0:00:00.102) 0:01:12.484 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.099) 0:01:12.584 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.094) 0:01:12.678 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.098) 0:01:12.777 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.125) 0:01:12.902 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.099) 0:01:13.001 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.159) 0:01:13.160 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.210) 0:01:13.371 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:22 -0400 (0:00:00.155) 0:01:13.526 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:23 -0400 (0:00:00.143) 0:01:13.670 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:23 -0400 (0:00:00.282) 0:01:13.952 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:23 -0400 (0:00:00.092) 0:01:14.044 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:23 -0400 (0:00:00.106) 0:01:14.151 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.717) 0:01:14.868 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpobf2bnaf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:24 -0400 (0:00:00.446) 0:01:15.314 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.919) 0:01:16.234 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.118) 0:01:16.353 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:25 -0400 (0:00:00.104) 0:01:16.458 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:26 -0400 (0:00:00.080) 0:01:16.539 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:26 -0400 (0:00:00.063) 0:01:16.602 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:49:26 -0400 (0:00:00.628) 0:01:17.230 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 08:49:26 -0400 (0:00:00.170) 0:01:17.401 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:27 -0400 (0:00:00.273) 0:01:17.675 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:27 -0400 (0:00:00.199) 0:01:17.874 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:27 -0400 (0:00:00.076) 0:01:17.951 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:27 -0400 (0:00:00.064) 0:01:18.015 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:27 -0400 (0:00:00.060) 0:01:18.075 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:29 -0400 (0:00:01.639) 0:01:19.714 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:30 -0400 (0:00:01.631) 0:01:21.346 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:30 -0400 (0:00:00.181) 0:01:21.527 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.167) 0:01:21.694 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.200) 0:01:21.895 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.208) 0:01:22.104 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.117) 0:01:22.221 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.118) 0:01:22.339 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:31 -0400 (0:00:00.092) 0:01:22.432 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.219) 0:01:22.651 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.059) 0:01:22.711 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.076) 0:01:22.787 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.098) 0:01:22.886 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.136) 0:01:23.023 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:32 -0400 (0:00:00.149) 0:01:23.172 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:33 -0400 (0:00:00.757) 0:01:23.929 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpa5mpbhiw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:33 -0400 (0:00:00.545) 0:01:24.474 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:34 -0400 (0:00:00.690) 0:01:25.165 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:34 -0400 (0:00:00.085) 0:01:25.251 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:34 -0400 (0:00:00.161) 0:01:25.412 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:35 -0400 (0:00:00.135) 0:01:25.548 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:35 -0400 (0:00:00.109) 0:01:25.658 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:49:35 -0400 (0:00:00.514) 0:01:26.172 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 08:49:35 -0400 (0:00:00.181) 0:01:26.353 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.209) 0:01:26.563 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723898965.4585445, "block_size": 4096, "blocks": 0, "ctime": 1723898965.4585445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34896, "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": 1723898965.4585445, "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.527) 0:01:27.090 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.110) 0:01:27.201 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.155) 0:01:27.357 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:49:36 -0400 (0:00:00.106) 0:01:27.463 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:49:37 -0400 (0:00:00.403) 0:01:27.867 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:49:37 -0400 (0:00:00.087) 0:01:27.954 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017348", "end": "2024-08-17 08:49:37.809003", "rc": 1, "start": "2024-08-17 08:49:37.791655" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:49:37 -0400 (0:00:00.480) 0:01:28.435 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.100) 0:01:28.536 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.102) 0:01:28.639 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.083) 0:01:28.723 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.060) 0:01:28.783 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.059) 0:01:28.843 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.092) 0:01:28.935 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.148) 0:01:29.084 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.104) 0:01:29.188 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:49:38 -0400 (0:00:00.181) 0:01:29.370 ******* ok: [managed_node2] => { "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.044693", "end": "2024-08-17 08:49:39.456655", "rc": 0, "start": "2024-08-17 08:49:39.411962" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.720) 0:01:30.090 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.121) 0:01:30.212 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.101) 0:01:30.313 ******* ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (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_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (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_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:49:39 -0400 (0:00:00.173) 0:01:30.487 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.113) 0:01:30.600 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.097) 0:01:30.698 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2024-08-17 08:49:40.486176", "rc": 0, "start": "2024-08-17 08:49:40.483012" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.384) 0:01:31.082 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.074) 0:01:31.157 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.060) 0:01:31.218 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:49:40 -0400 (0:00:00.161) 0:01:31.379 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:41 -0400 (0:00:00.193) 0:01:31.573 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:41 -0400 (0:00:00.143) 0:01:31.716 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:41 -0400 (0:00:00.075) 0:01:31.791 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:41 -0400 (0:00:00.060) 0:01:31.852 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:41 -0400 (0:00:00.064) 0:01:31.917 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:43 -0400 (0:00:01.652) 0:01:33.569 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:44 -0400 (0:00:01.537) 0:01:35.107 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.103) 0:01:35.211 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.114) 0:01:35.325 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:44 -0400 (0:00:00.079) 0:01:35.404 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.133) 0:01:35.538 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.119) 0:01:35.657 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.100) 0:01:35.757 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.119) 0:01:35.877 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.258) 0:01:36.136 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.098) 0:01:36.235 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.102) 0:01:36.337 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:45 -0400 (0:00:00.144) 0:01:36.481 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.107) 0:01:36.588 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.102) 0:01:36.691 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:46 -0400 (0:00:00.696) 0:01:37.387 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpkypd1jlk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:47 -0400 (0:00:00.440) 0:01:37.827 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:47 -0400 (0:00:00.628) 0:01:38.455 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.123) 0:01:38.579 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.089) 0:01:38.668 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.071) 0:01:38.739 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.058) 0:01:38.797 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.466) 0:01:39.264 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.062) 0:01:39.326 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.105) 0:01:39.431 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:48 -0400 (0:00:00.096) 0:01:39.528 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.082) 0:01:39.610 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.063) 0:01:39.673 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:49 -0400 (0:00:00.060) 0:01:39.734 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:50 -0400 (0:00:01.619) 0:01:41.353 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:49:52 -0400 (0:00:01.571) 0:01:42.924 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:49:52 -0400 (0:00:00.101) 0:01:43.025 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:49:52 -0400 (0:00:00.153) 0:01:43.179 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:49:52 -0400 (0:00:00.098) 0:01:43.277 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:49:52 -0400 (0:00:00.096) 0:01:43.374 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:49:52 -0400 (0:00:00.094) 0:01:43.469 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.072) 0:01:43.541 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.075) 0:01:43.617 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.120) 0:01:43.738 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.060) 0:01:43.798 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.058) 0:01:43.857 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.073) 0:01:43.930 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.059) 0:01:43.990 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:49:53 -0400 (0:00:00.062) 0:01:44.053 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:49:54 -0400 (0:00:00.580) 0:01:44.634 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpos0ysinz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:49:54 -0400 (0:00:00.393) 0:01:45.027 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:49:55 -0400 (0:00:00.764) 0:01:45.792 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:49:55 -0400 (0:00:00.060) 0:01:45.853 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:49:55 -0400 (0:00:00.060) 0:01:45.913 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:49:55 -0400 (0:00:00.143) 0:01:46.057 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:49:55 -0400 (0:00:00.059) 0:01:46.117 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.451) 0:01:46.568 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.174) 0:01:46.743 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.180) 0:01:46.924 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.110) 0:01:47.035 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.100) 0:01:47.135 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.105) 0:01:47.241 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:49:58 -0400 (0:00:01.731) 0:01:48.972 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:50:00 -0400 (0:00:01.674) 0:01:50.647 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.209) 0:01:50.856 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.074) 0:01:50.931 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.076) 0:01:51.007 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.061) 0:01:51.069 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.075) 0:01:51.144 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.089) 0:01:51.234 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:50:00 -0400 (0:00:00.173) 0:01:51.407 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:50:01 -0400 (0:00:00.335) 0:01:51.743 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:50:01 -0400 (0:00:00.148) 0:01:51.892 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:50:01 -0400 (0:00:00.119) 0:01:52.011 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:50:01 -0400 (0:00:00.145) 0:01:52.157 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:50:01 -0400 (0:00:00.121) 0:01:52.278 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:50:01 -0400 (0:00:00.096) 0:01:52.375 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:50:02 -0400 (0:00:00.669) 0:01:53.045 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmp0aacqxmb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:50:03 -0400 (0:00:00.598) 0:01:53.643 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:50:03 -0400 (0:00:00.806) 0:01:54.449 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:50:04 -0400 (0:00:00.108) 0:01:54.558 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:50:04 -0400 (0:00:00.227) 0:01:54.785 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:50:04 -0400 (0:00:00.109) 0:01:54.895 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:50:04 -0400 (0:00:00.098) 0:01:54.994 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:50:04 -0400 (0:00:00.487) 0:01:55.481 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 08:50:05 -0400 (0:00:00.105) 0:01:55.587 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:50:05 -0400 (0:00:00.107) 0:01:55.694 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:50:05 -0400 (0:00:00.100) 0:01:55.794 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:50:05 -0400 (0:00:00.114) 0:01:55.909 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:50:05 -0400 (0:00:00.100) 0:01:56.009 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:50:05 -0400 (0:00:00.102) 0:01:56.112 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:50:07 -0400 (0:00:01.813) 0:01:57.926 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:50:09 -0400 (0:00:01.766) 0:01:59.692 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.105) 0:01:59.798 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.122) 0:01:59.920 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.097) 0:02:00.017 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.079) 0:02:00.096 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.088) 0:02:00.185 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.061) 0:02:00.246 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.073) 0:02:00.319 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.102) 0:02:00.422 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:50:09 -0400 (0:00:00.077) 0:02:00.499 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:50:10 -0400 (0:00:00.088) 0:02:00.587 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:50:10 -0400 (0:00:00.142) 0:02:00.729 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:50:10 -0400 (0:00:00.131) 0:02:00.861 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:50:10 -0400 (0:00:00.125) 0:02:00.986 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:50:11 -0400 (0:00:00.687) 0:02:01.674 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpw22p7zof" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:50:11 -0400 (0:00:00.590) 0:02:02.265 ******* ok: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:50:12 -0400 (0:00:00.573) 0:02:02.839 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:50:12 -0400 (0:00:00.069) 0:02:02.908 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:50:12 -0400 (0:00:00.066) 0:02:02.975 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:50:12 -0400 (0:00:00.064) 0:02:03.040 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:50:12 -0400 (0:00:00.058) 0:02:03.098 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:50:13 -0400 (0:00:00.438) 0:02:03.537 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 08:50:13 -0400 (0:00:00.135) 0:02:03.673 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:50:13 -0400 (0:00:00.089) 0:02:03.762 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:50:13 -0400 (0:00:00.061) 0:02:03.823 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:50:13 -0400 (0:00:00.393) 0:02:04.217 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:50:13 -0400 (0:00:00.097) 0:02:04.314 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017638", "end": "2024-08-17 08:50:14.163816", "rc": 1, "start": "2024-08-17 08:50:14.146178" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.447) 0:02:04.762 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.152) 0:02:04.914 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.090) 0:02:05.005 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.105) 0:02:05.110 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.097) 0:02:05.208 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.101) 0:02:05.309 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.108) 0:02:05.418 ******* skipping: [managed_node2] => (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_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:50:14 -0400 (0:00:00.104) 0:02:05.522 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:50:15 -0400 (0:00:00.099) 0:02:05.622 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:50:15 -0400 (0:00:00.167) 0:02:05.790 ******* ok: [managed_node2] => { "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.041788", "end": "2024-08-17 08:50:15.671782", "rc": 0, "start": "2024-08-17 08:50:15.629994" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 17 August 2024 08:50:15 -0400 (0:00:00.485) 0:02:06.275 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 08:50:15 -0400 (0:00:00.094) 0:02:06.369 ******* ok: [managed_node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 08:50:15 -0400 (0:00:00.062) 0:02:06.432 ******* ok: [managed_node2] => (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_node2] => (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_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (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_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 08:50:16 -0400 (0:00:00.113) 0:02:06.545 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 08:50:16 -0400 (0:00:00.110) 0:02:06.656 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 08:50:16 -0400 (0:00:00.284) 0:02:06.940 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003153", "end": "2024-08-17 08:50:16.761897", "rc": 0, "start": "2024-08-17 08:50:16.758744" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 08:50:16 -0400 (0:00:00.419) 0:02:07.359 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 08:50:16 -0400 (0:00:00.069) 0:02:07.429 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 08:50:16 -0400 (0:00:00.095) 0:02:07.525 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 08:50:17 -0400 (0:00:00.166) 0:02:07.691 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:50:17 -0400 (0:00:00.158) 0:02:07.850 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:50:17 -0400 (0:00:00.112) 0:02:07.962 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:50:17 -0400 (0:00:00.069) 0:02:08.032 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:50:17 -0400 (0:00:00.063) 0:02:08.095 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:50:17 -0400 (0:00:00.095) 0:02:08.191 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:50:19 -0400 (0:00:01.718) 0:02:09.909 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:50:20 -0400 (0:00:01.546) 0:02:11.456 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.087) 0:02:11.543 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.123) 0:02:11.667 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.121) 0:02:11.788 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.107) 0:02:11.896 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.160) 0:02:12.057 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.096) 0:02:12.153 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.127) 0:02:12.281 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:50:21 -0400 (0:00:00.179) 0:02:12.461 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:50:22 -0400 (0:00:00.161) 0:02:12.623 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:50:22 -0400 (0:00:00.161) 0:02:12.784 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:50:22 -0400 (0:00:00.130) 0:02:12.915 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:50:22 -0400 (0:00:00.154) 0:02:13.069 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:50:22 -0400 (0:00:00.156) 0:02:13.226 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:50:23 -0400 (0:00:00.692) 0:02:13.918 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmp42tssdcj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:50:23 -0400 (0:00:00.550) 0:02:14.468 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:50:24 -0400 (0:00:00.534) 0:02:15.003 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:50:24 -0400 (0:00:00.060) 0:02:15.064 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:50:24 -0400 (0:00:00.146) 0:02:15.211 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:50:24 -0400 (0:00:00.142) 0:02:15.353 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:50:24 -0400 (0:00:00.101) 0:02:15.455 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.481) 0:02:15.936 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.073) 0:02:16.010 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.108) 0:02:16.118 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.098) 0:02:16.216 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.084) 0:02:16.300 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.064) 0:02:16.365 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:50:25 -0400 (0:00:00.062) 0:02:16.427 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:50:27 -0400 (0:00:01.690) 0:02:18.118 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:50:29 -0400 (0:00:01.496) 0:02:19.615 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.078) 0:02:19.693 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.061) 0:02:19.755 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.058) 0:02:19.814 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.062) 0:02:19.876 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.073) 0:02:19.950 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.064) 0:02:20.014 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.113) 0:02:20.128 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.169) 0:02:20.298 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.095) 0:02:20.394 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:50:29 -0400 (0:00:00.102) 0:02:20.496 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:50:30 -0400 (0:00:00.084) 0:02:20.580 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:50:30 -0400 (0:00:00.071) 0:02:20.652 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:50:30 -0400 (0:00:00.165) 0:02:20.818 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:50:30 -0400 (0:00:00.597) 0:02:21.416 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpq_neg9cr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:50:31 -0400 (0:00:00.427) 0:02:21.843 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:50:32 -0400 (0:00:00.766) 0:02:22.610 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:50:32 -0400 (0:00:00.099) 0:02:22.709 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:50:32 -0400 (0:00:00.102) 0:02:22.812 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:50:32 -0400 (0:00:00.107) 0:02:22.919 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:50:32 -0400 (0:00:00.099) 0:02:23.019 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 08:50:33 -0400 (0:00:00.552) 0:02:23.571 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:50:33 -0400 (0:00:00.169) 0:02:23.741 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:50:33 -0400 (0:00:00.164) 0:02:23.906 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:50:33 -0400 (0:00:00.095) 0:02:24.001 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:50:33 -0400 (0:00:00.073) 0:02:24.075 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:50:33 -0400 (0:00:00.160) 0:02:24.235 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:50:35 -0400 (0:00:01.698) 0:02:25.934 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:50:36 -0400 (0:00:01.536) 0:02:27.470 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.106) 0:02:27.577 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.111) 0:02:27.688 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.071) 0:02:27.760 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.066) 0:02:27.826 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.072) 0:02:27.899 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.058) 0:02:27.958 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.074) 0:02:28.032 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.104) 0:02:28.137 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.088) 0:02:28.225 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.101) 0:02:28.326 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:50:37 -0400 (0:00:00.091) 0:02:28.418 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:50:38 -0400 (0:00:00.241) 0:02:28.659 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:50:38 -0400 (0:00:00.117) 0:02:28.777 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:50:39 -0400 (0:00:00.834) 0:02:29.612 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpt2y6rerh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:50:39 -0400 (0:00:00.532) 0:02:30.144 ******* changed: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:50:40 -0400 (0:00:00.636) 0:02:30.781 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:50:40 -0400 (0:00:00.115) 0:02:30.896 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:50:40 -0400 (0:00:00.104) 0:02:31.001 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:50:40 -0400 (0:00:00.079) 0:02:31.081 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:50:40 -0400 (0:00:00.058) 0:02:31.139 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.548) 0:02:31.688 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.159) 0:02:31.847 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.148) 0:02:31.996 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.164) 0:02:32.161 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.120) 0:02:32.282 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.104) 0:02:32.386 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 08:50:41 -0400 (0:00:00.121) 0:02:32.508 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 08:50:43 -0400 (0:00:01.670) 0:02:34.178 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 08:50:45 -0400 (0:00:01.444) 0:02:35.623 ******* ok: [managed_node2] => {} 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.064) 0:02:35.688 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.075) 0:02:35.764 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.092) 0:02:35.856 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.103) 0:02:35.959 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.115) 0:02:36.074 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.127) 0:02:36.202 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.118) 0:02:36.321 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 08:50:45 -0400 (0:00:00.166) 0:02:36.488 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 08:50:46 -0400 (0:00:00.231) 0:02:36.719 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 08:50:46 -0400 (0:00:00.123) 0:02:36.842 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 08:50:46 -0400 (0:00:00.115) 0:02:36.958 ******* skipping: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 08:50:46 -0400 (0:00:00.125) 0:02:37.084 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 08:50:46 -0400 (0:00:00.157) 0:02:37.242 ******* ok: [managed_node2] => { "censored": "the output 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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 08:50:47 -0400 (0:00:00.763) 0:02:38.005 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37733xt41np76/tmpvtyu9akj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 08:50:47 -0400 (0:00:00.471) 0:02:38.476 ******* ok: [managed_node2] => { "_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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 08:50:48 -0400 (0:00:00.838) 0:02:39.315 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 08:50:48 -0400 (0:00:00.098) 0:02:39.414 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 08:50:49 -0400 (0:00:00.165) 0:02:39.579 ******* ok: [managed_node2] => { "__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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 08:50:49 -0400 (0:00:00.112) 0:02:39.691 ******* skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 08:50:49 -0400 (0:00:00.098) 0:02:39.790 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 08:50:49 -0400 (0:00:00.476) 0:02:40.267 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 08:50:49 -0400 (0:00:00.115) 0:02:40.382 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 08:50:50 -0400 (0:00:00.152) 0:02:40.535 ******* ok: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 08:50:50 -0400 (0:00:00.099) 0:02:40.634 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 08:50:50 -0400 (0:00:00.403) 0:02:41.038 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 08:50:50 -0400 (0:00:00.065) 0:02:41.103 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017673", "end": "2024-08-17 08:50:50.947786", "rc": 1, "start": "2024-08-17 08:50:50.930113" } 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.458) 0:02:41.561 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.103) 0:02:41.664 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.102) 0:02:41.767 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.100) 0:02:41.868 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.093) 0:02:41.961 ******* skipping: [managed_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.099) 0:02:42.060 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 August 2024 08:50:51 -0400 (0:00:00.079) 0:02:42.140 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.853795", "end": "2024-08-17 08:50:52.773928", "rc": 0, "start": "2024-08-17 08:50:51.920133" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 August 2024 08:50:52 -0400 (0:00:01.261) 0:02:43.402 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 August 2024 08:50:52 -0400 (0:00:00.114) 0:02:43.516 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 08:50:53 -0400 (0:00:00.104) 0:02:43.621 ******* skipping: [managed_node2] => (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_node2] => { "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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 08:50:53 -0400 (0:00:00.100) 0:02:43.721 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 08:50:53 -0400 (0:00:00.101) 0:02:43.823 ******* included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 08:50:53 -0400 (0:00:00.430) 0:02:44.254 ******* ok: [managed_node2] => { "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.043413", "end": "2024-08-17 08:50:54.229028", "rc": 0, "start": "2024-08-17 08:50:54.185615" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 17 August 2024 08:50:54 -0400 (0:00:00.573) 0:02:44.828 ******* ok: [managed_node2] => { "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.008149", "end": "2024-08-17 08:50:54.646819", "rc": 0, "start": "2024-08-17 08:50:54.638670" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:c1:52:c9:c3:eb brd ff:ff:ff:ff:ff:ff inet 10.31.43.187/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2621sec preferred_lft 2621sec inet6 fe80::cc1:52ff:fec9:c3eb/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:33:77:d4:77:16 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.187 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.187 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-goM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 17 August 2024 08:50:54 -0400 (0:00:00.424) 0:02:45.252 ******* ok: [managed_node2] => { "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.147672", "end": "2024-08-17 08:50:55.196072", "rc": 0, "start": "2024-08-17 08:50:55.048400" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 100 305 100 305 0 0 6354 0 --:--:-- --:--:-- --:--:-- 6354 % 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 3730 0 --:--:-- --:--:-- --:--:-- 3730 PLAY RECAP ********************************************************************* managed_node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 17 August 2024 08:50:55 -0400 (0:00:00.693) 0:02:45.946 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.20s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 2.17s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-goM/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-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-goM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21