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-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 16 November 2024 17:26:47 -0500 (0:00:00.035) 0:00:00.035 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 16 November 2024 17:26:49 -0500 (0:00:01.141) 0:00:01.176 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 16 November 2024 17:26:49 -0500 (0:00:00.066) 0:00:01.243 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 16 November 2024 17:26:49 -0500 (0:00:00.618) 0:00:01.861 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 16 November 2024 17:26:50 -0500 (0:00:00.594) 0:00:02.456 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 16 November 2024 17:26:50 -0500 (0:00:00.093) 0:00:02.549 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 16 November 2024 17:26:50 -0500 (0:00:00.080) 0:00:02.630 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 16 November 2024 17:26:50 -0500 (0:00:00.106) 0:00:02.737 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 16 November 2024 17:26:51 -0500 (0:00:00.491) 0:00:03.228 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 16 November 2024 17:26:51 -0500 (0:00:00.021) 0:00:03.250 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 16 November 2024 17:26:51 -0500 (0:00:00.021) 0:00:03.271 ***** [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.257450", "end": "2024-11-16 17:26:51.687262", "rc": 0, "start": "2024-11-16 17:26:51.429812" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 16 November 2024 17:26:51 -0500 (0:00:00.635) 0:00:03.907 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 16 November 2024 17:26:51 -0500 (0:00:00.020) 0:00:03.927 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 16 November 2024 17:26:51 -0500 (0:00:00.020) 0:00:03.948 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.676) 0:00:04.624 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.025) 0:00:04.650 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.035) 0:00:04.685 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.023) 0:00:04.709 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.093) 0:00:04.802 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.035) 0:00:04.838 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:26:52 -0500 (0:00:00.031) 0:00:04.869 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004298", "end": "2024-11-16 17:26:54.039751", "rc": 0, "start": "2024-11-16 17:26:53.035453" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:26:54 -0500 (0:00:01.442) 0:00:06.312 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:26:54 -0500 (0:00:00.049) 0:00:06.362 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:26:54 -0500 (0:00:00.047) 0:00:06.409 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 17:26:54 -0500 (0:00:00.107) 0:00:06.517 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007586", "end": "2024-11-16 17:26:54.769667", "rc": 1, "start": "2024-11-16 17:26:54.762081" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:26:54 -0500 (0:00:00.525) 0:00:07.042 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:26:54 -0500 (0:00:00.064) 0:00:07.107 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.537) 0:00:07.645 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.028) 0:00:07.673 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.057) 0:00:07.730 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.200) 0:00:07.931 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.057) 0:00:07.989 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.026) 0:00:08.015 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.033) 0:00:08.048 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:26:55 -0500 (0:00:00.045) 0:00:08.094 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:26:58 -0500 (0:00:02.084) 0:00:10.178 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:27:00 -0500 (0:00:02.037) 0:00:12.216 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.071) 0:00:12.288 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.102) 0:00:12.390 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.068) 0:00:12.459 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.063) 0:00:12.522 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.082) 0:00:12.604 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.068) 0:00:12.673 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.103) 0:00:12.777 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.147) 0:00:12.924 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.069) 0:00:12.994 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.067) 0:00:13.061 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:27:00 -0500 (0:00:00.080) 0:00:13.142 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:27:01 -0500 (0:00:00.049) 0:00:13.191 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:27:01 -0500 (0:00:00.047) 0:00:13.239 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:27:02 -0500 (0:00:01.095) 0:00:14.334 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpo11fk2cq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:27:02 -0500 (0:00:00.539) 0:00:14.874 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:27:03 -0500 (0:00:01.152) 0:00:16.026 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:27:03 -0500 (0:00:00.098) 0:00:16.124 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:27:04 -0500 (0:00:00.078) 0:00:16.203 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:27:04 -0500 (0:00:00.084) 0:00:16.288 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:27:04 -0500 (0:00:00.070) 0:00:16.358 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:27:04 -0500 (0:00:00.585) 0:00:16.944 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:27:04 -0500 (0:00:00.046) 0:00:16.990 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 17:27:04 -0500 (0:00:00.105) 0:00:17.096 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:27:05 -0500 (0:00:00.129) 0:00:17.225 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:27:05 -0500 (0:00:00.079) 0:00:17.305 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731796023.6651397, "block_size": 4096, "blocks": 8, "ctime": 1731796023.6651397, "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": 1731796023.6651397, "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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:27:05 -0500 (0:00:00.580) 0:00:17.885 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:27:05 -0500 (0:00:00.054) 0:00:17.940 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021132", "end": "2024-11-16 17:27:06.131919", "rc": 1, "start": "2024-11-16 17:27:06.110787" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:27:06 -0500 (0:00:00.482) 0:00:18.423 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:27:06 -0500 (0:00:00.084) 0:00:18.507 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003042", "end": "2024-11-16 17:27:06.718821", "rc": 0, "start": "2024-11-16 17:27:06.715779" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:27:06 -0500 (0:00:00.502) 0:00:19.010 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:27:06 -0500 (0:00:00.091) 0:00:19.101 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003023", "end": "2024-11-16 17:27:07.303523", "rc": 0, "start": "2024-11-16 17:27:07.300500" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.506) 0:00:19.607 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.070) 0:00:19.678 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.059) 0:00:19.738 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.058) 0:00:19.796 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.046) 0:00:19.842 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.054) 0:00:19.897 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:27:07 -0500 (0:00:00.077) 0:00:19.975 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:27:08 -0500 (0:00:00.269) 0:00:20.244 ***** 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.041121", "end": "2024-11-16 17:27:08.633499", "rc": 1, "start": "2024-11-16 17:27:08.592378" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 16 November 2024 17:27:08 -0500 (0:00:00.644) 0:00:20.888 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:27:08 -0500 (0:00:00.080) 0:00:20.969 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:27:08 -0500 (0:00:00.047) 0:00:21.016 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:27:08 -0500 (0:00:00.094) 0:00:21.111 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:27:09 -0500 (0:00:00.096) 0:00:21.208 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:27:09 -0500 (0:00:00.162) 0:00:21.370 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003187", "end": "2024-11-16 17:27:09.592422", "rc": 0, "start": "2024-11-16 17:27:09.589235" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:27:09 -0500 (0:00:00.476) 0:00:21.847 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:27:09 -0500 (0:00:00.049) 0:00:21.896 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:27:09 -0500 (0:00:00.044) 0:00:21.941 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 17:27:09 -0500 (0:00:00.123) 0:00:22.064 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006306", "end": "2024-11-16 17:27:10.287295", "rc": 1, "start": "2024-11-16 17:27:10.280989" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:27:10 -0500 (0:00:00.473) 0:00:22.538 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:27:10 -0500 (0:00:00.085) 0:00:22.623 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:27:10 -0500 (0:00:00.419) 0:00:23.043 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:27:10 -0500 (0:00:00.045) 0:00:23.089 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 16 November 2024 17:27:11 -0500 (0:00:00.079) 0:00:23.168 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:27:11 -0500 (0:00:00.086) 0:00:23.255 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:27:11 -0500 (0:00:00.083) 0:00:23.338 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:27:11 -0500 (0:00:00.064) 0:00:23.403 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:27:11 -0500 (0:00:00.128) 0:00:23.532 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:27:11 -0500 (0:00:00.050) 0:00:23.582 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:27:13 -0500 (0:00:01.880) 0:00:25.463 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:27:14 -0500 (0:00:01.662) 0:00:27.126 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.076) 0:00:27.202 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.052) 0:00:27.254 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.068) 0:00:27.323 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.065) 0:00:27.388 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.086) 0:00:27.474 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.077) 0:00:27.551 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.125) 0:00:27.677 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.198) 0:00:27.875 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.094) 0:00:27.970 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.084) 0:00:28.054 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:27:15 -0500 (0:00:00.076) 0:00:28.131 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:27:16 -0500 (0:00:00.060) 0:00:28.191 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:27:16 -0500 (0:00:00.053) 0:00:28.244 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:27:16 -0500 (0:00:00.636) 0:00:28.880 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpwxjvnp0t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:27:17 -0500 (0:00:00.519) 0:00:29.399 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:27:17 -0500 (0:00:00.708) 0:00:30.108 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:27:17 -0500 (0:00:00.053) 0:00:30.162 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:27:18 -0500 (0:00:00.066) 0:00:30.228 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:27:18 -0500 (0:00:00.081) 0:00:30.310 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:27:18 -0500 (0:00:00.066) 0:00:30.377 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 16 November 2024 17:27:18 -0500 (0:00:00.425) 0:00:30.803 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:27:18 -0500 (0:00:00.104) 0:00:30.907 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 17:27:18 -0500 (0:00:00.183) 0:00:31.091 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:27:19 -0500 (0:00:00.138) 0:00:31.229 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 17:27:19 -0500 (0:00:00.509) 0:00:31.739 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 17:27:19 -0500 (0:00:00.048) 0:00:31.788 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:27:19 -0500 (0:00:00.103) 0:00:31.891 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:27:19 -0500 (0:00:00.094) 0:00:31.986 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731796037.8298695, "block_size": 4096, "blocks": 8, "ctime": 1731796037.8298695, "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": 1731796037.8298695, "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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:27:20 -0500 (0:00:00.454) 0:00:32.441 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:27:20 -0500 (0:00:00.045) 0:00:32.487 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020346", "end": "2024-11-16 17:27:20.668940", "rc": 1, "start": "2024-11-16 17:27:20.648594" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:27:20 -0500 (0:00:00.424) 0:00:32.911 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:27:20 -0500 (0:00:00.062) 0:00:32.974 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003087", "end": "2024-11-16 17:27:21.166528", "rc": 0, "start": "2024-11-16 17:27:21.163441" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:27:21 -0500 (0:00:00.438) 0:00:33.412 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:27:21 -0500 (0:00:00.054) 0:00:33.467 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003034", "end": "2024-11-16 17:27:21.645764", "rc": 0, "start": "2024-11-16 17:27:21.642730" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:27:21 -0500 (0:00:00.436) 0:00:33.903 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 17:27:21 -0500 (0:00:00.176) 0:00:34.079 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 17:27:21 -0500 (0:00:00.057) 0:00:34.137 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.064) 0:00:34.202 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.056) 0:00:34.259 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.041) 0:00:34.301 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.045) 0:00:34.346 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.088) 0:00:34.435 ***** 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.040699", "end": "2024-11-16 17:27:22.645397", "rc": 1, "start": "2024-11-16 17:27:22.604698" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.482) 0:00:34.918 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.128) 0:00:35.047 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:27:22 -0500 (0:00:00.098) 0:00:35.145 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:27:23 -0500 (0:00:00.149) 0:00:35.295 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:27:23 -0500 (0:00:00.125) 0:00:35.420 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:27:23 -0500 (0:00:00.192) 0:00:35.612 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004424", "end": "2024-11-16 17:27:24.885282", "rc": 0, "start": "2024-11-16 17:27:23.880858" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:27:24 -0500 (0:00:01.518) 0:00:37.130 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.053) 0:00:37.184 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.105) 0:00:37.289 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.128) 0:00:37.418 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.188) 0:00:37.607 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.248) 0:00:37.855 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.081) 0:00:37.937 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.062) 0:00:37.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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:27:25 -0500 (0:00:00.108) 0:00:38.108 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:27:27 -0500 (0:00:01.916) 0:00:40.025 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:27:29 -0500 (0:00:01.752) 0:00:41.778 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:27:29 -0500 (0:00:00.077) 0:00:41.855 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:27:29 -0500 (0:00:00.087) 0:00:41.943 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:27:29 -0500 (0:00:00.111) 0:00:42.055 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:27:29 -0500 (0:00:00.056) 0:00:42.111 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.071) 0:00:42.183 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.068) 0:00:42.251 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.078) 0:00:42.330 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.121) 0:00:42.452 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.060) 0:00:42.513 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.049) 0:00:42.562 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.070) 0:00:42.632 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.071) 0:00:42.704 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:27:30 -0500 (0:00:00.060) 0:00:42.764 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:27:31 -0500 (0:00:00.746) 0:00:43.511 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpa4ojw3ic" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:27:31 -0500 (0:00:00.527) 0:00:44.038 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:27:32 -0500 (0:00:00.782) 0:00:44.821 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:27:32 -0500 (0:00:00.069) 0:00:44.890 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:27:32 -0500 (0:00:00.055) 0:00:44.946 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:27:32 -0500 (0:00:00.050) 0:00:44.996 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:27:32 -0500 (0:00:00.042) 0:00:45.038 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:27:33 -0500 (0:00:00.431) 0:00:45.470 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:27:33 -0500 (0:00:00.072) 0:00:45.543 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:27:33 -0500 (0:00:00.132) 0:00:45.675 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:27:33 -0500 (0:00:00.154) 0:00:45.830 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:27:33 -0500 (0:00:00.148) 0:00:45.979 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:27:33 -0500 (0:00:00.085) 0:00:46.064 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:27:34 -0500 (0:00:00.121) 0:00:46.185 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:27:34 -0500 (0:00:00.074) 0:00:46.260 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:27:36 -0500 (0:00:01.957) 0:00:48.218 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:27:37 -0500 (0:00:01.741) 0:00:49.959 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:27:37 -0500 (0:00:00.102) 0:00:50.061 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:27:37 -0500 (0:00:00.054) 0:00:50.116 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.051) 0:00:50.168 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.048) 0:00:50.217 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.061) 0:00:50.278 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.073) 0:00:50.352 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.074) 0:00:50.427 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.128) 0:00:50.555 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.069) 0:00:50.625 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.058) 0:00:50.684 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.074) 0:00:50.758 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.046) 0:00:50.804 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:27:38 -0500 (0:00:00.044) 0:00:50.849 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:27:39 -0500 (0:00:00.787) 0:00:51.636 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmps7e1gia9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:27:39 -0500 (0:00:00.529) 0:00:52.166 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:27:40 -0500 (0:00:00.832) 0:00:52.999 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:27:40 -0500 (0:00:00.044) 0:00:53.043 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:27:40 -0500 (0:00:00.047) 0:00:53.090 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:27:40 -0500 (0:00:00.046) 0:00:53.136 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:27:41 -0500 (0:00:00.044) 0:00:53.181 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:27:41 -0500 (0:00:00.500) 0:00:53.681 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 17:27:41 -0500 (0:00:00.194) 0:00:53.875 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:27:41 -0500 (0:00:00.133) 0:00:54.009 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731796060.6616812, "block_size": 4096, "blocks": 0, "ctime": 1731796060.6616812, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34914, "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": 1731796060.6616812, "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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 17:27:42 -0500 (0:00:00.500) 0:00:54.509 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 17:27:42 -0500 (0:00:00.048) 0:00:54.557 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:27:42 -0500 (0:00:00.079) 0:00:54.637 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:27:42 -0500 (0:00:00.045) 0:00:54.682 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731796060.4744375, "block_size": 4096, "blocks": 8, "ctime": 1731796052.5705884, "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": 1731796052.5705884, "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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:27:42 -0500 (0:00:00.412) 0:00:55.094 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:27:42 -0500 (0:00:00.047) 0:00:55.142 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020873", "end": "2024-11-16 17:27:43.350581", "rc": 1, "start": "2024-11-16 17:27:43.329708" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:27:43 -0500 (0:00:00.499) 0:00:55.641 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:27:43 -0500 (0:00:00.141) 0:00:55.783 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003052", "end": "2024-11-16 17:27:44.162451", "rc": 0, "start": "2024-11-16 17:27:44.159399" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:27:44 -0500 (0:00:00.684) 0:00:56.468 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:27:44 -0500 (0:00:00.139) 0:00:56.608 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003133", "end": "2024-11-16 17:27:45.012959", "rc": 0, "start": "2024-11-16 17:27:45.009826" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.686) 0:00:57.294 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.098) 0:00:57.392 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.133) 0:00:57.525 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.093) 0:00:57.618 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.076) 0:00:57.695 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.077) 0:00:57.773 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.098) 0:00:57.871 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:27:45 -0500 (0:00:00.148) 0:00:58.020 ***** 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.050954", "end": "2024-11-16 17:27:46.286747", "rc": 0, "start": "2024-11-16 17:27:46.235793" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 16 November 2024 17:27:46 -0500 (0:00:00.546) 0:00:58.566 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:27:46 -0500 (0:00:00.107) 0:00:58.673 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:27:46 -0500 (0:00:00.045) 0:00:58.719 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:27:46 -0500 (0:00:00.100) 0:00:58.820 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:27:46 -0500 (0:00:00.080) 0:00:58.901 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:27:46 -0500 (0:00:00.202) 0:00:59.103 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004420", "end": "2024-11-16 17:27:48.476128", "rc": 0, "start": "2024-11-16 17:27:47.471708" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:27:48 -0500 (0:00:01.648) 0:01:00.752 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:27:48 -0500 (0:00:00.077) 0:01:00.829 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:27:48 -0500 (0:00:00.058) 0:01:00.888 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:27:48 -0500 (0:00:00.161) 0:01:01.049 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:27:48 -0500 (0:00:00.097) 0:01:01.147 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:27:49 -0500 (0:00:00.117) 0:01:01.264 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:27:49 -0500 (0:00:00.067) 0:01:01.331 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:27:49 -0500 (0:00:00.082) 0:01:01.414 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:27:49 -0500 (0:00:00.078) 0:01:01.493 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:27:51 -0500 (0:00:02.051) 0:01:03.545 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:27:53 -0500 (0:00:01.701) 0:01:05.246 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.054) 0:01:05.300 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.043) 0:01:05.344 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.081) 0:01:05.425 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.062) 0:01:05.488 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.085) 0:01:05.574 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.074) 0:01:05.648 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.080) 0:01:05.729 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.143) 0:01:05.872 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.074) 0:01:05.947 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.069) 0:01:06.017 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:27:53 -0500 (0:00:00.084) 0:01:06.101 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:27:54 -0500 (0:00:00.076) 0:01:06.177 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:27:54 -0500 (0:00:00.101) 0:01:06.279 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:27:54 -0500 (0:00:00.800) 0:01:07.079 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpbacchtvg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:27:55 -0500 (0:00:00.477) 0:01:07.557 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.647) 0:01:08.205 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.048) 0:01:08.253 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.066) 0:01:08.320 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.105) 0:01:08.426 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.097) 0:01:08.523 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.426) 0:01:08.950 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.052) 0:01:09.002 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:27:56 -0500 (0:00:00.115) 0:01:09.117 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:27:57 -0500 (0:00:00.143) 0:01:09.261 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:27:57 -0500 (0:00:00.089) 0:01:09.350 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:27:57 -0500 (0:00:00.073) 0:01:09.423 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:27:57 -0500 (0:00:00.049) 0:01:09.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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:27:59 -0500 (0:00:02.008) 0:01:11.481 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:28:01 -0500 (0:00:01.693) 0:01:13.175 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.066) 0:01:13.241 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.082) 0:01:13.323 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.048) 0:01:13.371 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.096) 0:01:13.468 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.107) 0:01:13.575 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.081) 0:01:13.656 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.092) 0:01:13.749 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.146) 0:01:13.895 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.051) 0:01:13.947 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.057) 0:01:14.005 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.061) 0:01:14.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.045) 0:01:14.111 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:28:01 -0500 (0:00:00.044) 0:01:14.156 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:28:02 -0500 (0:00:00.653) 0:01:14.809 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpt65idex_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:28:03 -0500 (0:00:00.605) 0:01:15.415 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:28:04 -0500 (0:00:01.097) 0:01:16.512 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:28:04 -0500 (0:00:00.129) 0:01:16.641 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:28:04 -0500 (0:00:00.072) 0:01:16.713 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:28:04 -0500 (0:00:00.075) 0:01:16.789 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:28:04 -0500 (0:00:00.069) 0:01:16.859 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.520) 0:01:17.380 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.130) 0:01:17.510 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.183) 0:01:17.694 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.153) 0:01:17.847 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.091) 0:01:17.939 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.073) 0:01:18.013 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:28:05 -0500 (0:00:00.084) 0:01:18.097 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:28:07 -0500 (0:00:02.029) 0:01:20.127 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:28:09 -0500 (0:00:01.740) 0:01:21.867 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:28:09 -0500 (0:00:00.093) 0:01:21.961 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:28:09 -0500 (0:00:00.141) 0:01:22.102 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.094) 0:01:22.197 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.126) 0:01:22.323 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.091) 0:01:22.415 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.071) 0:01:22.487 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.081) 0:01:22.568 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.134) 0:01:22.702 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.071) 0:01:22.774 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.076) 0:01:22.850 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.068) 0:01:22.919 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.049) 0:01:22.968 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:28:10 -0500 (0:00:00.051) 0:01:23.019 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:28:11 -0500 (0:00:00.700) 0:01:23.719 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpjbdt2ibn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:28:12 -0500 (0:00:00.563) 0:01:24.283 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:28:13 -0500 (0:00:00.950) 0:01:25.234 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:28:13 -0500 (0:00:00.044) 0:01:25.278 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:28:13 -0500 (0:00:00.056) 0:01:25.335 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:28:13 -0500 (0:00:00.090) 0:01:25.425 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:28:13 -0500 (0:00:00.150) 0:01:25.576 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.644) 0:01:26.221 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.107) 0:01:26.328 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.082) 0:01:26.411 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731796084.1356206, "block_size": 4096, "blocks": 0, "ctime": 1731796084.1356206, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35045, "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": 1731796084.1356206, "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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.517) 0:01:26.929 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.053) 0:01:26.982 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.115) 0:01:27.098 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:28:14 -0500 (0:00:00.051) 0:01:27.149 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:28:15 -0500 (0:00:00.454) 0:01:27.604 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:28:15 -0500 (0:00:00.044) 0:01:27.648 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021036", "end": "2024-11-16 17:28:15.847518", "rc": 1, "start": "2024-11-16 17:28:15.826482" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:28:15 -0500 (0:00:00.472) 0:01:28.121 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.063) 0:01:28.185 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.054) 0:01:28.240 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.055) 0:01:28.295 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.047) 0:01:28.342 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.045) 0:01:28.388 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.049) 0:01:28.437 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.047) 0:01:28.485 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.070) 0:01:28.555 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:28:16 -0500 (0:00:00.142) 0:01:28.698 ***** 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.050505", "end": "2024-11-16 17:28:16.961697", "rc": 0, "start": "2024-11-16 17:28:16.911192" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 16 November 2024 17:28:17 -0500 (0:00:00.514) 0:01:29.213 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:28:17 -0500 (0:00:00.112) 0:01:29.325 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:28:17 -0500 (0:00:00.081) 0:01:29.406 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:28:17 -0500 (0:00:00.192) 0:01:29.598 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:28:17 -0500 (0:00:00.188) 0:01:29.787 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:28:17 -0500 (0:00:00.117) 0:01:29.905 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003208", "end": "2024-11-16 17:28:18.161397", "rc": 0, "start": "2024-11-16 17:28:18.158189" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.545) 0:01:30.451 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.075) 0:01:30.526 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.084) 0:01:30.610 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.147) 0:01:30.757 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.155) 0:01:30.913 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.085) 0:01:30.999 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.056) 0:01:31.055 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.044) 0:01:31.099 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:28:18 -0500 (0:00:00.051) 0:01:31.151 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:28:21 -0500 (0:00:02.017) 0:01:33.168 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:28:22 -0500 (0:00:01.656) 0:01:34.825 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:28:22 -0500 (0:00:00.067) 0:01:34.893 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:28:22 -0500 (0:00:00.108) 0:01:35.001 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:28:22 -0500 (0:00:00.071) 0:01:35.072 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.096) 0:01:35.168 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.081) 0:01:35.250 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.075) 0:01:35.326 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.116) 0:01:35.443 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.219) 0:01:35.662 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.132) 0:01:35.794 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.106) 0:01:35.900 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.116) 0:01:36.016 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.072) 0:01:36.089 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:28:23 -0500 (0:00:00.075) 0:01:36.165 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:28:24 -0500 (0:00:00.738) 0:01:36.903 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmp3szyu9ni" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:28:25 -0500 (0:00:00.563) 0:01:37.467 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:28:25 -0500 (0:00:00.590) 0:01:38.057 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:28:25 -0500 (0:00:00.096) 0:01:38.154 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:28:26 -0500 (0:00:00.077) 0:01:38.231 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:28:26 -0500 (0:00:00.052) 0:01:38.284 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:28:26 -0500 (0:00:00.051) 0:01:38.336 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:28:26 -0500 (0:00:00.488) 0:01:38.824 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:28:26 -0500 (0:00:00.086) 0:01:38.911 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:28:26 -0500 (0:00:00.188) 0:01:39.100 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:28:27 -0500 (0:00:00.187) 0:01:39.287 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:28:27 -0500 (0:00:00.104) 0:01:39.391 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:28:27 -0500 (0:00:00.112) 0:01:39.504 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:28:27 -0500 (0:00:00.077) 0:01:39.582 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:28:29 -0500 (0:00:01.896) 0:01:41.478 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:28:31 -0500 (0:00:01.757) 0:01:43.235 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.076) 0:01:43.311 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.072) 0:01:43.384 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.092) 0:01:43.476 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.073) 0:01:43.550 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.083) 0:01:43.633 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.074) 0:01:43.707 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.081) 0:01:43.789 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.151) 0:01:43.940 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.106) 0:01:44.047 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:28:31 -0500 (0:00:00.072) 0:01:44.120 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:28:32 -0500 (0:00:00.091) 0:01:44.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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:28:32 -0500 (0:00:00.181) 0:01:44.392 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:28:32 -0500 (0:00:00.073) 0:01:44.466 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:28:33 -0500 (0:00:00.749) 0:01:45.215 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmplfy_3sic" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:28:33 -0500 (0:00:00.462) 0:01:45.678 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:28:34 -0500 (0:00:00.870) 0:01:46.548 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:28:34 -0500 (0:00:00.073) 0:01:46.622 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:28:34 -0500 (0:00:00.082) 0:01:46.704 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:28:34 -0500 (0:00:00.075) 0:01:46.780 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:28:34 -0500 (0:00:00.073) 0:01:46.853 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 17:28:35 -0500 (0:00:00.469) 0:01:47.323 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:28:35 -0500 (0:00:00.111) 0:01:47.435 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:28:35 -0500 (0:00:00.086) 0:01:47.522 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:28:35 -0500 (0:00:00.055) 0:01:47.577 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:28:35 -0500 (0:00:00.044) 0:01:47.622 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:28:35 -0500 (0:00:00.045) 0:01:47.667 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:28:37 -0500 (0:00:01.894) 0:01:49.562 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:28:39 -0500 (0:00:01.685) 0:01:51.247 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.061) 0:01:51.309 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.047) 0:01:51.356 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.044) 0:01:51.401 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.043) 0:01:51.444 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.054) 0:01:51.499 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.045) 0:01:51.544 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.051) 0:01:51.595 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.133) 0:01:51.729 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.138) 0:01:51.867 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.091) 0:01:51.959 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:28:39 -0500 (0:00:00.151) 0:01:52.111 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:28:40 -0500 (0:00:00.130) 0:01:52.241 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:28:40 -0500 (0:00:00.079) 0:01:52.321 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:28:40 -0500 (0:00:00.829) 0:01:53.151 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpd931ak1m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:28:41 -0500 (0:00:00.484) 0:01:53.635 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:28:42 -0500 (0:00:00.895) 0:01:54.531 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:28:42 -0500 (0:00:00.106) 0:01:54.637 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:28:42 -0500 (0:00:00.075) 0:01:54.713 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:28:42 -0500 (0:00:00.073) 0:01:54.786 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:28:42 -0500 (0:00:00.060) 0:01:54.847 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.482) 0:01:55.329 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.135) 0:01:55.465 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.149) 0:01:55.614 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.115) 0:01:55.729 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.091) 0:01:55.821 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.076) 0:01:55.897 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:28:43 -0500 (0:00:00.052) 0:01:55.950 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:28:45 -0500 (0:00:01.945) 0:01:57.895 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:28:47 -0500 (0:00:01.855) 0:01:59.751 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:28:47 -0500 (0:00:00.077) 0:01:59.829 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:28:47 -0500 (0:00:00.080) 0:01:59.909 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:28:47 -0500 (0:00:00.073) 0:01:59.983 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:28:47 -0500 (0:00:00.077) 0:02:00.061 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:28:47 -0500 (0:00:00.083) 0:02:00.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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.057) 0:02:00.202 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.106) 0:02:00.309 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.137) 0:02:00.447 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.049) 0:02:00.496 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.106) 0:02:00.602 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.058) 0:02:00.661 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.044) 0:02:00.705 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:28:48 -0500 (0:00:00.050) 0:02:00.756 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:28:49 -0500 (0:00:00.798) 0:02:01.555 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmp3bsjmafa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:28:50 -0500 (0:00:00.776) 0:02:02.331 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:28:50 -0500 (0:00:00.791) 0:02:03.123 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:28:50 -0500 (0:00:00.044) 0:02:03.167 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:28:51 -0500 (0:00:00.054) 0:02:03.222 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:28:51 -0500 (0:00:00.071) 0:02:03.293 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:28:51 -0500 (0:00:00.091) 0:02:03.385 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:28:51 -0500 (0:00:00.496) 0:02:03.882 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 17:28:51 -0500 (0:00:00.273) 0:02:04.156 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:28:52 -0500 (0:00:00.174) 0:02:04.330 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:28:52 -0500 (0:00:00.130) 0:02:04.461 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:28:52 -0500 (0:00:00.586) 0:02:05.048 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:28:52 -0500 (0:00:00.074) 0:02:05.122 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021274", "end": "2024-11-16 17:28:53.378085", "rc": 1, "start": "2024-11-16 17:28:53.356811" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.546) 0:02:05.668 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.075) 0:02:05.744 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.075) 0:02:05.819 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.077) 0:02:05.897 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.093) 0:02:05.991 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.088) 0:02:06.079 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:28:53 -0500 (0:00:00.072) 0:02:06.152 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:28:54 -0500 (0:00:00.065) 0:02:06.217 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:28:54 -0500 (0:00:00.131) 0:02:06.349 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:28:54 -0500 (0:00:00.112) 0:02:06.462 ***** 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.047157", "end": "2024-11-16 17:28:54.755707", "rc": 0, "start": "2024-11-16 17:28:54.708550" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 16 November 2024 17:28:54 -0500 (0:00:00.583) 0:02:07.045 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 17:28:55 -0500 (0:00:00.132) 0:02:07.178 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 17:28:55 -0500 (0:00:00.066) 0:02:07.244 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 17:28:55 -0500 (0:00:00.120) 0:02:07.365 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 17:28:55 -0500 (0:00:00.080) 0:02:07.445 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 17:28:55 -0500 (0:00:00.070) 0:02:07.516 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004399", "end": "2024-11-16 17:28:56.702444", "rc": 0, "start": "2024-11-16 17:28:55.698045" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 17:28:56 -0500 (0:00:01.436) 0:02:08.953 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 17:28:56 -0500 (0:00:00.069) 0:02:09.023 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 17:28:56 -0500 (0:00:00.064) 0:02:09.087 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 17:28:57 -0500 (0:00:00.106) 0:02:09.194 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:28:57 -0500 (0:00:00.095) 0:02:09.289 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:28:57 -0500 (0:00:00.087) 0:02:09.377 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:28:57 -0500 (0:00:00.055) 0:02:09.432 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:28:57 -0500 (0:00:00.044) 0:02:09.476 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:28:57 -0500 (0:00:00.044) 0:02:09.521 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:28:59 -0500 (0:00:01.870) 0:02:11.391 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:29:00 -0500 (0:00:01.676) 0:02:13.068 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:29:00 -0500 (0:00:00.056) 0:02:13.125 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.056) 0:02:13.181 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.050) 0:02:13.232 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.081) 0:02:13.313 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.054) 0:02:13.367 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.049) 0:02:13.417 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.080) 0:02:13.498 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.150) 0:02:13.648 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.065) 0:02:13.713 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.076) 0:02:13.790 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.132) 0:02:13.922 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:29:01 -0500 (0:00:00.124) 0:02:14.046 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:29:02 -0500 (0:00:00.146) 0:02:14.193 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:29:02 -0500 (0:00:00.767) 0:02:14.961 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmphfhempeg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:29:03 -0500 (0:00:00.451) 0:02:15.413 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:29:03 -0500 (0:00:00.720) 0:02:16.134 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.076) 0:02:16.211 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.063) 0:02:16.274 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.069) 0:02:16.344 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.070) 0:02:16.415 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.536) 0:02:16.951 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.059) 0:02:17.011 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:29:04 -0500 (0:00:00.133) 0:02:17.145 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:29:05 -0500 (0:00:00.131) 0:02:17.276 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:29:05 -0500 (0:00:00.064) 0:02:17.340 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:29:05 -0500 (0:00:00.051) 0:02:17.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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:29:05 -0500 (0:00:00.044) 0:02:17.437 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:29:07 -0500 (0:00:01.852) 0:02:19.289 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:29:08 -0500 (0:00:01.840) 0:02:21.129 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.100) 0:02:21.230 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.076) 0:02:21.306 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.057) 0:02:21.363 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.087) 0:02:21.451 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.060) 0:02:21.511 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.043) 0:02:21.555 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.051) 0:02:21.607 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.103) 0:02:21.711 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.048) 0:02:21.759 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.044) 0:02:21.803 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.051) 0:02:21.855 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.044) 0:02:21.899 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:29:09 -0500 (0:00:00.044) 0:02:21.944 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:29:10 -0500 (0:00:00.596) 0:02:22.541 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmprqgtc_z2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:29:10 -0500 (0:00:00.428) 0:02:22.969 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:29:11 -0500 (0:00:00.935) 0:02:23.904 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:29:11 -0500 (0:00:00.045) 0:02:23.949 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:29:11 -0500 (0:00:00.047) 0:02:23.997 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:29:11 -0500 (0:00:00.047) 0:02:24.045 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:29:11 -0500 (0:00:00.046) 0:02:24.092 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 17:29:12 -0500 (0:00:00.396) 0:02:24.488 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:29:12 -0500 (0:00:00.076) 0:02:24.565 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:29:12 -0500 (0:00:00.133) 0:02:24.699 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:29:12 -0500 (0:00:00.091) 0:02:24.790 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:29:12 -0500 (0:00:00.071) 0:02:24.862 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:29:12 -0500 (0:00:00.067) 0:02:24.929 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:29:14 -0500 (0:00:02.018) 0:02:26.947 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:29:16 -0500 (0:00:01.627) 0:02:28.574 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.081) 0:02:28.656 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.043) 0:02:28.699 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.044) 0:02:28.744 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.044) 0:02:28.789 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.053) 0:02:28.842 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.044) 0:02:28.887 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.051) 0:02:28.939 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.089) 0:02:29.028 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.044) 0:02:29.073 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:29:16 -0500 (0:00:00.044) 0:02:29.117 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:29:17 -0500 (0:00:00.050) 0:02:29.168 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:29:17 -0500 (0:00:00.058) 0:02:29.227 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:29:17 -0500 (0:00:00.053) 0:02:29.281 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:29:17 -0500 (0:00:00.615) 0:02:29.897 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmp2guvxyzy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:29:18 -0500 (0:00:00.431) 0:02:30.328 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:29:18 -0500 (0:00:00.570) 0:02:30.898 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:29:18 -0500 (0:00:00.044) 0:02:30.943 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:29:18 -0500 (0:00:00.047) 0:02:30.990 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:29:18 -0500 (0:00:00.047) 0:02:31.038 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:29:18 -0500 (0:00:00.044) 0:02:31.082 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 17:29:19 -0500 (0:00:00.447) 0:02:31.529 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 17:29:19 -0500 (0:00:00.150) 0:02:31.680 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 17:29:19 -0500 (0:00:00.126) 0:02:31.807 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 17:29:19 -0500 (0:00:00.179) 0:02:31.986 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 17:29:20 -0500 (0:00:00.351) 0:02:32.338 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 17:29:20 -0500 (0:00:00.106) 0:02:32.444 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 17:29:20 -0500 (0:00:00.093) 0:02:32.538 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 17:29:22 -0500 (0:00:01.975) 0:02:34.514 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 17:29:24 -0500 (0:00:01.745) 0:02:36.259 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.119) 0:02:36.379 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.158) 0:02:36.538 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.097) 0:02:36.636 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.096) 0:02:36.732 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.181) 0:02:36.913 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.121) 0:02:37.034 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 17:29:24 -0500 (0:00:00.101) 0:02:37.136 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 17:29:25 -0500 (0:00:00.142) 0:02:37.279 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 17:29:25 -0500 (0:00:00.064) 0:02:37.343 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 17:29:25 -0500 (0:00:00.056) 0:02:37.400 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 17:29:25 -0500 (0:00:00.057) 0:02:37.458 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 17:29:25 -0500 (0:00:00.044) 0:02:37.502 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 17:29:25 -0500 (0:00:00.051) 0:02:37.553 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 17:29:26 -0500 (0:00:00.820) 0:02:38.374 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49885b4qksy6w/tmpvb3ehtb2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 17:29:27 -0500 (0:00:00.863) 0:02:39.237 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 17:29:27 -0500 (0:00:00.671) 0:02:39.908 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 17:29:27 -0500 (0:00:00.101) 0:02:40.009 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 17:29:27 -0500 (0:00:00.124) 0:02:40.134 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 17:29:28 -0500 (0:00:00.075) 0:02:40.210 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 17:29:28 -0500 (0:00:00.114) 0:02:40.325 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 17:29:28 -0500 (0:00:00.540) 0:02:40.865 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 17:29:28 -0500 (0:00:00.136) 0:02:41.002 ***** included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 17:29:28 -0500 (0:00:00.096) 0:02:41.098 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 17:29:28 -0500 (0:00:00.052) 0:02:41.151 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 17:29:29 -0500 (0:00:00.465) 0:02:41.617 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 17:29:29 -0500 (0:00:00.043) 0:02:41.660 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020411", "end": "2024-11-16 17:29:29.846361", "rc": 1, "start": "2024-11-16 17:29:29.825950" } 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 17:29:29 -0500 (0:00:00.432) 0:02:42.093 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 17:29:29 -0500 (0:00:00.057) 0:02:42.150 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 17:29:30 -0500 (0:00:00.054) 0:02:42.205 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 17:29:30 -0500 (0:00:00.060) 0:02:42.265 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 17:29:30 -0500 (0:00:00.046) 0:02:42.312 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 17:29:30 -0500 (0:00:00.051) 0:02:42.363 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 16 November 2024 17:29:30 -0500 (0:00:00.051) 0:02:42.415 ***** [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.956824", "end": "2024-11-16 17:29:31.567098", "rc": 0, "start": "2024-11-16 17:29:30.610274" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 16 November 2024 17:29:31 -0500 (0:00:01.436) 0:02:43.852 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 16 November 2024 17:29:31 -0500 (0:00:00.043) 0:02:43.895 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 17:29:31 -0500 (0:00:00.096) 0:02:43.991 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 17:29:31 -0500 (0:00:00.080) 0:02:44.072 ***** 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 17:29:31 -0500 (0:00:00.072) 0:02:44.144 ***** included: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-fZ2/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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 17:29:32 -0500 (0:00:00.184) 0:02:44.329 ***** 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.049184", "end": "2024-11-16 17:29:32.798632", "rc": 0, "start": "2024-11-16 17:29:32.749448" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 16 November 2024 17:29:33 -0500 (0:00:00.862) 0:02:45.192 ***** 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.009068", "end": "2024-11-16 17:29:33.501099", "rc": 0, "start": "2024-11-16 17:29:33.492031" } 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:1b:dc:ba:2a:b7 brd ff:ff:ff:ff:ff:ff inet 10.31.10.200/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2599sec preferred_lft 2599sec inet6 fe80::101b:dcff:feba:2ab7/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ee:cf:ac:ee:4c:f2 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.10.200 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.200 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-fZ2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 16 November 2024 17:29:33 -0500 (0:00:00.553) 0:02:45.745 ***** 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.145234", "end": "2024-11-16 17:29:34.117318", "rc": 0, "start": "2024-11-16 17:29:33.972084" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 6224 0 --:--:-- --:--:-- --:--:-- 6224 % 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 4217 0 --:--:-- --:--:-- --:--:-- 4217 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 16 November 2024 17:29:34 -0500 (0:00:00.603) 0:02:46.349 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.08s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 2.04s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.01s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-fZ2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26