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-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 30 November 2024 07:55:18 -0500 (0:00:00.023) 0:00:00.023 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 30 November 2024 07:55:19 -0500 (0:00:01.003) 0:00:01.027 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.042) 0:00:01.069 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.532) 0:00:01.602 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.532) 0:00:02.134 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.046) 0:00:02.181 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.053) 0:00:02.234 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.110) 0:00:02.344 ***** ok: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.662) 0:00:03.007 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.028) 0:00:03.036 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.041) 0:00:03.078 ***** [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-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.266821", "end": "2024-11-30 07:55:22.636083", "rc": 0, "start": "2024-11-30 07:55:22.369262" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.753) 0:00:03.831 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.019) 0:00:03.850 ***** ok: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.032) 0:00:03.883 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.766) 0:00:04.649 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.031) 0:00:04.681 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.072) 0:00:04.753 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.047) 0:00:04.801 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.122) 0:00:04.923 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.076) 0:00:05.000 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.048) 0:00:05.048 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2024-11-30 07:55:24.273878", "rc": 0, "start": "2024-11-30 07:55:24.270689" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.423) 0:00:05.472 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.030) 0:00:05.502 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.029) 0:00:05.532 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.067) 0:00:05.600 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008145", "end": "2024-11-30 07:55:24.915560", "rc": 1, "start": "2024-11-30 07:55:24.907415" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.498) 0:00:06.099 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.039) 0:00:06.138 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.504) 0:00:06.642 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.048) 0:00:06.690 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.054) 0:00:06.744 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.162) 0:00:06.907 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.048) 0:00:06.955 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.025) 0:00:06.981 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.022) 0:00:07.003 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.021) 0:00:07.024 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:27 -0500 (0:00:02.018) 0:00:09.043 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:29 -0500 (0:00:01.885) 0:00:10.929 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:29 -0500 (0:00:00.081) 0:00:11.011 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:29 -0500 (0:00:00.055) 0:00:11.066 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:29 -0500 (0:00:00.049) 0:00:11.115 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.041) 0:00:11.157 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.067) 0:00:11.224 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.061) 0:00:11.286 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.132) 0:00:11.418 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.182) 0:00:11.600 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.086) 0:00:11.687 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.067) 0:00:11.754 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.115) 0:00:11.870 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.074) 0:00:11.945 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.120) 0:00:12.065 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:32 -0500 (0:00:01.295) 0:00:13.361 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmp97ja6ox2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.577) 0:00:13.938 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.938) 0:00:14.877 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.072) 0:00:14.950 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.068) 0:00:15.019 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.065) 0:00:15.084 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.075) 0:00:15.159 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.560) 0:00:15.720 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.053) 0:00:15.773 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.145) 0:00:15.919 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.122) 0:00:16.041 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.056) 0:00:16.098 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971333.6086786, "block_size": 4096, "blocks": 8, "ctime": 1732971333.6086786, "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": 1732971333.6086786, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.444) 0:00:16.542 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.081) 0:00:16.623 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020730", "end": "2024-11-30 07:55:35.900546", "rc": 1, "start": "2024-11-30 07:55:35.879816" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.487) 0:00:17.110 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.046) 0:00:17.157 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003030", "end": "2024-11-30 07:55:36.383900", "rc": 0, "start": "2024-11-30 07:55:36.380870" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.605) 0:00:17.762 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.132) 0:00:17.894 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003081", "end": "2024-11-30 07:55:37.202509", "rc": 0, "start": "2024-11-30 07:55:37.199428" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.524) 0:00:18.418 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.054) 0:00:18.473 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.047) 0:00:18.520 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.047) 0:00:18.568 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.056) 0:00:18.624 ***** skipping: [managed-node1] => (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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.077) 0:00:18.702 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.053) 0:00:18.756 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.092) 0:00:18.849 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042026", "end": "2024-11-30 07:55:38.104319", "rc": 1, "start": "2024-11-30 07:55:38.062293" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 30 November 2024 07:55:38 -0500 (0:00:00.472) 0:00:19.321 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:38 -0500 (0:00:00.082) 0:00:19.404 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:38 -0500 (0:00:00.107) 0:00:19.511 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:38 -0500 (0:00:00.176) 0:00:19.687 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:38 -0500 (0:00:00.237) 0:00:19.925 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:38 -0500 (0:00:00.107) 0:00:20.032 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004320", "end": "2024-11-30 07:55:40.251644", "rc": 0, "start": "2024-11-30 07:55:39.247324" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:40 -0500 (0:00:01.450) 0:00:21.483 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.080) 0:00:21.563 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.068) 0:00:21.632 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.206) 0:00:21.838 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006348", "end": "2024-11-30 07:55:41.204998", "rc": 1, "start": "2024-11-30 07:55:41.198650" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.611) 0:00:22.449 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.104) 0:00:22.554 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.425) 0:00:22.980 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.078) 0:00:23.058 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.128) 0:00:23.187 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.152) 0:00:23.339 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.206) 0:00:23.545 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.113) 0:00:23.658 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.073) 0:00:23.732 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.100) 0:00:23.832 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:44 -0500 (0:00:02.091) 0:00:25.924 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:46 -0500 (0:00:01.736) 0:00:27.661 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.071) 0:00:27.732 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.047) 0:00:27.780 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.071) 0:00:27.852 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.043) 0:00:27.896 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.054) 0:00:27.950 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.051) 0:00:28.001 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.080) 0:00:28.082 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.103) 0:00:28.186 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.053) 0:00:28.239 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.050) 0:00:28.289 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.050) 0:00:28.340 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.042) 0:00:28.382 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.042) 0:00:28.425 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.624) 0:00:29.049 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpwxd22yk8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.461) 0:00:29.511 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.607) 0:00:30.118 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.044) 0:00:30.162 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.047) 0:00:30.210 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.046) 0:00:30.256 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.044) 0:00:30.301 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.447) 0:00:30.748 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.086) 0:00:30.835 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.220) 0:00:31.056 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.149) 0:00:31.205 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.531) 0:00:31.737 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.119) 0:00:31.856 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.114) 0:00:31.970 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.057) 0:00:32.028 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971348.9141073, "block_size": 4096, "blocks": 8, "ctime": 1732971348.9141073, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971348.9141073, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:55:51 -0500 (0:00:00.445) 0:00:32.473 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:55:51 -0500 (0:00:00.083) 0:00:32.557 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020404", "end": "2024-11-30 07:55:51.936745", "rc": 1, "start": "2024-11-30 07:55:51.916341" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.616) 0:00:33.174 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.077) 0:00:33.252 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003008", "end": "2024-11-30 07:55:52.694986", "rc": 0, "start": "2024-11-30 07:55:52.691978" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.677) 0:00:33.929 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.067) 0:00:33.997 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002995", "end": "2024-11-30 07:55:53.226789", "rc": 0, "start": "2024-11-30 07:55:53.223794" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.479) 0:00:34.477 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.085) 0:00:34.563 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.080) 0:00:34.643 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.114) 0:00:34.757 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.058) 0:00:34.815 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.049) 0:00:34.865 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.075) 0:00:34.940 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.170) 0:00:35.111 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040626", "end": "2024-11-30 07:55:54.408438", "rc": 1, "start": "2024-11-30 07:55:54.367812" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.523) 0:00:35.634 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.166) 0:00:35.801 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.085) 0:00:35.886 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.137) 0:00:36.024 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.091) 0:00:36.116 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.084) 0:00:36.200 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003188", "end": "2024-11-30 07:55:55.465831", "rc": 0, "start": "2024-11-30 07:55:55.462643" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.503) 0:00:36.704 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.071) 0:00:36.775 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.070) 0:00:36.846 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.126) 0:00:36.972 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.135) 0:00:37.108 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.166) 0:00:37.275 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.115) 0:00:37.390 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.100) 0:00:37.491 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.065) 0:00:37.556 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:58 -0500 (0:00:02.036) 0:00:39.592 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:00 -0500 (0:00:01.806) 0:00:41.398 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.098) 0:00:41.497 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.093) 0:00:41.590 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.082) 0:00:41.673 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.070) 0:00:41.743 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.085) 0:00:41.829 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.121) 0:00:41.951 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.113) 0:00:42.064 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.205) 0:00:42.269 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.141) 0:00:42.410 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.074) 0:00:42.484 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.088) 0:00:42.573 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.053) 0:00:42.626 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.090) 0:00:42.717 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.782) 0:00:43.499 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmph1cf42u5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.462) 0:00:43.962 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.609) 0:00:44.572 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.093) 0:00:44.665 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.075) 0:00:44.740 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.091) 0:00:44.832 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.044) 0:00:44.877 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.485) 0:00:45.363 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.079) 0:00:45.442 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.225) 0:00:45.668 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.134) 0:00:45.802 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.107) 0:00:45.910 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.054) 0:00:45.964 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.050) 0:00:46.015 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.066) 0:00:46.081 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:06 -0500 (0:00:01.987) 0:00:48.069 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:08 -0500 (0:00:01.669) 0:00:49.738 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:08 -0500 (0:00:00.071) 0:00:49.810 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:08 -0500 (0:00:00.053) 0:00:49.863 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:08 -0500 (0:00:00.070) 0:00:49.934 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:08 -0500 (0:00:00.109) 0:00:50.044 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.086) 0:00:50.130 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.071) 0:00:50.202 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.066) 0:00:50.268 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.103) 0:00:50.371 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.043) 0:00:50.414 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.044) 0:00:50.459 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.051) 0:00:50.511 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.043) 0:00:50.554 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:09 -0500 (0:00:00.044) 0:00:50.599 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.647) 0:00:51.246 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpfar4f8bn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.574) 0:00:51.821 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:12 -0500 (0:00:01.368) 0:00:53.190 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.145) 0:00:53.335 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.119) 0:00:53.455 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.061) 0:00:53.516 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.080) 0:00:53.597 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.478) 0:00:54.075 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.103) 0:00:54.179 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.096) 0:00:54.276 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971371.7068582, "block_size": 4096, "blocks": 0, "ctime": 1732971371.7068582, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34997, "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": 1732971371.7068582, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.547) 0:00:54.824 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.112) 0:00:54.937 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.180) 0:00:55.117 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.106) 0:00:55.224 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971371.5222633, "block_size": 4096, "blocks": 8, "ctime": 1732971363.329569, "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": 1732971363.329569, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.483) 0:00:55.708 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.059) 0:00:55.767 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021220", "end": "2024-11-30 07:56:15.037084", "rc": 1, "start": "2024-11-30 07:56:15.015864" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.497) 0:00:56.265 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.096) 0:00:56.361 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003233", "end": "2024-11-30 07:56:15.625221", "rc": 0, "start": "2024-11-30 07:56:15.621988" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.531) 0:00:56.893 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.134) 0:00:57.028 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003083", "end": "2024-11-30 07:56:16.401376", "rc": 0, "start": "2024-11-30 07:56:16.398293" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.613) 0:00:57.641 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.096) 0:00:57.737 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.082) 0:00:57.820 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.078) 0:00:57.898 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.084) 0:00:57.983 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.067) 0:00:58.050 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.129) 0:00:58.180 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.194) 0:00:58.374 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.053413", "end": "2024-11-30 07:56:17.824643", "rc": 0, "start": "2024-11-30 07:56:17.771230" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.656) 0:00:59.031 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:17 -0500 (0:00:00.083) 0:00:59.114 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.064) 0:00:59.178 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.147) 0:00:59.326 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.127) 0:00:59.454 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.135) 0:00:59.589 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003212", "end": "2024-11-30 07:56:18.834721", "rc": 0, "start": "2024-11-30 07:56:18.831509" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.452) 0:01:00.041 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.053) 0:01:00.094 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.115) 0:01:00.209 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.142) 0:01:00.352 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.219) 0:01:00.572 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.129) 0:01:00.701 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.072) 0:01:00.774 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.056) 0:01:00.830 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.053) 0:01:00.884 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:21 -0500 (0:00:01.996) 0:01:02.880 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:23 -0500 (0:00:01.675) 0:01:04.555 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.061) 0:01:04.617 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.069) 0:01:04.687 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.079) 0:01:04.766 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.087) 0:01:04.854 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.086) 0:01:04.941 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.074) 0:01:05.016 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.165) 0:01:05.182 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.142) 0:01:05.324 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.087) 0:01:05.411 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.072) 0:01:05.484 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.083) 0:01:05.568 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.089) 0:01:05.657 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.144) 0:01:05.802 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.845) 0:01:06.648 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpsbosntj_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.695) 0:01:07.344 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.641) 0:01:07.985 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.076) 0:01:08.062 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.071) 0:01:08.133 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.068) 0:01:08.201 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.050) 0:01:08.252 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.444) 0:01:08.696 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.078) 0:01:08.775 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.126) 0:01:08.902 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.119) 0:01:09.021 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.104) 0:01:09.125 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.071) 0:01:09.197 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.053) 0:01:09.250 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:30 -0500 (0:00:02.137) 0:01:11.388 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:32 -0500 (0:00:01.748) 0:01:13.136 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.090) 0:01:13.226 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.104) 0:01:13.331 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.094) 0:01:13.426 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.080) 0:01:13.507 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.111) 0:01:13.619 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.107) 0:01:13.726 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.110) 0:01:13.837 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.139) 0:01:13.976 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.098) 0:01:14.074 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.051) 0:01:14.126 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.052) 0:01:14.178 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.046) 0:01:14.224 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.044) 0:01:14.268 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.675) 0:01:14.944 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpj0u2_ya3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.628) 0:01:15.572 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:35 -0500 (0:00:00.947) 0:01:16.520 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:35 -0500 (0:00:00.044) 0:01:16.565 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:35 -0500 (0:00:00.048) 0:01:16.613 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:35 -0500 (0:00:00.046) 0:01:16.660 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:35 -0500 (0:00:00.079) 0:01:16.739 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.435) 0:01:17.175 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.138) 0:01:17.313 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.170) 0:01:17.484 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.230) 0:01:17.714 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.105) 0:01:17.820 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.078) 0:01:17.898 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.097) 0:01:17.996 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:38 -0500 (0:00:02.039) 0:01:20.035 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:40 -0500 (0:00:01.743) 0:01:21.779 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.059) 0:01:21.839 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.067) 0:01:21.906 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.070) 0:01:21.977 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.070) 0:01:22.048 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.086) 0:01:22.134 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.069) 0:01:22.204 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.097) 0:01:22.302 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.117) 0:01:22.419 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.055) 0:01:22.474 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.044) 0:01:22.519 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.051) 0:01:22.570 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.048) 0:01:22.619 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.057) 0:01:22.676 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:42 -0500 (0:00:00.727) 0:01:23.403 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmppohdo0kb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:42 -0500 (0:00:00.479) 0:01:23.883 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.610) 0:01:24.493 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.070) 0:01:24.564 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.086) 0:01:24.650 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.130) 0:01:24.781 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.073) 0:01:24.855 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.690) 0:01:25.545 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.169) 0:01:25.715 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.130) 0:01:25.845 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971395.217129, "block_size": 4096, "blocks": 0, "ctime": 1732971395.217129, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35128, "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": 1732971395.217129, "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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.451) 0:01:26.297 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.079) 0:01:26.376 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.136) 0:01:26.513 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.075) 0:01:26.588 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.466) 0:01:27.055 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.136) 0:01:27.191 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020632", "end": "2024-11-30 07:56:46.669525", "rc": 1, "start": "2024-11-30 07:56:46.648893" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.726) 0:01:27.917 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.064) 0:01:27.982 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.064) 0:01:28.046 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.094) 0:01:28.141 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.151) 0:01:28.293 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.130) 0:01:28.423 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.158) 0:01:28.581 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.058) 0:01:28.640 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.055) 0:01:28.696 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.125) 0:01:28.821 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050793", "end": "2024-11-30 07:56:48.077619", "rc": 0, "start": "2024-11-30 07:56:48.026826" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.486) 0:01:29.308 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.139) 0:01:29.447 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.114) 0:01:29.561 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.135) 0:01:29.697 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.140) 0:01:29.841 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.086) 0:01:29.927 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003104", "end": "2024-11-30 07:56:49.125998", "rc": 0, "start": "2024-11-30 07:56:49.122894" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.498) 0:01:30.426 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.071) 0:01:30.497 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.072) 0:01:30.570 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.169) 0:01:30.740 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.130) 0:01:30.870 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.211) 0:01:31.082 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.220) 0:01:31.303 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.122) 0:01:31.425 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:50 -0500 (0:00:00.072) 0:01:31.498 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:52 -0500 (0:00:01.882) 0:01:33.381 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:53 -0500 (0:00:01.665) 0:01:35.047 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.050) 0:01:35.097 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.044) 0:01:35.142 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.044) 0:01:35.187 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.044) 0:01:35.231 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.067) 0:01:35.298 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.069) 0:01:35.367 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.085) 0:01:35.452 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.149) 0:01:35.602 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.073) 0:01:35.676 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.072) 0:01:35.748 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.082) 0:01:35.831 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.063) 0:01:35.894 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.049) 0:01:35.944 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.685) 0:01:36.629 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmp2ai2c91r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.409) 0:01:37.038 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.545) 0:01:37.584 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.064) 0:01:37.648 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.067) 0:01:37.715 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.096) 0:01:37.812 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.124) 0:01:37.936 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.609) 0:01:38.545 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.074) 0:01:38.620 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.116) 0:01:38.737 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.145) 0:01:38.883 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.088) 0:01:38.972 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.094) 0:01:39.066 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:57 -0500 (0:00:00.058) 0:01:39.125 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:59 -0500 (0:00:01.793) 0:01:40.918 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:01 -0500 (0:00:01.621) 0:01:42.540 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.046) 0:01:42.586 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.045) 0:01:42.631 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.048) 0:01:42.680 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.055) 0:01:42.735 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.055) 0:01:42.790 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.045) 0:01:42.835 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.050) 0:01:42.886 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.093) 0:01:42.980 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.054) 0:01:43.034 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.056) 0:01:43.091 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.081) 0:01:43.172 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.052) 0:01:43.224 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.056) 0:01:43.281 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.600) 0:01:43.882 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmp9319_2e2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.461) 0:01:44.343 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.841) 0:01:45.185 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.074) 0:01:45.259 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.080) 0:01:45.339 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.079) 0:01:45.419 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.076) 0:01:45.496 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.425) 0:01:45.922 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.082) 0:01:46.004 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.127) 0:01:46.132 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.143) 0:01:46.276 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.073) 0:01:46.350 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.075) 0:01:46.425 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:07 -0500 (0:00:01.972) 0:01:48.397 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:09 -0500 (0:00:01.733) 0:01:50.131 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.059) 0:01:50.190 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.060) 0:01:50.251 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.076) 0:01:50.327 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.091) 0:01:50.419 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.089) 0:01:50.509 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.079) 0:01:50.588 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.086) 0:01:50.674 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.118) 0:01:50.793 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.074) 0:01:50.867 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.078) 0:01:50.946 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.056) 0:01:51.003 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.066) 0:01:51.069 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:09 -0500 (0:00:00.049) 0:01:51.119 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:10 -0500 (0:00:00.684) 0:01:51.803 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpw2og9e77" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.590) 0:01:52.394 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.721) 0:01:53.116 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.079) 0:01:53.196 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.091) 0:01:53.287 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.084) 0:01:53.372 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.075) 0:01:53.447 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.704) 0:01:54.152 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.088) 0:01:54.240 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.114) 0:01:54.355 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.141) 0:01:54.496 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.156) 0:01:54.653 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.142) 0:01:54.796 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.092) 0:01:54.888 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:15 -0500 (0:00:01.991) 0:01:56.879 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:17 -0500 (0:00:01.638) 0:01:58.518 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.139) 0:01:58.658 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.157) 0:01:58.815 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.075) 0:01:58.891 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.090) 0:01:58.981 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:17 -0500 (0:00:00.100) 0:01:59.082 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.102) 0:01:59.184 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.089) 0:01:59.274 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.113) 0:01:59.387 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.068) 0:01:59.456 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.056) 0:01:59.512 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.062) 0:01:59.575 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.048) 0:01:59.623 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.053) 0:01:59.677 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.738) 0:02:00.415 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpcbl8znkc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.543) 0:02:00.959 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.705) 0:02:01.665 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.044) 0:02:01.710 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.046) 0:02:01.756 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.055) 0:02:01.811 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.071) 0:02:01.883 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.433) 0:02:02.317 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.108) 0:02:02.425 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.083) 0:02:02.509 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.050) 0:02:02.560 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.442) 0:02:03.003 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.082) 0:02:03.085 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020246", "end": "2024-11-30 07:57:22.311241", "rc": 1, "start": "2024-11-30 07:57:22.290995" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.459) 0:02:03.545 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.078) 0:02:03.624 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.133) 0:02:03.757 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.077) 0:02:03.835 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.068) 0:02:03.903 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.071) 0:02:03.975 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.079) 0:02:04.054 ***** skipping: [managed-node1] => (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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.079) 0:02:04.133 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.072) 0:02:04.205 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.142) 0:02:04.348 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049279", "end": "2024-11-30 07:57:23.628605", "rc": 0, "start": "2024-11-30 07:57:23.579326" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.492) 0:02:04.841 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.143) 0:02:04.984 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:57:23 -0500 (0:00:00.046) 0:02:05.030 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.105) 0:02:05.135 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.073) 0:02:05.209 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.078) 0:02:05.287 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2024-11-30 07:57:24.532199", "rc": 0, "start": "2024-11-30 07:57:24.529047" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.461) 0:02:05.749 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.073) 0:02:05.823 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.047) 0:02:05.870 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.094) 0:02:05.965 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:24 -0500 (0:00:00.077) 0:02:06.043 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.148) 0:02:06.192 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.082) 0:02:06.275 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.079) 0:02:06.354 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.073) 0:02:06.428 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:27 -0500 (0:00:01.860) 0:02:08.288 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:28 -0500 (0:00:01.716) 0:02:10.004 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.075) 0:02:10.079 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.078) 0:02:10.158 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.054) 0:02:10.212 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.052) 0:02:10.265 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.064) 0:02:10.329 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.063) 0:02:10.392 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.072) 0:02:10.465 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.138) 0:02:10.604 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.081) 0:02:10.685 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.071) 0:02:10.756 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.080) 0:02:10.837 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.070) 0:02:10.908 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:29 -0500 (0:00:00.071) 0:02:10.979 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:30 -0500 (0:00:00.798) 0:02:11.778 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpwglp2m7b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:31 -0500 (0:00:00.495) 0:02:12.273 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:31 -0500 (0:00:00.775) 0:02:13.049 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.134) 0:02:13.183 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.100) 0:02:13.284 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.121) 0:02:13.406 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.108) 0:02:13.515 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.578) 0:02:14.094 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.087) 0:02:14.181 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.155) 0:02:14.336 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.161) 0:02:14.497 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.145) 0:02:14.643 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.070) 0:02:14.714 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.051) 0:02:14.766 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:35 -0500 (0:00:01.857) 0:02:16.623 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:37 -0500 (0:00:01.693) 0:02:18.316 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.073) 0:02:18.390 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.084) 0:02:18.474 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.097) 0:02:18.572 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.077) 0:02:18.649 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.084) 0:02:18.734 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.078) 0:02:18.812 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.086) 0:02:18.898 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.106) 0:02:19.004 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.059) 0:02:19.064 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.051) 0:02:19.116 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.052) 0:02:19.168 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.043) 0:02:19.211 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.044) 0:02:19.256 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.675) 0:02:19.931 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpgdgfip3m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.467) 0:02:20.399 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.939) 0:02:21.339 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.069) 0:02:21.408 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.079) 0:02:21.488 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.082) 0:02:21.571 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.056) 0:02:21.628 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.411) 0:02:22.040 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:40 -0500 (0:00:00.076) 0:02:22.116 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:41 -0500 (0:00:00.088) 0:02:22.205 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:41 -0500 (0:00:00.137) 0:02:22.343 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:41 -0500 (0:00:00.046) 0:02:22.389 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:41 -0500 (0:00:00.046) 0:02:22.435 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:43 -0500 (0:00:01.808) 0:02:24.244 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:44 -0500 (0:00:01.612) 0:02:25.856 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.049) 0:02:25.906 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.044) 0:02:25.951 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.045) 0:02:25.997 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:44 -0500 (0:00:00.052) 0:02:26.049 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.082) 0:02:26.131 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.068) 0:02:26.200 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.082) 0:02:26.282 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.141) 0:02:26.423 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.075) 0:02:26.499 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.067) 0:02:26.566 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.060) 0:02:26.627 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.058) 0:02:26.685 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:45 -0500 (0:00:00.068) 0:02:26.753 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.632) 0:02:27.385 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpa3fam7o4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:46 -0500 (0:00:00.469) 0:02:27.855 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.665) 0:02:28.520 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.122) 0:02:28.643 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.121) 0:02:28.765 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.088) 0:02:28.853 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:47 -0500 (0:00:00.093) 0:02:28.946 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.512) 0:02:29.459 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.168) 0:02:29.627 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.132) 0:02:29.760 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.203) 0:02:29.963 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:48 -0500 (0:00:00.143) 0:02:30.106 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:49 -0500 (0:00:00.086) 0:02:30.193 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:49 -0500 (0:00:00.072) 0:02:30.266 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:51 -0500 (0:00:01.865) 0:02:32.131 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:52 -0500 (0:00:01.847) 0:02:33.978 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:52 -0500 (0:00:00.057) 0:02:34.035 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:52 -0500 (0:00:00.055) 0:02:34.091 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.045) 0:02:34.136 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.044) 0:02:34.181 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.056) 0:02:34.238 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.067) 0:02:34.306 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.075) 0:02:34.381 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.143) 0:02:34.525 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.072) 0:02:34.597 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.072) 0:02:34.670 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.093) 0:02:34.763 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.077) 0:02:34.841 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:53 -0500 (0:00:00.127) 0:02:34.968 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:54 -0500 (0:00:00.784) 0:02:35.752 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-498983qnjfkvj/tmpkg7fuj8h" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.469) 0:02:36.222 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.585) 0:02:36.808 ***** skipping: [managed-node1] => { "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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.109) 0:02:36.917 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.075) 0:02:36.993 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:55 -0500 (0:00:00.077) 0:02:37.070 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.085) 0:02:37.155 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.540) 0:02:37.696 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.106) 0:02:37.803 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.105) 0:02:37.908 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:57:56 -0500 (0:00:00.046) 0:02:37.954 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.515) 0:02:38.470 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.067) 0:02:38.538 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020366", "end": "2024-11-30 07:57:57.765359", "rc": 1, "start": "2024-11-30 07:57:57.744993" } 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.431) 0:02:38.970 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.050) 0:02:39.020 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:57:57 -0500 (0:00:00.077) 0:02:39.097 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.074) 0:02:39.171 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.076) 0:02:39.248 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.079) 0:02:39.327 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 30 November 2024 07:57:58 -0500 (0:00:00.078) 0:02:39.406 ***** [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-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.948596", "end": "2024-11-30 07:57:59.569489", "rc": 0, "start": "2024-11-30 07:57:58.620893" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 30 November 2024 07:57:59 -0500 (0:00:01.398) 0:02:40.804 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 30 November 2024 07:57:59 -0500 (0:00:00.143) 0:02:40.948 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:57:59 -0500 (0:00:00.088) 0:02:41.037 ***** skipping: [managed-node1] => (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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:58:00 -0500 (0:00:00.094) 0:02:41.131 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:58:00 -0500 (0:00:00.086) 0:02:41.217 ***** included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:58:00 -0500 (0:00:00.170) 0:02:41.388 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049138", "end": "2024-11-30 07:58:00.693863", "rc": 0, "start": "2024-11-30 07:58:00.644725" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 30 November 2024 07:58:00 -0500 (0:00:00.558) 0:02:41.946 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008817", "end": "2024-11-30 07:58:01.174250", "rc": 0, "start": "2024-11-30 07:58:01.165433" } 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:4b:3c:e2:3c:6f brd ff:ff:ff:ff:ff:ff inet 10.31.9.152/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2287sec preferred_lft 2287sec inet6 fe80::104b:3cff:fee2:3c6f/64 scope link valid_lft forever preferred_lft forever 49: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether da:d4:80:dc:46:24 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.9.152 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.152 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-0uy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 30 November 2024 07:58:01 -0500 (0:00:00.433) 0:02:42.380 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.169315", "end": "2024-11-30 07:58:01.792410", "rc": 0, "start": "2024-11-30 07:58:01.623095" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 5545 0 --:--:-- --:--:-- --:--:-- 5545 % 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 3548 0 --:--:-- --:--:-- --:--:-- 3592 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 30 November 2024 07:58:01 -0500 (0:00:00.593) 0:02:42.973 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.89s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-0uy/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-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.85s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-0uy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26