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-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Thursday 15 August 2024 19:55:11 -0400 (0:00:00.045) 0:00:00.045 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Thursday 15 August 2024 19:55:13 -0400 (0:00:01.144) 0:00:01.189 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 19:55:13 -0400 (0:00:00.050) 0:00:01.240 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 19:55:13 -0400 (0:00:00.564) 0:00:01.805 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.616) 0:00:02.421 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.036) 0:00:02.458 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.050) 0:00:02.508 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.110) 0:00:02.619 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.444) 0:00:03.064 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.020) 0:00:03.084 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Thursday 15 August 2024 19:55:14 -0400 (0:00:00.018) 0:00:03.102 ******* [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.254122", "end": "2024-08-15 19:55:15.545561", "rc": 0, "start": "2024-08-15 19:55:15.291439" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Thursday 15 August 2024 19:55:15 -0400 (0:00:00.636) 0:00:03.738 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Thursday 15 August 2024 19:55:15 -0400 (0:00:00.025) 0:00:03.764 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 15 August 2024 19:55:15 -0400 (0:00:00.031) 0:00:03.796 ******* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.787) 0:00:04.583 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.017) 0:00:04.601 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.027) 0:00:04.628 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.024) 0:00:04.653 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.081) 0:00:04.734 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.041) 0:00:04.776 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:55:16 -0400 (0:00:00.041) 0:00:04.817 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003121", "end": "2024-08-15 19:55:17.038877", "rc": 0, "start": "2024-08-15 19:55:17.035756" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:55:17 -0400 (0:00:00.426) 0:00:05.243 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:55:17 -0400 (0:00:00.039) 0:00:05.283 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 19:55:17 -0400 (0:00:00.027) 0:00:05.310 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 15 August 2024 19:55:17 -0400 (0:00:00.050) 0:00:05.361 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007577", "end": "2024-08-15 19:55:17.606787", "rc": 1, "start": "2024-08-15 19:55:17.599210" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:55:17 -0400 (0:00:00.485) 0:00:05.846 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:55:17 -0400 (0:00:00.036) 0:00:05.883 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.410) 0:00:06.294 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.030) 0:00:06.325 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.044) 0:00:06.369 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.131) 0:00:06.501 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.045) 0:00:06.546 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.019) 0:00:06.565 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.017) 0:00:06.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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:55:18 -0400 (0:00:00.016) 0:00:06.599 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:55:20 -0400 (0:00:01.841) 0:00:08.441 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:55:22 -0400 (0:00:01.831) 0:00:10.272 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.059) 0:00:10.332 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.059) 0:00:10.392 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.057) 0:00:10.449 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.060) 0:00:10.510 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.072) 0:00:10.583 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.072) 0:00:10.656 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.061) 0:00:10.718 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.166) 0:00:10.884 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.039) 0:00:10.924 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.043) 0:00:10.967 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.061) 0:00:11.029 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:55:22 -0400 (0:00:00.058) 0:00:11.087 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:55:23 -0400 (0:00:00.065) 0:00:11.153 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:55:24 -0400 (0:00:01.085) 0:00:12.238 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmp4ky3mfz6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:55:24 -0400 (0:00:00.443) 0:00:12.682 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:55:25 -0400 (0:00:00.897) 0:00:13.579 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:55:25 -0400 (0:00:00.056) 0:00:13.636 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:55:25 -0400 (0:00:00.042) 0:00:13.678 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:55:25 -0400 (0:00:00.045) 0:00:13.723 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:55:25 -0400 (0:00:00.093) 0:00:13.817 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.530) 0:00:14.347 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.039) 0:00:14.386 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.070) 0:00:14.457 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.086) 0:00:14.543 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.042) 0:00:14.586 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723766125.3340476, "block_size": 4096, "blocks": 8, "ctime": 1723766125.3340476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723766125.3340476, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.452) 0:00:15.039 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:55:26 -0400 (0:00:00.037) 0:00:15.076 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019727", "end": "2024-08-15 19:55:27.349665", "rc": 1, "start": "2024-08-15 19:55:27.329938" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:55:27 -0400 (0:00:00.472) 0:00:15.549 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:55:27 -0400 (0:00:00.042) 0:00:15.591 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002907", "end": "2024-08-15 19:55:27.779278", "rc": 0, "start": "2024-08-15 19:55:27.776371" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:55:27 -0400 (0:00:00.451) 0:00:16.043 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:55:27 -0400 (0:00:00.064) 0:00:16.108 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002952", "end": "2024-08-15 19:55:28.314279", "rc": 0, "start": "2024-08-15 19:55:28.311327" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.404) 0:00:16.512 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.044) 0:00:16.557 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.040) 0:00:16.598 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.037) 0:00:16.636 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.037) 0:00:16.674 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.040) 0:00:16.714 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.036) 0:00:16.750 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 19:55:28 -0400 (0:00:00.065) 0:00:16.816 ******* 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.039138", "end": "2024-08-15 19:55:29.041115", "rc": 1, "start": "2024-08-15 19:55:29.001977" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.419) 0:00:17.235 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.089) 0:00:17.325 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.035) 0:00:17.361 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.075) 0:00:17.437 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.055) 0:00:17.492 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.054) 0:00:17.546 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003187", "end": "2024-08-15 19:55:29.755372", "rc": 0, "start": "2024-08-15 19:55:29.752185" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.411) 0:00:17.958 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.038) 0:00:17.997 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.036) 0:00:18.033 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 15 August 2024 19:55:29 -0400 (0:00:00.065) 0:00:18.099 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005774", "end": "2024-08-15 19:55:30.284627", "rc": 1, "start": "2024-08-15 19:55:30.278853" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:55:30 -0400 (0:00:00.403) 0:00:18.503 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:55:30 -0400 (0:00:00.126) 0:00:18.629 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:55:30 -0400 (0:00:00.463) 0:00:19.093 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.076) 0:00:19.170 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.116) 0:00:19.286 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.136) 0:00:19.423 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.109) 0:00:19.532 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.067) 0:00:19.599 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.056) 0:00:19.656 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:55:31 -0400 (0:00:00.063) 0:00:19.719 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:55:33 -0400 (0:00:01.917) 0:00:21.637 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:55:35 -0400 (0:00:01.614) 0:00:23.251 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.116) 0:00:23.368 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.097) 0:00:23.465 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.065) 0:00:23.531 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.046) 0:00:23.578 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.055) 0:00:23.633 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.042) 0:00:23.675 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.072) 0:00:23.748 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.077) 0:00:23.826 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.056) 0:00:23.882 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.057) 0:00:23.940 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.087) 0:00:24.027 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:55:35 -0400 (0:00:00.077) 0:00:24.105 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:55:36 -0400 (0:00:00.087) 0:00:24.192 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:55:36 -0400 (0:00:00.668) 0:00:24.861 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmph6qhijwd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:55:37 -0400 (0:00:00.428) 0:00:25.289 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:55:37 -0400 (0:00:00.661) 0:00:25.951 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:55:37 -0400 (0:00:00.057) 0:00:26.008 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:55:37 -0400 (0:00:00.062) 0:00:26.071 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:55:38 -0400 (0:00:00.058) 0:00:26.129 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:55:38 -0400 (0:00:00.101) 0:00:26.231 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 15 August 2024 19:55:38 -0400 (0:00:00.401) 0:00:26.633 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 19:55:38 -0400 (0:00:00.036) 0:00:26.670 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 19:55:38 -0400 (0:00:00.068) 0:00:26.738 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:55:38 -0400 (0:00:00.055) 0:00:26.793 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 19:55:39 -0400 (0:00:00.408) 0:00:27.201 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 19:55:39 -0400 (0:00:00.038) 0:00:27.239 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:55:39 -0400 (0:00:00.060) 0:00:27.300 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:55:39 -0400 (0:00:00.050) 0:00:27.351 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723766137.7448883, "block_size": 4096, "blocks": 8, "ctime": 1723766137.7448883, "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": 1723766137.7448883, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:55:39 -0400 (0:00:00.531) 0:00:27.882 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:55:39 -0400 (0:00:00.112) 0:00:27.995 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019977", "end": "2024-08-15 19:55:40.327516", "rc": 1, "start": "2024-08-15 19:55:40.307539" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:55:40 -0400 (0:00:00.539) 0:00:28.534 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:55:40 -0400 (0:00:00.041) 0:00:28.575 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002946", "end": "2024-08-15 19:55:40.758102", "rc": 0, "start": "2024-08-15 19:55:40.755156" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:55:40 -0400 (0:00:00.383) 0:00:28.959 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:55:40 -0400 (0:00:00.065) 0:00:29.024 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003134", "end": "2024-08-15 19:55:41.223337", "rc": 0, "start": "2024-08-15 19:55:41.220203" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.404) 0:00:29.429 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.052) 0:00:29.481 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.059) 0:00:29.541 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.072) 0:00:29.614 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.058) 0:00:29.673 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.058) 0:00:29.731 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.055) 0:00:29.786 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 19:55:41 -0400 (0:00:00.114) 0:00:29.901 ******* 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.038723", "end": "2024-08-15 19:55:42.131460", "rc": 1, "start": "2024-08-15 19:55:42.092737" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 15 August 2024 19:55:42 -0400 (0:00:00.480) 0:00:30.381 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 19:55:42 -0400 (0:00:00.111) 0:00:30.493 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 19:55:42 -0400 (0:00:00.054) 0:00:30.547 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 19:55:42 -0400 (0:00:00.099) 0:00:30.647 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:55:42 -0400 (0:00:00.056) 0:00:30.704 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:55:42 -0400 (0:00:00.067) 0:00:30.771 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003161", "end": "2024-08-15 19:55:43.014458", "rc": 0, "start": "2024-08-15 19:55:43.011297" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.439) 0:00:31.211 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.036) 0:00:31.247 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.041) 0:00:31.289 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.088) 0:00:31.378 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.134) 0:00:31.513 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.094) 0:00:31.608 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.055) 0:00:31.663 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.043) 0:00:31.706 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:55:43 -0400 (0:00:00.041) 0:00:31.747 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:55:45 -0400 (0:00:01.815) 0:00:33.562 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:55:47 -0400 (0:00:01.574) 0:00:35.136 ******* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.039) 0:00:35.175 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.045) 0:00:35.221 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.051) 0:00:35.272 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.058) 0:00:35.331 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.066) 0:00:35.397 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.075) 0:00:35.473 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.071) 0:00:35.545 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.138) 0:00:35.683 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.055) 0:00:35.739 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.055) 0:00:35.794 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.123) 0:00:35.917 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.056) 0:00:35.974 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:55:47 -0400 (0:00:00.123) 0:00:36.098 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:55:48 -0400 (0:00:00.878) 0:00:36.976 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpu_hvoeh4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:55:49 -0400 (0:00:00.453) 0:00:37.430 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:55:49 -0400 (0:00:00.636) 0:00:38.066 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:55:49 -0400 (0:00:00.058) 0:00:38.125 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.054) 0:00:38.179 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.041) 0:00:38.221 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.055) 0:00:38.276 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.513) 0:00:38.790 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.053) 0:00:38.843 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.116) 0:00:38.960 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:55:50 -0400 (0:00:00.075) 0:00:39.035 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:55:51 -0400 (0:00:00.112) 0:00:39.148 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:55:51 -0400 (0:00:00.088) 0:00:39.237 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:55:51 -0400 (0:00:00.066) 0:00:39.303 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:55:51 -0400 (0:00:00.094) 0:00:39.398 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:55:53 -0400 (0:00:01.905) 0:00:41.303 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:55:54 -0400 (0:00:01.627) 0:00:42.931 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:55:54 -0400 (0:00:00.068) 0:00:42.999 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:55:54 -0400 (0:00:00.060) 0:00:43.060 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.072) 0:00:43.132 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.040) 0:00:43.172 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.052) 0:00:43.225 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.040) 0:00:43.265 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.050) 0:00:43.315 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.070) 0:00:43.386 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.034) 0:00:43.420 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.035) 0:00:43.455 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.087) 0:00:43.543 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.057) 0:00:43.600 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:55:55 -0400 (0:00:00.056) 0:00:43.656 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:55:56 -0400 (0:00:00.630) 0:00:44.287 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmp5gfxorv5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:55:56 -0400 (0:00:00.608) 0:00:44.895 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:55:57 -0400 (0:00:00.861) 0:00:45.757 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:55:57 -0400 (0:00:00.039) 0:00:45.797 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:55:57 -0400 (0:00:00.037) 0:00:45.835 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:55:57 -0400 (0:00:00.037) 0:00:45.872 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:55:57 -0400 (0:00:00.035) 0:00:45.908 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.409) 0:00:46.318 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.104) 0:00:46.422 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.062) 0:00:46.484 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723766157.4598424, "block_size": 4096, "blocks": 0, "ctime": 1723766157.4598424, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33126, "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": 1723766157.4598424, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.423) 0:00:46.908 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.039) 0:00:46.948 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.066) 0:00:47.014 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:55:58 -0400 (0:00:00.060) 0:00:47.075 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723766157.2786374, "block_size": 4096, "blocks": 8, "ctime": 1723766149.8407328, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723766149.8407328, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:55:59 -0400 (0:00:00.489) 0:00:47.564 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:55:59 -0400 (0:00:00.058) 0:00:47.622 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020158", "end": "2024-08-15 19:55:59.975011", "rc": 1, "start": "2024-08-15 19:55:59.954853" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:56:00 -0400 (0:00:00.638) 0:00:48.261 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:56:00 -0400 (0:00:00.060) 0:00:48.322 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002925", "end": "2024-08-15 19:56:00.560813", "rc": 0, "start": "2024-08-15 19:56:00.557888" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:56:00 -0400 (0:00:00.480) 0:00:48.802 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:56:00 -0400 (0:00:00.049) 0:00:48.852 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003076", "end": "2024-08-15 19:56:01.071462", "rc": 0, "start": "2024-08-15 19:56:01.068386" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.427) 0:00:49.279 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.048) 0:00:49.328 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.050) 0:00:49.379 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.041) 0:00:49.420 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.039) 0:00:49.459 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.032) 0:00:49.491 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.037) 0:00:49.529 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.082) 0:00:49.611 ******* 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.046519", "end": "2024-08-15 19:56:01.877379", "rc": 0, "start": "2024-08-15 19:56:01.830860" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 15 August 2024 19:56:01 -0400 (0:00:00.466) 0:00:50.077 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.066) 0:00:50.143 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.105) 0:00:50.248 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.122) 0:00:50.371 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.114) 0:00:50.485 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.080) 0:00:50.566 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003096", "end": "2024-08-15 19:56:02.749403", "rc": 0, "start": "2024-08-15 19:56:02.746307" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.406) 0:00:50.973 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.056) 0:00:51.030 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 19:56:02 -0400 (0:00:00.055) 0:00:51.085 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 19:56:03 -0400 (0:00:00.090) 0:00:51.175 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:03 -0400 (0:00:00.085) 0:00:51.261 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:03 -0400 (0:00:00.132) 0:00:51.393 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:03 -0400 (0:00:00.112) 0:00:51.506 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:03 -0400 (0:00:00.083) 0:00:51.590 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:03 -0400 (0:00:00.106) 0:00:51.696 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:05 -0400 (0:00:01.935) 0:00:53.632 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:07 -0400 (0:00:01.555) 0:00:55.187 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.063) 0:00:55.251 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.034) 0:00:55.286 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.035) 0:00:55.321 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.034) 0:00:55.355 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.040) 0:00:55.396 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.033) 0:00:55.430 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.039) 0:00:55.469 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.067) 0:00:55.537 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.035) 0:00:55.573 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.034) 0:00:55.608 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.038) 0:00:55.646 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.034) 0:00:55.681 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:07 -0400 (0:00:00.034) 0:00:55.715 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:08 -0400 (0:00:00.552) 0:00:56.268 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmphmmfxt6k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:08 -0400 (0:00:00.433) 0:00:56.701 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.495) 0:00:57.197 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.035) 0:00:57.232 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.040) 0:00:57.273 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.046) 0:00:57.319 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.056) 0:00:57.375 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.468) 0:00:57.844 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.058) 0:00:57.902 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:09 -0400 (0:00:00.094) 0:00:57.997 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:10 -0400 (0:00:00.211) 0:00:58.209 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:10 -0400 (0:00:00.066) 0:00:58.275 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:10 -0400 (0:00:00.118) 0:00:58.394 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:10 -0400 (0:00:00.065) 0:00:58.459 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:12 -0400 (0:00:01.835) 0:01:00.294 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:13 -0400 (0:00:01.622) 0:01:01.916 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:13 -0400 (0:00:00.084) 0:01:02.001 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:13 -0400 (0:00:00.042) 0:01:02.044 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:13 -0400 (0:00:00.039) 0:01:02.083 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:13 -0400 (0:00:00.042) 0:01:02.125 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.056) 0:01:02.182 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.057) 0:01:02.239 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.066) 0:01:02.305 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.116) 0:01:02.421 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.072) 0:01:02.494 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.046) 0:01:02.541 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.056) 0:01:02.598 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.047) 0:01:02.645 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:14 -0400 (0:00:00.038) 0:01:02.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:15 -0400 (0:00:00.561) 0:01:03.245 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmp35x54xyy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:15 -0400 (0:00:00.430) 0:01:03.675 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:16 -0400 (0:00:00.905) 0:01:04.581 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:16 -0400 (0:00:00.107) 0:01:04.688 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:16 -0400 (0:00:00.049) 0:01:04.738 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:16 -0400 (0:00:00.068) 0:01:04.806 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:16 -0400 (0:00:00.057) 0:01:04.864 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.438) 0:01:05.302 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.102) 0:01:05.404 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.107) 0:01:05.511 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.113) 0:01:05.625 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.062) 0:01:05.687 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.110) 0:01:05.797 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:17 -0400 (0:00:00.053) 0:01:05.851 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:19 -0400 (0:00:01.812) 0:01:07.663 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:21 -0400 (0:00:01.564) 0:01:09.227 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.038) 0:01:09.266 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.063) 0:01:09.329 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.039) 0:01:09.369 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.048) 0:01:09.417 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.099) 0:01:09.517 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.083) 0:01:09.600 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.074) 0:01:09.675 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.112) 0:01:09.787 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.071) 0:01:09.859 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.065) 0:01:09.924 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.061) 0:01:09.986 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.053) 0:01:10.040 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:21 -0400 (0:00:00.054) 0:01:10.094 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:22 -0400 (0:00:00.712) 0:01:10.806 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpwgrs9wk4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:23 -0400 (0:00:00.547) 0:01:11.353 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:23 -0400 (0:00:00.579) 0:01:11.932 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:23 -0400 (0:00:00.035) 0:01:11.967 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:23 -0400 (0:00:00.038) 0:01:12.006 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:23 -0400 (0:00:00.037) 0:01:12.044 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:23 -0400 (0:00:00.037) 0:01:12.081 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 19:56:24 -0400 (0:00:00.372) 0:01:12.453 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:56:24 -0400 (0:00:00.071) 0:01:12.525 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:56:24 -0400 (0:00:00.057) 0:01:12.583 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723766176.2224388, "block_size": 4096, "blocks": 0, "ctime": 1723766176.2224388, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33257, "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": 1723766176.2224388, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:56:24 -0400 (0:00:00.480) 0:01:13.064 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 19:56:24 -0400 (0:00:00.044) 0:01:13.109 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:56:25 -0400 (0:00:00.061) 0:01:13.170 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:56:25 -0400 (0:00:00.073) 0:01:13.244 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:56:25 -0400 (0:00:00.378) 0:01:13.623 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:56:25 -0400 (0:00:00.034) 0:01:13.657 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019614", "end": "2024-08-15 19:56:25.856345", "rc": 1, "start": "2024-08-15 19:56:25.836731" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:56:25 -0400 (0:00:00.394) 0:01:14.052 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:56:25 -0400 (0:00:00.071) 0:01:14.124 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.049) 0:01:14.174 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.080) 0:01:14.254 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.127) 0:01:14.381 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.090) 0:01:14.472 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.075) 0:01:14.547 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.057) 0:01:14.604 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.100) 0:01:14.705 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 19:56:26 -0400 (0:00:00.149) 0:01:14.854 ******* 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.045730", "end": "2024-08-15 19:56:27.314427", "rc": 0, "start": "2024-08-15 19:56:27.268697" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 15 August 2024 19:56:27 -0400 (0:00:00.656) 0:01:15.511 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 19:56:27 -0400 (0:00:00.061) 0:01:15.573 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 19:56:27 -0400 (0:00:00.038) 0:01:15.611 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 19:56:27 -0400 (0:00:00.078) 0:01:15.689 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:56:27 -0400 (0:00:00.066) 0:01:15.756 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:56:27 -0400 (0:00:00.095) 0:01:15.851 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2024-08-15 19:56:28.076253", "rc": 0, "start": "2024-08-15 19:56:28.073169" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.420) 0:01:16.271 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.036) 0:01:16.308 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.036) 0:01:16.344 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.072) 0:01:16.417 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.109) 0:01:16.526 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.112) 0:01:16.639 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.072) 0:01:16.711 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.057) 0:01:16.769 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:28 -0400 (0:00:00.048) 0:01:16.817 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:30 -0400 (0:00:01.753) 0:01:18.571 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:31 -0400 (0:00:01.548) 0:01:20.119 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.037) 0:01:20.156 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.037) 0:01:20.193 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.046) 0:01:20.240 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.039) 0:01:20.279 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.066) 0:01:20.346 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.060) 0:01:20.406 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.063) 0:01:20.470 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.120) 0:01:20.590 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.101) 0:01:20.691 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.055) 0:01:20.747 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.065) 0:01:20.813 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.057) 0:01:20.870 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:32 -0400 (0:00:00.056) 0:01:20.927 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:33 -0400 (0:00:00.771) 0:01:21.698 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpsu7vj11k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:34 -0400 (0:00:00.482) 0:01:22.181 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:34 -0400 (0:00:00.666) 0:01:22.847 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:34 -0400 (0:00:00.061) 0:01:22.909 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:34 -0400 (0:00:00.060) 0:01:22.969 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:34 -0400 (0:00:00.052) 0:01:23.022 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:34 -0400 (0:00:00.045) 0:01:23.068 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.449) 0:01:23.518 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.098) 0:01:23.617 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.113) 0:01:23.731 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.133) 0:01:23.865 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.098) 0:01:23.963 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.052) 0:01:24.016 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:35 -0400 (0:00:00.055) 0:01:24.072 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:37 -0400 (0:00:01.827) 0:01:25.899 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:39 -0400 (0:00:01.682) 0:01:27.581 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.069) 0:01:27.651 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.063) 0:01:27.715 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.045) 0:01:27.760 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.042) 0:01:27.802 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.058) 0:01:27.861 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.049) 0:01:27.910 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.039) 0:01:27.950 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.068) 0:01:28.018 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.033) 0:01:28.052 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:39 -0400 (0:00:00.067) 0:01:28.120 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:40 -0400 (0:00:00.041) 0:01:28.161 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:40 -0400 (0:00:00.050) 0:01:28.211 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:40 -0400 (0:00:00.098) 0:01:28.309 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:40 -0400 (0:00:00.650) 0:01:28.960 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmp2j30dmu9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:41 -0400 (0:00:00.618) 0:01:29.579 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:42 -0400 (0:00:00.923) 0:01:30.502 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:42 -0400 (0:00:00.059) 0:01:30.561 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:42 -0400 (0:00:00.062) 0:01:30.623 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:42 -0400 (0:00:00.091) 0:01:30.715 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:42 -0400 (0:00:00.052) 0:01:30.767 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 15 August 2024 19:56:43 -0400 (0:00:00.457) 0:01:31.225 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:43 -0400 (0:00:00.103) 0:01:31.328 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:43 -0400 (0:00:00.110) 0:01:31.439 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:43 -0400 (0:00:00.062) 0:01:31.502 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:43 -0400 (0:00:00.060) 0:01:31.562 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:43 -0400 (0:00:00.063) 0:01:31.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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:45 -0400 (0:00:01.846) 0:01:33.472 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:46 -0400 (0:00:01.583) 0:01:35.056 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:46 -0400 (0:00:00.045) 0:01:35.101 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.035) 0:01:35.137 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.034) 0:01:35.172 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.040) 0:01:35.213 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.066) 0:01:35.279 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.053) 0:01:35.332 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.045) 0:01:35.378 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.089) 0:01:35.467 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.039) 0:01:35.507 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.033) 0:01:35.540 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.073) 0:01:35.614 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.038) 0:01:35.652 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:47 -0400 (0:00:00.051) 0:01:35.703 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:48 -0400 (0:00:00.541) 0:01:36.245 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpm5v__mic" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:48 -0400 (0:00:00.412) 0:01:36.658 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.600) 0:01:37.259 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.058) 0:01:37.317 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.068) 0:01:37.385 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.052) 0:01:37.438 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.039) 0:01:37.477 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.428) 0:01:37.906 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 19:56:49 -0400 (0:00:00.129) 0:01:38.035 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:50 -0400 (0:00:00.120) 0:01:38.156 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:50 -0400 (0:00:00.211) 0:01:38.368 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:56:50 -0400 (0:00:00.087) 0:01:38.456 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:56:50 -0400 (0:00:00.060) 0:01:38.517 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:56:50 -0400 (0:00:00.055) 0:01:38.572 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:56:52 -0400 (0:00:01.788) 0:01:40.361 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:56:53 -0400 (0:00:01.578) 0:01:41.940 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:56:53 -0400 (0:00:00.059) 0:01:41.999 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:56:53 -0400 (0:00:00.050) 0:01:42.049 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:56:53 -0400 (0:00:00.054) 0:01:42.104 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.065) 0:01:42.170 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.052) 0:01:42.222 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.038) 0:01:42.261 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.040) 0:01:42.302 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.137) 0:01:42.440 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.035) 0:01:42.475 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.035) 0:01:42.511 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.044) 0:01:42.556 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.042) 0:01:42.599 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:56:54 -0400 (0:00:00.052) 0:01:42.651 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:56:55 -0400 (0:00:00.629) 0:01:43.281 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpjm1psjbp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:56:55 -0400 (0:00:00.424) 0:01:43.706 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.590) 0:01:44.296 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.034) 0:01:44.331 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.041) 0:01:44.372 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.049) 0:01:44.422 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.097) 0:01:44.519 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.407) 0:01:44.927 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 19:56:56 -0400 (0:00:00.074) 0:01:45.001 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:56:57 -0400 (0:00:00.162) 0:01:45.164 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:56:57 -0400 (0:00:00.109) 0:01:45.273 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:56:57 -0400 (0:00:00.545) 0:01:45.818 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:56:57 -0400 (0:00:00.035) 0:01:45.854 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020645", "end": "2024-08-15 19:56:58.053747", "rc": 1, "start": "2024-08-15 19:56:58.033102" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.395) 0:01:46.250 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.037) 0:01:46.287 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.036) 0:01:46.324 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.035) 0:01:46.360 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.071) 0:01:46.431 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.042) 0:01:46.474 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.042) 0:01:46.516 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.042) 0:01:46.558 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.037) 0:01:46.596 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.063) 0:01:46.660 ******* 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.044660", "end": "2024-08-15 19:56:58.889643", "rc": 0, "start": "2024-08-15 19:56:58.844983" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 15 August 2024 19:56:58 -0400 (0:00:00.437) 0:01:47.098 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.075) 0:01:47.174 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.043) 0:01:47.217 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.077) 0:01:47.295 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.055) 0:01:47.350 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.089) 0:01:47.440 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2024-08-15 19:56:59.620144", "rc": 0, "start": "2024-08-15 19:56:59.617025" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.377) 0:01:47.817 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.038) 0:01:47.856 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.037) 0:01:47.893 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.074) 0:01:47.968 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.060) 0:01:48.028 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:56:59 -0400 (0:00:00.068) 0:01:48.096 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:57:00 -0400 (0:00:00.043) 0:01:48.140 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:57:00 -0400 (0:00:00.037) 0:01:48.177 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:57:00 -0400 (0:00:00.036) 0:01:48.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 : Check which packages are installed] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:57:01 -0400 (0:00:01.769) 0:01:49.983 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:57:03 -0400 (0:00:01.553) 0:01:51.536 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.064) 0:01:51.601 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.080) 0:01:51.681 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.087) 0:01:51.769 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.040) 0:01:51.810 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.049) 0:01:51.859 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.045) 0:01:51.904 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.044) 0:01:51.949 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.070) 0:01:52.019 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.035) 0:01:52.054 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.034) 0:01:52.089 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:57:03 -0400 (0:00:00.038) 0:01:52.128 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:57:04 -0400 (0:00:00.034) 0:01:52.162 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:57:04 -0400 (0:00:00.034) 0:01:52.197 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:57:04 -0400 (0:00:00.548) 0:01:52.745 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpkw25rows" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:57:05 -0400 (0:00:00.384) 0:01:53.129 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:57:05 -0400 (0:00:00.538) 0:01:53.667 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:57:05 -0400 (0:00:00.036) 0:01:53.704 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:57:05 -0400 (0:00:00.059) 0:01:53.764 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:57:05 -0400 (0:00:00.046) 0:01:53.810 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:57:05 -0400 (0:00:00.053) 0:01:53.864 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.430) 0:01:54.294 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.060) 0:01:54.355 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.094) 0:01:54.449 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.105) 0:01:54.554 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.049) 0:01:54.604 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.044) 0:01:54.649 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:57:06 -0400 (0:00:00.045) 0:01:54.695 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:57:08 -0400 (0:00:01.859) 0:01:56.554 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:57:10 -0400 (0:00:01.670) 0:01:58.225 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.058) 0:01:58.284 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.049) 0:01:58.334 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.077) 0:01:58.411 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.123) 0:01:58.535 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.100) 0:01:58.636 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.056) 0:01:58.692 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.077) 0:01:58.770 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.097) 0:01:58.867 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.042) 0:01:58.910 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.052) 0:01:58.962 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.046) 0:01:59.009 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.049) 0:01:59.059 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:57:10 -0400 (0:00:00.057) 0:01:59.116 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:57:11 -0400 (0:00:00.820) 0:01:59.937 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmp1ar8fsyg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:57:12 -0400 (0:00:00.547) 0:02:00.484 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:57:13 -0400 (0:00:01.013) 0:02:01.498 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:57:13 -0400 (0:00:00.053) 0:02:01.551 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:57:13 -0400 (0:00:00.057) 0:02:01.608 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:57:13 -0400 (0:00:00.061) 0:02:01.669 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:57:13 -0400 (0:00:00.055) 0:02:01.724 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 19:57:13 -0400 (0:00:00.379) 0:02:02.104 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:57:14 -0400 (0:00:00.084) 0:02:02.188 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:57:14 -0400 (0:00:00.081) 0:02:02.270 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:57:14 -0400 (0:00:00.055) 0:02:02.325 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:57:14 -0400 (0:00:00.041) 0:02:02.366 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:57:14 -0400 (0:00:00.051) 0:02:02.418 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:57:16 -0400 (0:00:01.843) 0:02:04.261 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:57:17 -0400 (0:00:01.617) 0:02:05.879 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:57:17 -0400 (0:00:00.060) 0:02:05.940 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:57:17 -0400 (0:00:00.049) 0:02:05.989 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:57:17 -0400 (0:00:00.038) 0:02:06.028 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:57:17 -0400 (0:00:00.075) 0:02:06.104 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.047) 0:02:06.151 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.052) 0:02:06.203 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.070) 0:02:06.273 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.114) 0:02:06.388 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.084) 0:02:06.472 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.121) 0:02:06.594 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.143) 0:02:06.738 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.135) 0:02:06.874 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:57:18 -0400 (0:00:00.093) 0:02:06.967 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:57:19 -0400 (0:00:00.648) 0:02:07.616 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmplx1u72h1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:57:19 -0400 (0:00:00.403) 0:02:08.020 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:57:20 -0400 (0:00:00.639) 0:02:08.659 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:57:20 -0400 (0:00:00.077) 0:02:08.737 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:57:20 -0400 (0:00:00.067) 0:02:08.804 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:57:20 -0400 (0:00:00.049) 0:02:08.854 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:57:20 -0400 (0:00:00.053) 0:02:08.907 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.430) 0:02:09.337 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.086) 0:02:09.424 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.093) 0:02:09.517 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.089) 0:02:09.607 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.049) 0:02:09.656 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.035) 0:02:09.692 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:57:21 -0400 (0:00:00.033) 0:02:09.725 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:57:23 -0400 (0:00:01.823) 0:02:11.549 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:57:24 -0400 (0:00:01.536) 0:02:13.086 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:57:24 -0400 (0:00:00.036) 0:02:13.122 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.063) 0:02:13.185 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.034) 0:02:13.220 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.035) 0:02:13.255 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.041) 0:02:13.296 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.034) 0:02:13.331 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.045) 0:02:13.376 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.073) 0:02:13.449 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.035) 0:02:13.485 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.035) 0:02:13.521 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.039) 0:02:13.560 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.035) 0:02:13.596 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:57:25 -0400 (0:00:00.035) 0:02:13.631 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:57:26 -0400 (0:00:00.545) 0:02:14.177 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-449320tf0mgk8/tmpgkzlyiee" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:57:26 -0400 (0:00:00.423) 0:02:14.601 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.546) 0:02:15.147 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.035) 0:02:15.183 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.038) 0:02:15.221 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.037) 0:02:15.259 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.035) 0:02:15.294 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.397) 0:02:15.692 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.114) 0:02:15.807 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.101) 0:02:15.908 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:57:27 -0400 (0:00:00.056) 0:02:15.965 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:57:28 -0400 (0:00:00.422) 0:02:16.388 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:57:28 -0400 (0:00:00.083) 0:02:16.471 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019941", "end": "2024-08-15 19:57:28.674111", "rc": 1, "start": "2024-08-15 19:57:28.654170" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:57:28 -0400 (0:00:00.430) 0:02:16.901 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:57:28 -0400 (0:00:00.066) 0:02:16.968 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:57:28 -0400 (0:00:00.055) 0:02:17.024 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:57:28 -0400 (0:00:00.060) 0:02:17.084 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:57:29 -0400 (0:00:00.056) 0:02:17.141 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 19:57:29 -0400 (0:00:00.041) 0:02:17.182 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 15 August 2024 19:57:29 -0400 (0:00:00.046) 0:02:17.229 ******* [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.950211", "end": "2024-08-15 19:57:30.381872", "rc": 0, "start": "2024-08-15 19:57:29.431661" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 15 August 2024 19:57:30 -0400 (0:00:01.357) 0:02:18.587 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 15 August 2024 19:57:30 -0400 (0:00:00.047) 0:02:18.634 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 19:57:30 -0400 (0:00:00.070) 0:02:18.704 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 19:57:30 -0400 (0:00:00.042) 0:02:18.747 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 19:57:30 -0400 (0:00:00.038) 0:02:18.785 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 19:57:30 -0400 (0:00:00.074) 0:02:18.859 ******* 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.045613", "end": "2024-08-15 19:57:31.087290", "rc": 0, "start": "2024-08-15 19:57:31.041677" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 15 August 2024 19:57:31 -0400 (0:00:00.428) 0:02:19.288 ******* 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.008853", "end": "2024-08-15 19:57:31.473602", "rc": 0, "start": "2024-08-15 19:57:31.464749" } 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 0a:ff:d3:5a:8c:bd brd ff:ff:ff:ff:ff:ff inet 10.31.13.5/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2502sec preferred_lft 2502sec inet6 fe80::8ff:d3ff:fe5a:8cbd/64 scope link valid_lft forever preferred_lft forever 43: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 0a:20:72:09:55:fd 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.12.1 dev eth0 proto dhcp src 10.31.13.5 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.5 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 15 August 2024 19:57:31 -0400 (0:00:00.382) 0:02:19.670 ******* 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.262538", "end": "2024-08-15 19:57:32.120869", "rc": 0, "start": "2024-08-15 19:57:31.858331" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 11730 0 --:--:-- --:--:-- --:--:-- 11730 % 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 1419 0 --:--:-- --:--:-- --:--:-- 1419 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Thursday 15 August 2024 19:57:32 -0400 (0:00:00.629) 0:02:20.300 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26