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-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 07 December 2024 08:02:07 -0500 (0:00:00.043) 0:00:00.043 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 07 December 2024 08:02:08 -0500 (0:00:01.078) 0:00:01.121 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 December 2024 08:02:08 -0500 (0:00:00.042) 0:00:01.164 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 December 2024 08:02:08 -0500 (0:00:00.493) 0:00:01.657 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.537) 0:00:02.196 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.040) 0:00:02.236 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.039) 0:00:02.276 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.102) 0:00:02.378 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.461) 0:00:02.840 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.018) 0:00:02.858 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 December 2024 08:02:09 -0500 (0:00:00.018) 0:00:02.877 ***** [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.224664", "end": "2024-12-07 08:02:10.429145", "rc": 0, "start": "2024-12-07 08:02:10.204481" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 December 2024 08:02:10 -0500 (0:00:00.570) 0:00:03.447 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 07 December 2024 08:02:10 -0500 (0:00:00.016) 0:00:03.464 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 December 2024 08:02:10 -0500 (0:00:00.020) 0:00:03.484 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.628) 0:00:04.112 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.019) 0:00:04.132 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.030) 0:00:04.163 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.020) 0:00:04.183 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.064) 0:00:04.248 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.029) 0:00:04.277 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.026) 0:00:04.304 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003544", "end": "2024-12-07 08:02:11.655315", "rc": 0, "start": "2024-12-07 08:02:11.651771" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.370) 0:00:04.674 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.028) 0:00:04.703 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.024) 0:00:04.727 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 08:02:11 -0500 (0:00:00.043) 0:00:04.770 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007058", "end": "2024-12-07 08:02:12.103975", "rc": 1, "start": "2024-12-07 08:02:12.096917" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.355) 0:00:05.125 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.027) 0:00:05.152 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.367) 0:00:05.520 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.040) 0:00:05.561 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.067) 0:00:05.629 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.148) 0:00:05.778 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.044) 0:00:05.822 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.020) 0:00:05.843 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.024) 0:00:05.867 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:02:12 -0500 (0:00:00.029) 0:00:05.897 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:02:14 -0500 (0:00:01.702) 0:00:07.600 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:02:16 -0500 (0:00:01.733) 0:00:09.333 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.038) 0:00:09.371 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.037) 0:00:09.409 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.036) 0:00:09.445 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.036) 0:00:09.482 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.044) 0:00:09.526 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.036) 0:00:09.563 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.043) 0:00:09.607 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.111) 0:00:09.718 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.037) 0:00:09.756 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.039) 0:00:09.796 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.044) 0:00:09.840 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.037) 0:00:09.878 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:02:16 -0500 (0:00:00.044) 0:00:09.922 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:02:17 -0500 (0:00:00.977) 0:00:10.899 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpef_vl13l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:02:18 -0500 (0:00:00.436) 0:00:11.335 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:02:19 -0500 (0:00:01.071) 0:00:12.407 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:02:19 -0500 (0:00:00.058) 0:00:12.466 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:02:19 -0500 (0:00:00.060) 0:00:12.526 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:02:19 -0500 (0:00:00.063) 0:00:12.589 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:02:19 -0500 (0:00:00.056) 0:00:12.646 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:02:20 -0500 (0:00:00.638) 0:00: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 [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:02:20 -0500 (0:00:00.076) 0:00:13.361 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 08:02:20 -0500 (0:00:00.132) 0:00:13.494 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:02:20 -0500 (0:00:00.114) 0:00:13.609 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:02:20 -0500 (0:00:00.050) 0:00:13.659 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576539.305115, "block_size": 4096, "blocks": 8, "ctime": 1733576539.305115, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4177724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576539.305115, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.405) 0:00:14.064 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.067) 0:00:14.131 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018515", "end": "2024-12-07 08:02:21.546553", "rc": 1, "start": "2024-12-07 08:02:21.528038" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.480) 0:00:14.611 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.072) 0:00:14.684 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002674", "end": "2024-12-07 08:02:22.035298", "rc": 0, "start": "2024-12-07 08:02:22.032624" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.398) 0:00:15.083 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.055) 0:00:15.138 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002683", "end": "2024-12-07 08:02:22.564987", "rc": 0, "start": "2024-12-07 08:02:22.562304" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.483) 0:00:15.622 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.073) 0:00:15.696 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.061) 0:00:15.757 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.058) 0:00:15.816 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.057) 0:00:15.873 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:02:22 -0500 (0:00:00.059) 0:00:15.933 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:02:23 -0500 (0:00:00.047) 0:00:15.981 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:02:23 -0500 (0:00:00.123) 0:00:16.104 ***** 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.035216", "end": "2024-12-07 08:02:23.527149", "rc": 1, "start": "2024-12-07 08:02:23.491933" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 December 2024 08:02:23 -0500 (0:00:00.477) 0:00:16.582 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:02:23 -0500 (0:00:00.075) 0:00:16.657 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:02:23 -0500 (0:00:00.046) 0:00:16.704 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:02:23 -0500 (0:00:00.115) 0:00:16.820 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.152) 0:00:16.972 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.117) 0:00:17.090 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002982", "end": "2024-12-07 08:02:24.578872", "rc": 0, "start": "2024-12-07 08:02:24.575890" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.572) 0:00:17.662 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.072) 0:00:17.735 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.056) 0:00:17.791 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.084) 0:00:17.875 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005886", "end": "2024-12-07 08:02:25.234080", "rc": 1, "start": "2024-12-07 08:02:25.228194" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.392) 0:00:18.268 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.061) 0:00:18.329 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.389) 0:00:18.718 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.063) 0:00:18.782 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.149) 0:00:18.932 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.117) 0:00:19.049 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.090) 0:00:19.140 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.063) 0:00:19.204 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.045) 0:00:19.249 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.042) 0:00:19.291 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:02:27 -0500 (0:00:01.637) 0:00:20.929 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:02:29 -0500 (0:00:01.636) 0:00:22.566 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:02:29 -0500 (0:00:00.072) 0:00:22.638 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:02:29 -0500 (0:00:00.103) 0:00:22.742 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:02:29 -0500 (0:00:00.086) 0:00:22.829 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:02:29 -0500 (0:00:00.069) 0:00:22.898 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.071) 0:00:22.970 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.059) 0:00:23.030 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.057) 0:00:23.088 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.087) 0:00:23.175 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.047) 0:00:23.222 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.075) 0:00:23.297 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.044) 0:00:23.342 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.056) 0:00:23.399 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.059) 0:00:23.458 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:02:31 -0500 (0:00:00.805) 0:00:24.263 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpp387jb81" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:02:31 -0500 (0:00:00.432) 0:00:24.696 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.558) 0:00:25.255 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.058) 0:00:25.313 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.052) 0:00:25.365 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.053) 0:00:25.418 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.055) 0:00:25.473 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.364) 0:00:25.838 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.050) 0:00:25.889 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.231) 0:00:26.121 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.107) 0:00:26.228 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.447) 0:00:26.675 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.050) 0:00:26.725 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.093) 0:00:26.819 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.048) 0:00:26.867 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576552.1791694, "block_size": 4096, "blocks": 8, "ctime": 1733576552.1791694, "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": 1733576552.1791694, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:02:34 -0500 (0:00:00.372) 0:00:27.240 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:02:34 -0500 (0:00:00.047) 0:00:27.287 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017621", "end": "2024-12-07 08:02:34.679974", "rc": 1, "start": "2024-12-07 08:02:34.662353" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:02:34 -0500 (0:00:00.437) 0:00:27.725 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:02:34 -0500 (0:00:00.040) 0:00:27.765 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003914", "end": "2024-12-07 08:02:36.121692", "rc": 0, "start": "2024-12-07 08:02:35.117778" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:02:36 -0500 (0:00:01.405) 0:00:29.170 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:02:36 -0500 (0:00:00.058) 0:00:29.229 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002784", "end": "2024-12-07 08:02:36.579493", "rc": 0, "start": "2024-12-07 08:02:36.576709" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:02:36 -0500 (0:00:00.428) 0:00:29.657 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 08:02:36 -0500 (0:00:00.073) 0:00:29.730 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 08:02:36 -0500 (0:00:00.070) 0:00:29.801 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 08:02:36 -0500 (0:00:00.069) 0:00:29.870 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:02:36 -0500 (0:00:00.070) 0:00:29.941 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:02:37 -0500 (0:00:00.055) 0:00:29.996 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:02:37 -0500 (0:00:00.061) 0:00:30.058 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:02:37 -0500 (0:00:00.165) 0:00:30.224 ***** 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.035438", "end": "2024-12-07 08:02:37.647262", "rc": 1, "start": "2024-12-07 08:02:37.611824" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 December 2024 08:02:37 -0500 (0:00:00.489) 0:00:30.713 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:02:37 -0500 (0:00:00.100) 0:00:30.814 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:02:37 -0500 (0:00:00.059) 0:00:30.874 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:02:38 -0500 (0:00:00.120) 0:00:30.995 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:02:38 -0500 (0:00:00.129) 0:00:31.125 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:02:38 -0500 (0:00:00.148) 0:00:31.274 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002952", "end": "2024-12-07 08:02:38.788351", "rc": 0, "start": "2024-12-07 08:02:38.785399" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:02:38 -0500 (0:00:00.549) 0:00:31.823 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:02:38 -0500 (0:00:00.038) 0:00:31.862 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:02:38 -0500 (0:00:00.045) 0:00:31.907 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:02:39 -0500 (0:00:00.087) 0:00:31.995 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:02:39 -0500 (0:00:00.142) 0:00:32.137 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:02:39 -0500 (0:00:00.117) 0:00:32.255 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:02:39 -0500 (0:00:00.122) 0:00:32.378 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:02:39 -0500 (0:00:00.081) 0:00:32.459 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:02:39 -0500 (0:00:00.124) 0:00:32.584 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:02:41 -0500 (0:00:01.665) 0:00:34.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 : Print network provider] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:02:42 -0500 (0:00:01.613) 0:00:35.863 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:02:42 -0500 (0:00:00.060) 0:00:35.923 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.055) 0:00:35.979 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.042) 0:00:36.021 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.042) 0:00:36.063 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.055) 0:00:36.119 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.041) 0:00:36.160 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.041) 0:00:36.202 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.074) 0:00:36.276 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.041) 0:00:36.318 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.055) 0:00:36.373 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.069) 0:00:36.442 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.058) 0:00:36.501 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:02:43 -0500 (0:00:00.093) 0:00:36.595 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:02:44 -0500 (0:00:00.548) 0:00:37.144 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpfa6ppq61" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:02:44 -0500 (0:00:00.390) 0:00:37.534 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.577) 0:00:38.111 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.062) 0:00:38.174 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.066) 0:00:38.241 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.064) 0:00:38.306 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.060) 0:00:38.367 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:02:45 -0500 (0:00:00.591) 0:00:38.958 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.081) 0:00:39.039 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.127) 0:00:39.167 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.171) 0:00:39.339 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.109) 0:00:39.448 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.075) 0:00:39.524 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.055) 0:00:39.580 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:02:46 -0500 (0:00:00.046) 0:00:39.626 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:02:48 -0500 (0:00:01.656) 0:00:41.282 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:02:49 -0500 (0:00:01.457) 0:00:42.740 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.043) 0:00:42.783 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.047) 0:00:42.831 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.058) 0:00:42.889 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:02:49 -0500 (0:00:00.073) 0:00:42.963 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.168) 0:00:43.132 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.058) 0:00:43.190 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.055) 0:00:43.246 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.102) 0:00:43.348 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.041) 0:00:43.390 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.038) 0:00:43.428 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.044) 0:00:43.472 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.046) 0:00:43.519 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:02:50 -0500 (0:00:00.151) 0:00:43.671 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.704) 0:00:44.376 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmph4ajwzmy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:02:51 -0500 (0:00:00.454) 0:00:44.830 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:02:52 -0500 (0:00:00.806) 0:00:45.637 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:02:52 -0500 (0:00:00.037) 0:00:45.674 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:02:52 -0500 (0:00:00.039) 0:00:45.714 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:02:52 -0500 (0:00:00.042) 0:00:45.757 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:02:52 -0500 (0:00:00.044) 0:00:45.801 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:02:53 -0500 (0:00:00.384) 0:00:46.186 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 08:02:53 -0500 (0:00:00.112) 0:00:46.299 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:02:53 -0500 (0:00:00.144) 0:00:46.443 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576572.5211468, "block_size": 4096, "blocks": 0, "ctime": 1733576572.5211468, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35547, "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": 1733576572.5211468, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 08:02:54 -0500 (0:00:00.526) 0:00:46.969 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 08:02:54 -0500 (0:00:00.071) 0:00:47.041 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:02:54 -0500 (0:00:00.110) 0:00:47.151 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:02:54 -0500 (0:00:00.121) 0:00:47.272 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576572.3632548, "block_size": 4096, "blocks": 8, "ctime": 1733576565.047224, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4177724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576565.047224, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:02:54 -0500 (0:00:00.401) 0:00:47.674 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:02:54 -0500 (0:00:00.041) 0:00:47.716 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018478", "end": "2024-12-07 08:02:55.065246", "rc": 1, "start": "2024-12-07 08:02:55.046768" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:02:55 -0500 (0:00:00.409) 0:00:48.125 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:02:55 -0500 (0:00:00.053) 0:00:48.179 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002675", "end": "2024-12-07 08:02:55.532429", "rc": 0, "start": "2024-12-07 08:02:55.529754" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:02:55 -0500 (0:00:00.399) 0:00:48.578 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:02:55 -0500 (0:00:00.136) 0:00:48.714 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003885", "end": "2024-12-07 08:02:57.193593", "rc": 0, "start": "2024-12-07 08:02:56.189708" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:02:57 -0500 (0:00:01.546) 0:00:50.261 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.077) 0:00:50.339 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.066) 0:00:50.405 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.065) 0:00:50.471 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.065) 0:00:50.537 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.056) 0:00:50.593 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.062) 0:00:50.656 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:02:57 -0500 (0:00:00.097) 0:00:50.754 ***** 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.041183", "end": "2024-12-07 08:02:58.234585", "rc": 0, "start": "2024-12-07 08:02:58.193402" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.517) 0:00:51.271 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.110) 0:00:51.382 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.045) 0:00:51.428 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.134) 0:00:51.563 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.130) 0:00:51.693 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:02:58 -0500 (0:00:00.155) 0:00:51.848 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002939", "end": "2024-12-07 08:02:59.382621", "rc": 0, "start": "2024-12-07 08:02:59.379682" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.572) 0:00:52.421 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.046) 0:00:52.468 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.060) 0:00:52.528 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.123) 0:00:52.652 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.099) 0:00:52.751 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:02:59 -0500 (0:00:00.116) 0:00:52.868 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.140) 0:00:53.009 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.048) 0:00:53.057 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:00 -0500 (0:00:00.042) 0:00:53.100 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:01 -0500 (0:00:01.590) 0:00:54.690 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:03 -0500 (0:00:01.525) 0:00:56.216 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.060) 0:00:56.277 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.112) 0:00:56.389 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.069) 0:00:56.458 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.097) 0:00:56.555 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.079) 0:00:56.635 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.072) 0:00:56.707 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.068) 0:00:56.776 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:03 -0500 (0:00:00.135) 0:00:56.911 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.077) 0:00:56.989 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.057) 0:00:57.046 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.070) 0:00:57.117 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.061) 0:00:57.178 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.041) 0:00:57.220 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:04 -0500 (0:00:00.617) 0:00:57.837 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpnaeg3ogz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:05 -0500 (0:00:00.497) 0:00:58.335 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.695) 0:00:59.030 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.035) 0:00:59.066 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.039) 0:00:59.106 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.040) 0:00:59.146 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.036) 0:00:59.182 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.394) 0:00:59.577 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.076) 0:00:59.653 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.098) 0:00:59.752 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.084) 0:00:59.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 : Check if system is ostree] *********** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.046) 0:00:59.883 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.037) 0:00:59.920 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:06 -0500 (0:00:00.036) 0:00:59.957 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:08 -0500 (0:00:01.777) 0:01:01.735 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:10 -0500 (0:00:01.507) 0:01:03.242 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.039) 0:01:03.281 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.037) 0:01:03.319 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.068) 0:01:03.387 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.037) 0:01:03.425 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.054) 0:01:03.479 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.060) 0:01:03.540 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.065) 0:01:03.605 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.113) 0:01:03.719 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.063) 0:01:03.783 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.048) 0:01:03.831 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.063) 0:01:03.895 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:10 -0500 (0:00:00.047) 0:01:03.943 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:11 -0500 (0:00:00.042) 0:01:03.985 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:11 -0500 (0:00:00.661) 0:01:04.647 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpc5_nf1n8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:12 -0500 (0:00:00.519) 0:01:05.166 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.861) 0:01:06.027 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.038) 0:01:06.066 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.041) 0:01:06.107 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.041) 0:01:06.149 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.045) 0:01:06.195 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.494) 0:01:06.689 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.107) 0:01:06.796 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.120) 0:01:06.917 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.161) 0:01:07.079 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.076) 0:01:07.155 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.059) 0:01:07.215 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:14 -0500 (0:00:00.071) 0:01:07.286 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:15 -0500 (0:00:01.661) 0:01:08.948 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:17 -0500 (0:00:01.498) 0:01:10.446 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.040) 0:01:10.487 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.046) 0:01:10.534 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.055) 0:01:10.589 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.051) 0:01:10.640 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.090) 0:01:10.730 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.108) 0:01:10.839 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:17 -0500 (0:00:00.058) 0:01:10.897 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.085) 0:01:10.983 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.049) 0:01:11.032 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.043) 0:01:11.076 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.045) 0:01:11.122 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.047) 0:01:11.169 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.043) 0:01:11.213 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:18 -0500 (0:00:00.539) 0:01:11.753 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpxgvdpj62" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:19 -0500 (0:00:00.412) 0:01:12.165 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:20 -0500 (0:00:01.050) 0:01:13.216 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.068) 0:01:13.285 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.139) 0:01:13.425 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.061) 0:01:13.486 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:20 -0500 (0:00:00.053) 0:01:13.540 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.452) 0:01:13.993 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.139) 0:01:14.132 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.113) 0:01:14.245 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576592.8598018, "block_size": 4096, "blocks": 0, "ctime": 1733576592.8598018, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35678, "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": 1733576592.8598018, "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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.431) 0:01:14.677 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.042) 0:01:14.720 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.069) 0:01:14.789 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:03:21 -0500 (0:00:00.040) 0:01:14.830 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.579) 0:01:15.410 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:03:22 -0500 (0:00:00.077) 0:01:15.487 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018265", "end": "2024-12-07 08:03:22.962055", "rc": 1, "start": "2024-12-07 08:03:22.943790" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.557) 0:01:16.045 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.062) 0:01:16.108 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.060) 0:01:16.169 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.065) 0:01:16.234 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.065) 0:01:16.299 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.114) 0:01:16.413 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.071) 0:01:16.485 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.066) 0:01:16.552 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.060) 0:01:16.612 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:03:23 -0500 (0:00:00.114) 0:01:16.727 ***** 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.043873", "end": "2024-12-07 08:03:24.146250", "rc": 0, "start": "2024-12-07 08:03:24.102377" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.454) 0:01:17.181 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.098) 0:01:17.280 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.038) 0:01:17.319 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.085) 0:01:17.405 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.061) 0:01:17.466 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.070) 0:01:17.536 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003000", "end": "2024-12-07 08:03:24.866342", "rc": 0, "start": "2024-12-07 08:03:24.863342" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:03:24 -0500 (0:00:00.378) 0:01:17.915 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.059) 0:01:17.974 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.061) 0:01:18.035 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.090) 0:01:18.126 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.076) 0:01:18.203 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.114) 0:01:18.317 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.046) 0:01:18.364 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.038) 0:01:18.402 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:25 -0500 (0:00:00.037) 0:01:18.440 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:27 -0500 (0:00:01.661) 0:01:20.102 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:28 -0500 (0:00:01.679) 0:01:21.782 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.076) 0:01:21.859 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.059) 0:01:21.918 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:28 -0500 (0:00:00.048) 0:01:21.967 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.044) 0:01:22.011 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.046) 0:01:22.058 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.039) 0:01:22.097 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.043) 0:01:22.141 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.089) 0:01:22.231 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.096) 0:01:22.328 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.107) 0:01:22.435 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.130) 0:01:22.565 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.067) 0:01:22.633 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.071) 0:01:22.705 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.640) 0:01:23.345 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmp3qeddyca" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.437) 0:01:23.782 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.601) 0:01:24.384 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.081) 0:01:24.465 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.069) 0:01:24.535 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.095) 0:01:24.631 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:31 -0500 (0:00:00.129) 0:01:24.760 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.459) 0:01:25.220 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.074) 0:01:25.294 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.107) 0:01:25.402 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.099) 0:01:25.501 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.077) 0:01:25.579 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.069) 0:01:25.648 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:32 -0500 (0:00:00.120) 0:01:25.769 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:34 -0500 (0:00:01.696) 0:01:27.466 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:36 -0500 (0:00:01.505) 0:01:28.972 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.050) 0:01:29.023 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.042) 0:01:29.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.107) 0:01:29.173 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.056) 0:01:29.230 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.056) 0:01:29.286 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.044) 0:01:29.331 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.044) 0:01:29.375 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.072) 0:01:29.448 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.042) 0:01:29.490 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.046) 0:01:29.537 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.063) 0:01:29.601 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.058) 0:01:29.660 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:36 -0500 (0:00:00.057) 0:01:29.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.776) 0:01:30.493 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmp4vq_typw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:37 -0500 (0:00:00.466) 0:01:30.960 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.819) 0:01:31.780 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.046) 0:01:31.827 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:38 -0500 (0:00:00.065) 0:01:31.892 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.084) 0:01:31.977 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.062) 0:01:32.040 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.463) 0:01:32.503 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.071) 0:01:32.575 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.112) 0:01:32.687 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.104) 0:01:32.792 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.075) 0:01:32.867 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:39 -0500 (0:00:00.063) 0:01:32.930 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:41 -0500 (0:00:01.666) 0:01:34.597 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:43 -0500 (0:00:01.472) 0:01:36.070 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.041) 0:01:36.111 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.059) 0:01:36.170 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.066) 0:01:36.237 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.125) 0:01:36.363 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.070) 0:01:36.433 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.053) 0:01:36.487 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.068) 0:01:36.556 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.111) 0:01:36.667 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.058) 0:01:36.726 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.060) 0:01:36.786 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.069) 0:01:36.856 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.057) 0:01:36.913 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.057) 0:01:36.971 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.620) 0:01:37.591 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmp1sz2zhxy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.617) 0:01:38.209 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.601) 0:01:38.811 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.038) 0:01:38.849 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.039) 0:01:38.889 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.047) 0:01:38.937 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.061) 0:01:38.998 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.450) 0:01:39.449 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.077) 0:01:39.526 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.084) 0:01:39.611 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.072) 0:01:39.683 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.045) 0:01:39.729 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.037) 0:01:39.767 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:46 -0500 (0:00:00.076) 0:01:39.843 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:48 -0500 (0:00:01.577) 0:01:41.421 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:03:49 -0500 (0:00:01.481) 0:01:42.902 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.059) 0:01:42.961 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.093) 0:01:43.055 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.044) 0:01:43.100 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.041) 0:01:43.142 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.056) 0:01:43.198 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.039) 0:01:43.238 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.042) 0:01:43.281 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.075) 0:01:43.356 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.038) 0:01:43.395 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.042) 0:01:43.437 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.060) 0:01:43.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.090) 0:01:43.587 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.088) 0:01:43.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.778) 0:01:44.454 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmp7r_p4575" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.466) 0:01:44.921 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.764) 0:01:45.685 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.041) 0:01:45.727 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.049) 0:01:45.776 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.050) 0:01:45.827 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.059) 0:01:45.887 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.429) 0:01:46.316 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.093) 0:01:46.410 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.101) 0:01:46.511 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.097) 0:01:46.609 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.453) 0:01:47.062 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.084) 0:01:47.147 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018877", "end": "2024-12-07 08:03:54.714584", "rc": 1, "start": "2024-12-07 08:03:54.695707" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.680) 0:01:47.828 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.056) 0:01:47.885 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:03:54 -0500 (0:00:00.065) 0:01:47.950 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.076) 0:01:48.026 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.051) 0:01:48.078 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.044) 0:01:48.123 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.051) 0:01:48.174 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.046) 0:01:48.221 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.039) 0:01:48.260 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:03:55 -0500 (0:00:00.078) 0:01:48.338 ***** 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.043400", "end": "2024-12-07 08:03:55.946094", "rc": 0, "start": "2024-12-07 08:03:55.902694" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.670) 0:01:49.009 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.116) 0:01:49.125 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.072) 0:01:49.198 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.139) 0:01:49.337 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.071) 0:01:49.409 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 08:03:56 -0500 (0:00:00.082) 0:01:49.492 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-12-07 08:03:56.954367", "rc": 0, "start": "2024-12-07 08:03:56.950763" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.578) 0:01:50.070 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.069) 0:01:50.139 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.067) 0:01:50.206 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.125) 0:01:50.332 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.076) 0:01:50.409 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.084) 0:01:50.494 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.045) 0:01:50.540 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.042) 0:01:50.582 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:03:57 -0500 (0:00:00.101) 0:01:50.683 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:03:59 -0500 (0:00:01.681) 0:01:52.364 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:00 -0500 (0:00:01.576) 0:01:53.941 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.069) 0:01:54.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.107) 0:01:54.119 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.056) 0:01:54.175 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.054) 0:01:54.230 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.060) 0:01:54.290 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.069) 0:01:54.359 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.085) 0:01:54.445 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.090) 0:01:54.535 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.044) 0:01:54.579 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.039) 0:01:54.619 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.046) 0:01:54.665 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.044) 0:01:54.710 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:01 -0500 (0:00:00.053) 0:01:54.763 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.738) 0:01:55.502 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmppqe9pma5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:02 -0500 (0:00:00.423) 0:01:55.926 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.586) 0:01:56.512 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.060) 0:01:56.573 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.088) 0:01:56.661 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.069) 0:01:56.730 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:03 -0500 (0:00:00.060) 0:01:56.791 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.386) 0:01:57.178 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.063) 0:01:57.241 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.083) 0:01:57.324 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.117) 0:01:57.442 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.072) 0:01:57.515 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.046) 0:01:57.561 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:04 -0500 (0:00:00.045) 0:01:57.607 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:06 -0500 (0:00:01.580) 0:01:59.188 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:07 -0500 (0:00:01.445) 0:02:00.634 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.042) 0:02:00.676 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.037) 0:02:00.714 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.078) 0:02:00.792 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.050) 0:02:00.843 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:07 -0500 (0:00:00.070) 0:02:00.913 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.059) 0:02:00.973 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.064) 0:02:01.038 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.117) 0:02:01.155 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.047) 0:02:01.203 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.045) 0:02:01.249 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.067) 0:02:01.316 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.044) 0:02:01.361 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:08 -0500 (0:00:00.036) 0:02:01.397 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.582) 0:02:01.980 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmp9bbda08r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:09 -0500 (0:00:00.426) 0:02:02.406 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:10 -0500 (0:00:00.861) 0:02:03.268 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:10 -0500 (0:00:00.062) 0:02:03.331 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:10 -0500 (0:00:00.084) 0:02:03.415 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:10 -0500 (0:00:00.063) 0:02:03.479 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:10 -0500 (0:00:00.065) 0:02:03.544 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 08:04:11 -0500 (0:00:00.431) 0:02:03.976 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:11 -0500 (0:00:00.075) 0:02:04.051 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:11 -0500 (0:00:00.081) 0:02:04.133 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:11 -0500 (0:00:00.046) 0:02:04.180 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:11 -0500 (0:00:00.039) 0:02:04.220 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:11 -0500 (0:00:00.052) 0:02:04.272 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:12 -0500 (0:00:01.671) 0:02:05.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 : Print network provider] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:14 -0500 (0:00:01.567) 0:02:07.511 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.048) 0:02:07.560 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.044) 0:02:07.604 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.037) 0:02:07.642 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.038) 0:02:07.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.098) 0:02:07.778 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.058) 0:02:07.837 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:14 -0500 (0:00:00.078) 0:02:07.915 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.125) 0:02:08.041 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.094) 0:02:08.136 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.061) 0:02:08.198 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.052) 0:02:08.250 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.049) 0:02:08.300 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.043) 0:02:08.344 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:15 -0500 (0:00:00.589) 0:02:08.933 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmp_ec05gr9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:16 -0500 (0:00:00.402) 0:02:09.336 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:16 -0500 (0:00:00.572) 0:02:09.908 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:16 -0500 (0:00:00.036) 0:02:09.945 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.076) 0:02:10.021 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.042) 0:02:10.063 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.037) 0:02:10.101 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.367) 0:02:10.468 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.101) 0:02:10.570 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.094) 0:02:10.665 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.094) 0:02:10.759 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.048) 0:02:10.808 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.037) 0:02:10.845 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 08:04:17 -0500 (0:00:00.038) 0:02:10.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 08:04:19 -0500 (0:00:01.593) 0:02:12.478 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 08:04:21 -0500 (0:00:01.525) 0:02:14.003 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.070) 0:02:14.073 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.054) 0:02:14.127 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.043) 0:02:14.171 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.047) 0:02:14.218 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.117) 0:02:14.336 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.039) 0:02:14.375 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.043) 0:02:14.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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.078) 0:02:14.496 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.051) 0:02:14.548 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.065) 0:02:14.613 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.072) 0:02:14.685 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.076) 0:02:14.761 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 08:04:21 -0500 (0:00:00.060) 0:02:14.822 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.551) 0:02:15.374 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49090zifddwo8/tmpwk1csbh2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 08:04:22 -0500 (0:00:00.466) 0:02:15.841 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.726) 0:02:16.567 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.077) 0:02:16.645 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.046) 0:02:16.692 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.054) 0:02:16.746 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 08:04:23 -0500 (0:00:00.068) 0:02:16.814 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.403) 0:02:17.218 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.078) 0:02:17.296 ***** included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.067) 0:02:17.364 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.048) 0:02:17.413 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.420) 0:02:17.833 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 08:04:24 -0500 (0:00:00.047) 0:02:17.880 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017871", "end": "2024-12-07 08:04:25.237027", "rc": 1, "start": "2024-12-07 08:04:25.219156" } 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.417) 0:02:18.297 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.117) 0:02:18.415 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.060) 0:02:18.476 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.071) 0:02:18.548 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.068) 0:02:18.617 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.065) 0:02:18.683 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 December 2024 08:04:25 -0500 (0:00:00.072) 0:02:18.755 ***** [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.875089", "end": "2024-12-07 08:04:27.005351", "rc": 0, "start": "2024-12-07 08:04:26.130262" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 December 2024 08:04:27 -0500 (0:00:01.325) 0:02:20.080 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 December 2024 08:04:27 -0500 (0:00:00.048) 0:02:20.129 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 08:04:27 -0500 (0:00:00.050) 0:02:20.179 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 08:04:27 -0500 (0:00:00.051) 0:02:20.231 ***** 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 08:04:27 -0500 (0:00:00.039) 0:02:20.270 ***** included: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-JOT/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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 08:04:27 -0500 (0:00:00.139) 0:02:20.409 ***** 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.047301", "end": "2024-12-07 08:04:27.829445", "rc": 0, "start": "2024-12-07 08:04:27.782144" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 December 2024 08:04:27 -0500 (0:00:00.460) 0:02:20.870 ***** 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.008456", "end": "2024-12-07 08:04:28.211872", "rc": 0, "start": "2024-12-07 08:04:28.203416" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:01:e1:ec:17:dd brd ff:ff:ff:ff:ff:ff inet 10.31.47.172/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2005sec preferred_lft 2005sec inet6 fe80::1:e1ff:feec:17dd/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether d2:d3:86:89:a0:f2 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.172 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.172 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-JOT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 December 2024 08:04:28 -0500 (0:00:00.397) 0:02:21.267 ***** 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.212163", "end": "2024-12-07 08:04:28.888479", "rc": 0, "start": "2024-12-07 08:04:28.676316" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2074 0 --:--:-- --:--:-- --:--:-- 2074 % 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 6928 0 --:--:-- --:--:-- --:--:-- 7097 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 07 December 2024 08:04:28 -0500 (0:00:00.648) 0:02:21.915 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-JOT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26