ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 17 August 2024 18:54:20 -0400 (0:00:00.019) 0:00:00.019 ******* ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 17 August 2024 18:54:21 -0400 (0:00:00.892) 0:00:00.911 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 17 August 2024 18:54:21 -0400 (0:00:00.037) 0:00:00.949 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 17 August 2024 18:54:22 -0400 (0:00:00.471) 0:00:01.421 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 17 August 2024 18:54:22 -0400 (0:00:00.448) 0:00:01.869 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 17 August 2024 18:54:22 -0400 (0:00:00.040) 0:00:01.909 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 17 August 2024 18:54:22 -0400 (0:00:00.036) 0:00:01.945 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 17 August 2024 18:54:22 -0400 (0:00:00.075) 0:00:02.021 ******* ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 17 August 2024 18:54:23 -0400 (0:00:00.437) 0:00:02.458 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 17 August 2024 18:54:23 -0400 (0:00:00.025) 0:00:02.484 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 17 August 2024 18:54:23 -0400 (0:00:00.020) 0:00:02.504 ******* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.217602", "end": "2024-08-17 18:54:23.801321", "rc": 0, "start": "2024-08-17 18:54:23.583719" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 17 August 2024 18:54:23 -0400 (0:00:00.568) 0:00:03.073 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 17 August 2024 18:54:23 -0400 (0:00:00.025) 0:00:03.098 ******* ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 17 August 2024 18:54:23 -0400 (0:00:00.026) 0:00:03.124 ******* ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.686) 0:00:03.810 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.049) 0:00:03.860 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.057) 0:00:03.917 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.040) 0:00:03.958 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.089) 0:00:04.048 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.033) 0:00:04.082 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:54:24 -0400 (0:00:00.024) 0:00:04.106 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002843", "end": "2024-08-17 18:54:25.176283", "rc": 0, "start": "2024-08-17 18:54:25.173440" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:54:25 -0400 (0:00:00.346) 0:00:04.453 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:54:25 -0400 (0:00:00.038) 0:00:04.492 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:54:25 -0400 (0:00:00.041) 0:00:04.533 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 18:54:25 -0400 (0:00:00.056) 0:00:04.590 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007240", "end": "2024-08-17 18:54:25.808474", "rc": 1, "start": "2024-08-17 18:54:25.801234" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:54:25 -0400 (0:00:00.483) 0:00:05.073 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:54:25 -0400 (0:00:00.036) 0:00:05.109 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.343) 0:00:05.453 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.042) 0:00:05.496 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.038) 0:00:05.534 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.107) 0:00:05.642 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.042) 0:00:05.684 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.026) 0:00:05.710 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.018) 0:00:05.729 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:54:26 -0400 (0:00:00.020) 0:00:05.750 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:54:28 -0400 (0:00:01.680) 0:00:07.430 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:54:30 -0400 (0:00:01.792) 0:00:09.223 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.059) 0:00:09.282 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.056) 0:00:09.338 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.085) 0:00:09.424 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.092) 0:00:09.517 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.094) 0:00:09.611 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.094) 0:00:09.705 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.081) 0:00:09.787 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.144) 0:00:09.932 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.112) 0:00:10.044 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:54:30 -0400 (0:00:00.079) 0:00:10.123 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:54:31 -0400 (0:00:00.142) 0:00:10.266 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:54:31 -0400 (0:00:00.066) 0:00:10.333 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:54:31 -0400 (0:00:00.066) 0:00:10.399 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:54:32 -0400 (0:00:00.932) 0:00:11.331 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpc01ge39q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:54:32 -0400 (0:00:00.439) 0:00:11.771 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:54:33 -0400 (0:00:00.879) 0:00:12.650 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:54:33 -0400 (0:00:00.077) 0:00:12.728 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:54:33 -0400 (0:00:00.116) 0:00:12.844 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:54:33 -0400 (0:00:00.131) 0:00:12.976 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:54:33 -0400 (0:00:00.107) 0:00:13.084 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:54:34 -0400 (0:00:00.721) 0:00:13.806 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:54:34 -0400 (0:00:00.048) 0:00:13.855 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:54:34 -0400 (0:00:00.076) 0:00:13.931 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:54:34 -0400 (0:00:00.064) 0:00:13.995 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:54:34 -0400 (0:00:00.035) 0:00:14.031 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935273.3675323, "block_size": 4096, "blocks": 8, "ctime": 1723935273.3675323, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723935273.3675323, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:54:35 -0400 (0:00:00.362) 0:00:14.393 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:54:35 -0400 (0:00:00.044) 0:00:14.438 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017402", "end": "2024-08-17 18:54:35.552525", "rc": 1, "start": "2024-08-17 18:54:35.535123" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:54:35 -0400 (0:00:00.415) 0:00:14.853 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:54:35 -0400 (0:00:00.050) 0:00:14.904 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002726", "end": "2024-08-17 18:54:36.030385", "rc": 0, "start": "2024-08-17 18:54:36.027659" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.419) 0:00:15.323 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.056) 0:00:15.379 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002725", "end": "2024-08-17 18:54:36.469375", "rc": 0, "start": "2024-08-17 18:54:36.466650" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.377) 0:00:15.756 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.057) 0:00:15.814 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.049) 0:00:15.864 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.052) 0:00:15.916 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.048) 0:00:15.965 ******* skipping: [managed_node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.044) 0:00:16.009 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.047) 0:00:16.057 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:54:36 -0400 (0:00:00.108) 0:00:16.165 ******* 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.033909", "end": "2024-08-17 18:54:37.382993", "rc": 1, "start": "2024-08-17 18:54:37.349084" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 17 August 2024 18:54:37 -0400 (0:00:00.584) 0:00:16.750 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:54:37 -0400 (0:00:00.123) 0:00:16.874 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:54:37 -0400 (0:00:00.074) 0:00:16.948 ******* 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" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:54:37 -0400 (0:00:00.122) 0:00:17.070 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:54:38 -0400 (0:00:00.161) 0:00:17.232 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:54:38 -0400 (0:00:00.138) 0:00:17.377 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002924", "end": "2024-08-17 18:54:38.532587", "rc": 0, "start": "2024-08-17 18:54:38.529663" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:54:38 -0400 (0:00:00.440) 0:00:17.817 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:54:38 -0400 (0:00:00.038) 0:00:17.856 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:54:38 -0400 (0:00:00.038) 0:00:17.894 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 17 August 2024 18:54:38 -0400 (0:00:00.071) 0:00:17.966 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005246", "end": "2024-08-17 18:54:39.113323", "rc": 1, "start": "2024-08-17 18:54:39.108077" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:54:39 -0400 (0:00:00.515) 0:00:18.482 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:54:39 -0400 (0:00:00.131) 0:00:18.613 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:54:39 -0400 (0:00:00.376) 0:00:18.990 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:54:39 -0400 (0:00:00.048) 0:00:19.038 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 August 2024 18:54:39 -0400 (0:00:00.149) 0:00:19.187 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:54:40 -0400 (0:00:00.117) 0:00:19.305 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:54:40 -0400 (0:00:00.112) 0:00:19.417 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:54:40 -0400 (0:00:00.072) 0:00:19.490 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:54:40 -0400 (0:00:00.047) 0:00:19.538 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:54:40 -0400 (0:00:00.040) 0:00:19.579 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:54:41 -0400 (0:00:01.516) 0:00:21.095 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:54:43 -0400 (0:00:01.406) 0:00:22.502 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.038) 0:00:22.541 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.037) 0:00:22.579 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.041) 0:00:22.621 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.052) 0:00:22.673 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.068) 0:00:22.741 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.055) 0:00:22.797 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.061) 0:00:22.858 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.112) 0:00:22.971 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.068) 0:00:23.040 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.058) 0:00:23.099 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:54:43 -0400 (0:00:00.086) 0:00:23.186 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:54:44 -0400 (0:00:00.045) 0:00:23.231 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:54:44 -0400 (0:00:00.043) 0:00:23.274 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:54:44 -0400 (0:00:00.563) 0:00:23.837 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmppzux1o2r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:54:45 -0400 (0:00:00.390) 0:00:24.228 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:54:45 -0400 (0:00:00.498) 0:00:24.726 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:54:45 -0400 (0:00:00.059) 0:00:24.786 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:54:45 -0400 (0:00:00.084) 0:00:24.871 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:54:45 -0400 (0:00:00.069) 0:00:24.940 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:54:45 -0400 (0:00:00.057) 0:00:24.998 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 August 2024 18:54:46 -0400 (0:00:00.475) 0:00:25.473 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:54:46 -0400 (0:00:00.076) 0:00:25.550 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 August 2024 18:54:46 -0400 (0:00:00.174) 0:00:25.724 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:54:46 -0400 (0:00:00.133) 0:00:25.858 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 August 2024 18:54:47 -0400 (0:00:00.365) 0:00:26.223 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:54:47 -0400 (0:00:00.041) 0:00:26.264 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:54:47 -0400 (0:00:00.091) 0:00:26.356 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:54:47 -0400 (0:00:00.058) 0:00:26.415 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935285.428638, "block_size": 4096, "blocks": 8, "ctime": 1723935285.428638, "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": 1723935285.428638, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:54:47 -0400 (0:00:00.586) 0:00:27.001 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:54:47 -0400 (0:00:00.039) 0:00:27.041 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017357", "end": "2024-08-17 18:54:48.136915", "rc": 1, "start": "2024-08-17 18:54:48.119558" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:54:48 -0400 (0:00:00.400) 0:00:27.441 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:54:48 -0400 (0:00:00.067) 0:00:27.509 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002680", "end": "2024-08-17 18:54:48.600467", "rc": 0, "start": "2024-08-17 18:54:48.597787" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:54:48 -0400 (0:00:00.435) 0:00:27.944 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:54:48 -0400 (0:00:00.051) 0:00:27.996 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003642", "end": "2024-08-17 18:54:50.084312", "rc": 0, "start": "2024-08-17 18:54:49.080670" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:54:50 -0400 (0:00:01.372) 0:00:29.368 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.046) 0:00:29.415 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.042) 0:00:29.457 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.042) 0:00:29.500 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.039) 0:00:29.539 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.042) 0:00:29.581 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.058) 0:00:29.640 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:54:50 -0400 (0:00:00.200) 0:00:29.840 ******* 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.033799", "end": "2024-08-17 18:54:51.082795", "rc": 1, "start": "2024-08-17 18:54:51.048996" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 17 August 2024 18:54:51 -0400 (0:00:00.581) 0:00:30.422 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:54:51 -0400 (0:00:00.098) 0:00:30.520 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:54:51 -0400 (0:00:00.057) 0:00:30.578 ******* 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" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:54:51 -0400 (0:00:00.120) 0:00:30.699 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:54:51 -0400 (0:00:00.071) 0:00:30.771 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:54:51 -0400 (0:00:00.081) 0:00:30.852 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002840", "end": "2024-08-17 18:54:51.930284", "rc": 0, "start": "2024-08-17 18:54:51.927444" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.377) 0:00:31.229 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.060) 0:00:31.290 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.063) 0:00:31.353 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.107) 0:00:31.461 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.155) 0:00:31.617 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.125) 0:00:31.742 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.058) 0:00:31.801 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.051) 0:00:31.852 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:54:52 -0400 (0:00:00.044) 0:00:31.897 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:54:54 -0400 (0:00:01.592) 0:00:33.489 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:54:55 -0400 (0:00:01.589) 0:00:35.079 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:54:55 -0400 (0:00:00.061) 0:00:35.141 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:54:55 -0400 (0:00:00.055) 0:00:35.197 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.048) 0:00:35.245 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.034) 0:00:35.280 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.045) 0:00:35.326 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.045) 0:00:35.371 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.066) 0:00:35.438 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.148) 0:00:35.587 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.064) 0:00:35.652 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.095) 0:00:35.748 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.100) 0:00:35.849 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.047) 0:00:35.896 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:54:56 -0400 (0:00:00.044) 0:00:35.941 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:54:57 -0400 (0:00:00.584) 0:00:36.525 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpx4e8l6v3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:54:57 -0400 (0:00:00.383) 0:00:36.909 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:54:58 -0400 (0:00:00.662) 0:00:37.571 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:54:58 -0400 (0:00:00.064) 0:00:37.636 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:54:58 -0400 (0:00:00.102) 0:00:37.739 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:54:58 -0400 (0:00:00.077) 0:00:37.817 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:54:58 -0400 (0:00:00.069) 0:00:37.886 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.457) 0:00:38.343 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.059) 0:00:38.403 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.106) 0:00:38.509 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.104) 0:00:38.614 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.169) 0:00:38.783 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.089) 0:00:38.873 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.126) 0:00:38.999 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:54:59 -0400 (0:00:00.084) 0:00:39.084 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:01 -0400 (0:00:01.546) 0:00:40.630 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:02 -0400 (0:00:01.557) 0:00:42.188 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.072) 0:00:42.261 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.058) 0:00:42.319 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.053) 0:00:42.373 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.046) 0:00:42.419 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.051) 0:00:42.471 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.039) 0:00:42.511 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.042) 0:00:42.553 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.077) 0:00:42.631 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.060) 0:00:42.691 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.057) 0:00:42.748 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.067) 0:00:42.816 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.059) 0:00:42.876 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:03 -0400 (0:00:00.063) 0:00:42.939 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.612) 0:00:43.551 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpfvk4wbz1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:04 -0400 (0:00:00.462) 0:00:44.014 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:05 -0400 (0:00:00.850) 0:00:44.864 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:05 -0400 (0:00:00.048) 0:00:44.913 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:05 -0400 (0:00:00.048) 0:00:44.961 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:05 -0400 (0:00:00.044) 0:00:45.006 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:05 -0400 (0:00:00.039) 0:00:45.045 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:55:06 -0400 (0:00:00.352) 0:00:45.397 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:55:06 -0400 (0:00:00.103) 0:00:45.501 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:06 -0400 (0:00:00.080) 0:00:45.582 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935305.4855113, "block_size": 4096, "blocks": 0, "ctime": 1723935305.4855113, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36001, "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": 1723935305.4855113, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:55:06 -0400 (0:00:00.439) 0:00:46.021 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 August 2024 18:55:06 -0400 (0:00:00.060) 0:00:46.081 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:55:07 -0400 (0:00:00.145) 0:00:46.227 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:55:07 -0400 (0:00:00.061) 0:00:46.289 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935305.3358126, "block_size": 4096, "blocks": 8, "ctime": 1723935298.2687507, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723935298.2687507, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:55:07 -0400 (0:00:00.393) 0:00:46.682 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:55:07 -0400 (0:00:00.041) 0:00:46.723 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017714", "end": "2024-08-17 18:55:07.813389", "rc": 1, "start": "2024-08-17 18:55:07.795675" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:55:07 -0400 (0:00:00.366) 0:00:47.090 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:55:07 -0400 (0:00:00.037) 0:00:47.128 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002687", "end": "2024-08-17 18:55:08.204279", "rc": 0, "start": "2024-08-17 18:55:08.201592" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.392) 0:00:47.521 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.076) 0:00:47.597 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002768", "end": "2024-08-17 18:55:08.716097", "rc": 0, "start": "2024-08-17 18:55:08.713329" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.465) 0:00:48.063 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 August 2024 18:55:08 -0400 (0:00:00.137) 0:00:48.200 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.090) 0:00:48.290 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.113) 0:00:48.404 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.127) 0:00:48.532 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.075) 0:00:48.608 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.081) 0:00:48.689 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.085) 0:00:48.774 ******* 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.040620", "end": "2024-08-17 18:55:09.888829", "rc": 0, "start": "2024-08-17 18:55:09.848209" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 17 August 2024 18:55:09 -0400 (0:00:00.410) 0:00:49.185 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.103) 0:00:49.288 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.058) 0:00:49.347 ******* 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" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.130) 0:00:49.477 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.076) 0:00:49.554 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.150) 0:00:49.705 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002604", "end": "2024-08-17 18:55:10.829933", "rc": 0, "start": "2024-08-17 18:55:10.827329" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.429) 0:00:50.135 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:55:10 -0400 (0:00:00.062) 0:00:50.197 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.082) 0:00:50.280 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.177) 0:00:50.457 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.186) 0:00:50.644 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.129) 0:00:50.773 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.073) 0:00:50.847 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.052) 0:00:50.899 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:11 -0400 (0:00:00.061) 0:00:50.961 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:13 -0400 (0:00:01.622) 0:00:52.584 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:14 -0400 (0:00:01.514) 0:00:54.098 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.040) 0:00:54.139 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:14 -0400 (0:00:00.037) 0:00:54.177 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.044) 0:00:54.222 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.074) 0:00:54.296 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.082) 0:00:54.379 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.094) 0:00:54.473 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.075) 0:00:54.549 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.229) 0:00:54.778 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.073) 0:00:54.852 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.074) 0:00:54.926 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.069) 0:00:54.996 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.082) 0:00:55.078 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:15 -0400 (0:00:00.096) 0:00:55.174 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.618) 0:00:55.793 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpmlbewy04" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:16 -0400 (0:00:00.387) 0:00:56.180 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.526) 0:00:56.706 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.056) 0:00:56.762 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.063) 0:00:56.826 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.066) 0:00:56.893 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:17 -0400 (0:00:00.067) 0:00:56.960 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.458) 0:00:57.419 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.041) 0:00:57.460 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.070) 0:00:57.530 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.079) 0:00:57.610 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.043) 0:00:57.654 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.037) 0:00:57.691 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:18 -0400 (0:00:00.037) 0:00:57.728 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:20 -0400 (0:00:01.503) 0:00:59.232 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:21 -0400 (0:00:01.530) 0:01:00.762 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.065) 0:01:00.828 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.085) 0:01:00.913 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.094) 0:01:01.007 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.096) 0:01:01.104 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:21 -0400 (0:00:00.076) 0:01:01.181 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.056) 0:01:01.237 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.055) 0:01:01.293 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.085) 0:01:01.379 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.037) 0:01:01.417 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.036) 0:01:01.453 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.081) 0:01:01.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.057) 0:01:01.592 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:22 -0400 (0:00:00.060) 0:01:01.652 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.759) 0:01:02.412 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmp9c7s8oxj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:23 -0400 (0:00:00.500) 0:01:02.913 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.720) 0:01:03.633 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.049) 0:01:03.682 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.053) 0:01:03.736 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.062) 0:01:03.799 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:24 -0400 (0:00:00.056) 0:01:03.855 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.368) 0:01:04.223 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.115) 0:01:04.338 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.167) 0:01:04.506 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.093) 0:01:04.599 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.067) 0:01:04.667 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.043) 0:01:04.711 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:25 -0400 (0:00:00.038) 0:01:04.749 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:27 -0400 (0:00:01.540) 0:01:06.290 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:28 -0400 (0:00:01.611) 0:01:07.901 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.039) 0:01:07.941 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.038) 0:01:07.980 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.045) 0:01:08.025 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.045) 0:01:08.070 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.073) 0:01:08.144 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:28 -0400 (0:00:00.057) 0:01:08.202 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.065) 0:01:08.267 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.158) 0:01:08.426 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.056) 0:01:08.483 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.046) 0:01:08.529 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.052) 0:01:08.582 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.044) 0:01:08.626 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:29 -0400 (0:00:00.075) 0:01:08.702 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:30 -0400 (0:00:00.536) 0:01:09.238 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmp3sw5i46z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:30 -0400 (0:00:00.429) 0:01:09.668 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:30 -0400 (0:00:00.535) 0:01:10.203 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.036) 0:01:10.240 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.040) 0:01:10.280 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.052) 0:01:10.333 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.045) 0:01:10.378 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.419) 0:01:10.798 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.120) 0:01:10.919 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 August 2024 18:55:31 -0400 (0:00:00.148) 0:01:11.068 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723935324.2816825, "block_size": 4096, "blocks": 0, "ctime": 1723935324.2816825, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36132, "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": 1723935324.2816825, "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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.405) 0:01:11.473 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.055) 0:01:11.528 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.069) 0:01:11.597 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.047) 0:01:11.645 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.390) 0:01:12.035 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:55:32 -0400 (0:00:00.039) 0:01:12.074 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016982", "end": "2024-08-17 18:55:33.159553", "rc": 1, "start": "2024-08-17 18:55:33.142571" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.381) 0:01:12.456 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.064) 0:01:12.520 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.064) 0:01:12.584 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.076) 0:01:12.661 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.064) 0:01:12.726 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.168) 0:01:12.894 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.066) 0:01:12.961 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.057) 0:01:13.018 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:55:33 -0400 (0:00:00.063) 0:01:13.082 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.130) 0:01:13.213 ******* 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.041011", "end": "2024-08-17 18:55:34.588651", "rc": 0, "start": "2024-08-17 18:55:34.547640" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.707) 0:01:13.920 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.090) 0:01:14.011 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.046) 0:01:14.057 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:55:34 -0400 (0:00:00.097) 0:01:14.155 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.058) 0:01:14.214 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.062) 0:01:14.276 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002610", "end": "2024-08-17 18:55:35.394744", "rc": 0, "start": "2024-08-17 18:55:35.392134" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.454) 0:01:14.730 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.041) 0:01:14.772 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.038) 0:01:14.811 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.082) 0:01:14.893 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.063) 0:01:14.956 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.103) 0:01:15.060 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.071) 0:01:15.131 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:35 -0400 (0:00:00.062) 0:01:15.194 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:36 -0400 (0:00:00.064) 0:01:15.258 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:37 -0400 (0:00:01.540) 0:01:16.799 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:39 -0400 (0:00:01.583) 0:01:18.382 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.103) 0:01:18.486 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.061) 0:01:18.548 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.058) 0:01:18.607 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.055) 0:01:18.663 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.054) 0:01:18.717 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.041) 0:01:18.758 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.043) 0:01:18.801 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.071) 0:01:18.873 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.113) 0:01:18.986 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:39 -0400 (0:00:00.098) 0:01:19.085 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.126) 0:01:19.211 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.070) 0:01:19.282 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.090) 0:01:19.372 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:40 -0400 (0:00:00.681) 0:01:20.054 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpt31x48d6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.441) 0:01:20.496 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.617) 0:01:21.114 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.036) 0:01:21.150 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:41 -0400 (0:00:00.049) 0:01:21.199 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.065) 0:01:21.265 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.059) 0:01:21.325 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.460) 0:01:21.785 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.076) 0:01:21.862 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.165) 0:01:22.027 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:42 -0400 (0:00:00.122) 0:01:22.149 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.109) 0:01:22.259 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.056) 0:01:22.315 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:43 -0400 (0:00:00.073) 0:01:22.389 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:44 -0400 (0:00:01.652) 0:01:24.041 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:46 -0400 (0:00:01.559) 0:01:25.601 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.039) 0:01:25.641 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.035) 0:01:25.676 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.036) 0:01:25.712 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.046) 0:01:25.759 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.071) 0:01:25.830 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.060) 0:01:25.890 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.067) 0:01:25.957 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.111) 0:01:26.068 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:46 -0400 (0:00:00.075) 0:01:26.144 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:47 -0400 (0:00:00.085) 0:01:26.230 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:47 -0400 (0:00:00.064) 0:01:26.295 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:47 -0400 (0:00:00.108) 0:01:26.403 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:47 -0400 (0:00:00.076) 0:01:26.479 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:47 -0400 (0:00:00.528) 0:01:27.008 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpwtaxjvfz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.354) 0:01:27.362 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.744) 0:01:28.107 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:48 -0400 (0:00:00.086) 0:01:28.193 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.106) 0:01:28.300 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.116) 0:01:28.416 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.059) 0:01:28.476 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.415) 0:01:28.892 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.100) 0:01:28.992 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.074) 0:01:29.066 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.051) 0:01:29.118 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:49 -0400 (0:00:00.058) 0:01:29.176 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:50 -0400 (0:00:00.064) 0:01:29.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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:51 -0400 (0:00:01.570) 0:01:30.812 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:53 -0400 (0:00:01.407) 0:01:32.219 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.039) 0:01:32.259 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.037) 0:01:32.296 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.038) 0:01:32.334 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.037) 0:01:32.372 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.044) 0:01:32.417 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.046) 0:01:32.464 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.071) 0:01:32.535 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.091) 0:01:32.627 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.044) 0:01:32.671 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.047) 0:01:32.719 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.048) 0:01:32.768 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.038) 0:01:32.806 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:55:53 -0400 (0:00:00.036) 0:01:32.842 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.566) 0:01:33.409 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmp4j489bnk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:55:54 -0400 (0:00:00.367) 0:01:33.776 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.533) 0:01:34.310 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.063) 0:01:34.373 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.064) 0:01:34.438 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.064) 0:01:34.502 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.062) 0:01:34.565 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.383) 0:01:34.949 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.068) 0:01:35.017 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:55:55 -0400 (0:00:00.132) 0:01:35.150 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.109) 0:01:35.260 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.073) 0:01:35.333 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.059) 0:01:35.392 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:55:56 -0400 (0:00:00.056) 0:01:35.448 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:55:57 -0400 (0:00:01.548) 0:01:36.997 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:55:59 -0400 (0:00:01.528) 0:01:38.525 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.045) 0:01:38.571 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.069) 0:01:38.641 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.104) 0:01:38.746 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.081) 0:01:38.827 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.061) 0:01:38.889 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.047) 0:01:38.936 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.054) 0:01:38.991 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.085) 0:01:39.076 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.052) 0:01:39.129 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:55:59 -0400 (0:00:00.059) 0:01:39.188 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:00 -0400 (0:00:00.063) 0:01:39.252 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:00 -0400 (0:00:00.064) 0:01:39.317 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:00 -0400 (0:00:00.057) 0:01:39.374 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:00 -0400 (0:00:00.640) 0:01:40.014 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpk4fzrwts" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:01 -0400 (0:00:00.437) 0:01:40.452 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.791) 0:01:41.243 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.069) 0:01:41.313 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.062) 0:01:41.375 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.065) 0:01:41.441 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.047) 0:01:41.488 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.471) 0:01:41.960 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:56:02 -0400 (0:00:00.223) 0:01:42.183 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.100) 0:01:42.283 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.058) 0:01:42.341 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.455) 0:01:42.797 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:56:03 -0400 (0:00:00.080) 0:01:42.877 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017352", "end": "2024-08-17 18:56:04.035567", "rc": 1, "start": "2024-08-17 18:56:04.018215" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.444) 0:01:43.322 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.042) 0:01:43.365 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.049) 0:01:43.414 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.053) 0:01:43.468 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.062) 0:01:43.530 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.082) 0:01:43.612 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.075) 0:01:43.688 ******* skipping: [managed_node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.095) 0:01:43.783 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.083) 0:01:43.866 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:56:04 -0400 (0:00:00.087) 0:01:43.954 ******* 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.045805", "end": "2024-08-17 18:56:05.095466", "rc": 0, "start": "2024-08-17 18:56:05.049661" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.483) 0:01:44.438 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.186) 0:01:44.624 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.082) 0:01:44.707 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.140) 0:01:44.847 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.125) 0:01:44.973 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 August 2024 18:56:05 -0400 (0:00:00.071) 0:01:45.044 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002650", "end": "2024-08-17 18:56:06.196869", "rc": 0, "start": "2024-08-17 18:56:06.194219" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.445) 0:01:45.490 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.053) 0:01:45.543 ******* ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.039) 0:01:45.582 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.082) 0:01:45.665 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.084) 0:01:45.749 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.171) 0:01:45.921 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.090) 0:01:46.012 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.096) 0:01:46.108 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:06 -0400 (0:00:00.078) 0:01:46.187 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:08 -0400 (0:00:01.558) 0:01:47.746 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:10 -0400 (0:00:01.535) 0:01:49.282 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.096) 0:01:49.378 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.064) 0:01:49.442 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.058) 0:01:49.501 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.059) 0:01:49.561 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.057) 0:01:49.618 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.048) 0:01:49.667 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.043) 0:01:49.711 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.089) 0:01:49.800 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.063) 0:01:49.864 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.043) 0:01:49.908 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.052) 0:01:49.961 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.051) 0:01:50.013 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:10 -0400 (0:00:00.042) 0:01:50.055 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:11 -0400 (0:00:00.503) 0:01:50.559 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmprjsn28st" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:11 -0400 (0:00:00.395) 0:01:50.955 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.494) 0:01:51.449 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.062) 0:01:51.511 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.062) 0:01:51.574 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.064) 0:01:51.639 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.060) 0:01:51.699 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.388) 0:01:52.087 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.043) 0:01:52.131 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:12 -0400 (0:00:00.063) 0:01:52.194 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.071) 0:01:52.266 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.045) 0:01:52.311 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.075) 0:01:52.387 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:13 -0400 (0:00:00.085) 0:01:52.473 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:14 -0400 (0:00:01.554) 0:01:54.027 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:16 -0400 (0:00:01.406) 0:01:55.434 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.039) 0:01:55.473 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.101) 0:01:55.574 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.090) 0:01:55.665 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.060) 0:01:55.725 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.124) 0:01:55.850 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.067) 0:01:55.917 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.060) 0:01:55.978 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.100) 0:01:56.079 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.040) 0:01:56.119 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.040) 0:01:56.159 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:16 -0400 (0:00:00.045) 0:01:56.205 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:17 -0400 (0:00:00.044) 0:01:56.250 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:17 -0400 (0:00:00.054) 0:01:56.305 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:17 -0400 (0:00:00.579) 0:01:56.885 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpzr4twutn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:18 -0400 (0:00:00.476) 0:01:57.361 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.891) 0:01:58.252 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.037) 0:01:58.290 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.038) 0:01:58.329 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.040) 0:01:58.369 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.037) 0:01:58.407 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.373) 0:01:58.781 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.072) 0:01:58.853 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.096) 0:01:58.949 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.073) 0:01:59.023 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.061) 0:01:59.084 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:19 -0400 (0:00:00.044) 0:01:59.129 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:21 -0400 (0:00:01.530) 0:02:00.659 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:22 -0400 (0:00:01.401) 0:02:02.061 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:22 -0400 (0:00:00.039) 0:02:02.100 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:22 -0400 (0:00:00.038) 0:02:02.139 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:22 -0400 (0:00:00.038) 0:02:02.177 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.071) 0:02:02.248 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.046) 0:02:02.295 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.037) 0:02:02.332 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.046) 0:02:02.379 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.074) 0:02:02.453 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.038) 0:02:02.492 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.037) 0:02:02.530 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.043) 0:02:02.574 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.040) 0:02:02.614 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.036) 0:02:02.651 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:23 -0400 (0:00:00.549) 0:02:03.201 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpwv_e_mvr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:24 -0400 (0:00:00.419) 0:02:03.620 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.609) 0:02:04.230 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.045) 0:02:04.276 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.046) 0:02:04.323 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.048) 0:02:04.371 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.038) 0:02:04.410 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.369) 0:02:04.779 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.117) 0:02:04.896 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.084) 0:02:04.981 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.096) 0:02:05.077 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.064) 0:02:05.141 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 August 2024 18:56:25 -0400 (0:00:00.037) 0:02:05.179 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 August 2024 18:56:26 -0400 (0:00:00.037) 0:02:05.216 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 August 2024 18:56:27 -0400 (0:00:01.630) 0:02:06.847 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 August 2024 18:56:29 -0400 (0:00:01.416) 0:02:08.263 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.040) 0:02:08.304 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.075) 0:02:08.379 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.037) 0:02:08.416 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.040) 0:02:08.457 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.062) 0:02:08.519 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.062) 0:02:08.582 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.068) 0:02:08.651 ******* skipping: [managed_node2] => { "changed": false, "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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.110) 0:02:08.762 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.057) 0:02:08.820 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.058) 0:02:08.878 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.076) 0:02:08.955 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.070) 0:02:09.026 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 17 August 2024 18:56:29 -0400 (0:00:00.056) 0:02:09.083 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.571) 0:02:09.654 ******* ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-44537_w5oaa70/tmpsabneopq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 17 August 2024 18:56:30 -0400 (0:00:00.395) 0:02:10.050 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.570) 0:02:10.621 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.078) 0:02:10.700 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.113) 0:02:10.814 ******* 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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.081) 0:02:10.895 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 17 August 2024 18:56:31 -0400 (0:00:00.110) 0:02:11.006 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.402) 0:02:11.409 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.118) 0:02:11.527 ******* included: /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.196) 0:02:11.724 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 August 2024 18:56:32 -0400 (0:00:00.099) 0:02:11.824 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.409) 0:02:12.233 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.053) 0:02:12.286 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016601", "end": "2024-08-17 18:56:33.461002", "rc": 1, "start": "2024-08-17 18:56:33.444401" } 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.615) 0:02:12.901 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.067) 0:02:12.969 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.061) 0:02:13.030 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.072) 0:02:13.102 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 August 2024 18:56:33 -0400 (0:00:00.064) 0:02:13.167 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.069) 0:02:13.236 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 August 2024 18:56:34 -0400 (0:00:00.069) 0:02:13.306 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.841581", "end": "2024-08-17 18:56:35.251575", "rc": 0, "start": "2024-08-17 18:56:34.409994" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 August 2024 18:56:35 -0400 (0:00:01.307) 0:02:14.613 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.081) 0:02:14.694 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.065) 0:02:14.760 ******* skipping: [managed_node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.077) 0:02:14.838 ******* 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.076) 0:02:14.915 ******* included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 August 2024 18:56:35 -0400 (0:00:00.124) 0:02:15.039 ******* 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.042237", "end": "2024-08-17 18:56:36.235982", "rc": 0, "start": "2024-08-17 18:56:36.193745" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.504) 0:02:15.544 ******* 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.007447", "end": "2024-08-17 18:56:36.840531", "rc": 0, "start": "2024-08-17 18:56:36.833084" } 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 12:a9:f8:2d:ef:77 brd ff:ff:ff:ff:ff:ff inet 10.31.8.149/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2744sec preferred_lft 2744sec inet6 fe80::10a9:f8ff:fe2d:ef77/64 scope link valid_lft forever preferred_lft forever 53: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 16:e2:32:f7:07:a2 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.8.1 dev eth0 proto dhcp src 10.31.8.149 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.149 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-55K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 17 August 2024 18:56:36 -0400 (0:00:00.660) 0:02:16.204 ******* 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.312170", "end": "2024-08-17 18:56:37.666003", "rc": 0, "start": "2024-08-17 18:56:37.353833" } 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 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.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 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 1418 0 --:--:-- --:--:-- --:--:-- 1418 % 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 4157 0 --:--:-- --:--:-- --:--:-- 4157 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 17 August 2024 18:56:37 -0400 (0:00:00.736) 0:02:16.940 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-55K/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-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-55K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21