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/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 31 July 2024 11:52:40 -0400 (0:00:00.017) 0:00:00.017 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 31 July 2024 11:52:41 -0400 (0:00:00.921) 0:00:00.939 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 11:52:41 -0400 (0:00:00.034) 0:00:00.974 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 11:52:41 -0400 (0:00:00.507) 0:00:01.482 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.455) 0:00:01.937 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.038) 0:00:01.975 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.034) 0:00:02.010 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.062) 0:00:02.073 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.428) 0:00:02.501 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.017) 0:00:02.519 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 11:52:42 -0400 (0:00:00.017) 0:00:02.537 ******** [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.239289", "end": "2024-07-31 11:52:43.174221", "rc": 0, "start": "2024-07-31 11:52:42.934932" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.600) 0:00:03.138 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.016) 0:00:03.154 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.019) 0:00:03.173 ******** ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.643) 0:00:03.817 ******** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.018) 0:00:03.835 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.027) 0:00:03.862 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:52:43 -0400 (0:00:00.018) 0:00:03.881 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.060) 0:00:03.942 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.024) 0:00:03.966 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.021) 0:00:03.988 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002961", "end": "2024-07-31 11:52:44.384780", "rc": 0, "start": "2024-07-31 11:52:44.381819" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.357) 0:00:04.346 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.019) 0:00:04.365 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.018) 0:00:04.384 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.032) 0:00:04.417 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007900", "end": "2024-07-31 11:52:44.814219", "rc": 1, "start": "2024-07-31 11:52:44.806319" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.357) 0:00:04.774 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:52:44 -0400 (0:00:00.025) 0:00:04.800 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.353) 0:00:05.153 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.021) 0:00:05.174 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.030) 0:00:05.205 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.092) 0:00:05.297 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.036) 0:00:05.333 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.019) 0:00:05.353 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.017) 0:00:05.370 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:52:45 -0400 (0:00:00.019) 0:00:05.390 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:52:47 -0400 (0:00:01.691) 0:00:07.082 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:52:48 -0400 (0:00:01.609) 0:00:08.692 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:52:48 -0400 (0:00:00.036) 0:00:08.728 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:52:48 -0400 (0:00:00.055) 0:00:08.783 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:52:48 -0400 (0:00:00.037) 0:00:08.820 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:52:48 -0400 (0:00:00.033) 0:00:08.853 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:52:48 -0400 (0:00:00.045) 0:00:08.899 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.037) 0:00:08.936 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.038) 0:00:08.975 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.068) 0:00:09.043 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.036) 0:00:09.079 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.036) 0:00:09.115 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.038) 0:00:09.154 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.037) 0:00:09.192 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:52:49 -0400 (0:00:00.035) 0:00:09.227 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:52:50 -0400 (0:00:00.722) 0:00:09.950 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmp023z2eol" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:52:50 -0400 (0:00:00.373) 0:00:10.324 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.667) 0:00:10.991 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.036) 0:00:11.027 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.036) 0:00:11.064 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.039) 0:00:11.103 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.032) 0:00:11.136 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.478) 0:00:11.614 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.037) 0:00:11.652 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.063) 0:00:11.715 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.091) 0:00:11.806 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:52:51 -0400 (0:00:00.034) 0:00:11.841 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722441171.0112398, "block_size": 4096, "blocks": 8, "ctime": 1722441171.0112398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722441171.0112398, "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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:52:52 -0400 (0:00:00.365) 0:00:12.206 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:52:52 -0400 (0:00:00.038) 0:00:12.245 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022354", "end": "2024-07-31 11:52:52.650369", "rc": 1, "start": "2024-07-31 11:52:52.628015" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:52:52 -0400 (0:00:00.378) 0:00:12.624 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:52:52 -0400 (0:00:00.036) 0:00:12.660 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002799", "end": "2024-07-31 11:52:53.048837", "rc": 0, "start": "2024-07-31 11:52:53.046038" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.366) 0:00:13.027 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.043) 0:00:13.071 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002894", "end": "2024-07-31 11:52:53.462259", "rc": 0, "start": "2024-07-31 11:52:53.459365" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.369) 0:00:13.440 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.041) 0:00:13.482 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.038) 0:00:13.521 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.039) 0:00:13.561 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.089) 0:00:13.650 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.041) 0:00:13.691 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.038) 0:00:13.729 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:52:53 -0400 (0:00:00.062) 0:00:13.792 ******** 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.039434", "end": "2024-07-31 11:52:54.217357", "rc": 1, "start": "2024-07-31 11:52:54.177923" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.401) 0:00:14.194 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.058) 0:00:14.252 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.038) 0:00:14.291 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.071) 0:00:14.363 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.056) 0:00:14.419 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.053) 0:00:14.472 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005008", "end": "2024-07-31 11:52:54.860254", "rc": 0, "start": "2024-07-31 11:52:54.855246" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.360) 0:00:14.833 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.037) 0:00:14.870 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:52:54 -0400 (0:00:00.035) 0:00:14.905 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 31 July 2024 11:52:55 -0400 (0:00:00.065) 0:00:14.970 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005498", "end": "2024-07-31 11:52:55.365169", "rc": 1, "start": "2024-07-31 11:52:55.359671" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:52:55 -0400 (0:00:00.369) 0:00:15.340 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:52:55 -0400 (0:00:00.055) 0:00:15.395 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:52:55 -0400 (0:00:00.363) 0:00:15.759 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:52:55 -0400 (0:00:00.037) 0:00:15.796 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 July 2024 11:52:55 -0400 (0:00:00.063) 0:00:15.859 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:52:56 -0400 (0:00:00.097) 0:00:15.957 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:52:56 -0400 (0:00:00.066) 0:00:16.024 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:52:56 -0400 (0:00:00.041) 0:00:16.066 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:52:56 -0400 (0:00:00.033) 0:00:16.099 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:52:56 -0400 (0:00:00.037) 0:00:16.136 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:52:57 -0400 (0:00:01.516) 0:00:17.653 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:52:59 -0400 (0:00:01.418) 0:00:19.072 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.033) 0:00:19.105 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.033) 0:00:19.139 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.031) 0:00:19.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.033) 0:00:19.204 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.037) 0:00:19.242 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.033) 0:00:19.275 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.038) 0:00:19.313 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.063) 0:00:19.377 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.030) 0:00:19.408 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.033) 0:00:19.441 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.062) 0:00:19.503 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.032) 0:00:19.536 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:52:59 -0400 (0:00:00.032) 0:00:19.568 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:00 -0400 (0:00:00.502) 0:00:20.071 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmp4u5mz0ss" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:00 -0400 (0:00:00.354) 0:00:20.425 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:00 -0400 (0:00:00.454) 0:00:20.879 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.032) 0:00:20.912 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.035) 0:00:20.947 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.033) 0:00:20.980 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.033) 0:00:21.014 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.335) 0:00:21.349 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.063) 0:00:21.412 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.067) 0:00:21.480 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.052) 0:00:21.533 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:53:01 -0400 (0:00:00.344) 0:00:21.877 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.037) 0:00:21.914 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.057) 0:00:21.971 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.034) 0:00:22.006 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722441180.9043565, "block_size": 4096, "blocks": 8, "ctime": 1722441180.9043565, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722441180.9043565, "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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.366) 0:00:22.373 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.037) 0:00:22.411 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018787", "end": "2024-07-31 11:53:02.831579", "rc": 1, "start": "2024-07-31 11:53:02.812792" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.436) 0:00:22.847 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:53:02 -0400 (0:00:00.036) 0:00:22.884 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002971", "end": "2024-07-31 11:53:03.294274", "rc": 0, "start": "2024-07-31 11:53:03.291303" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.389) 0:00:23.273 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.044) 0:00:23.318 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003044", "end": "2024-07-31 11:53:03.722820", "rc": 0, "start": "2024-07-31 11:53:03.719776" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.385) 0:00:23.703 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.046) 0:00:23.750 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.040) 0:00:23.790 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.042) 0:00:23.832 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.040) 0:00:23.872 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:53:03 -0400 (0:00:00.035) 0:00:23.908 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.036) 0:00:23.945 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.067) 0:00:24.012 ******** 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.036543", "end": "2024-07-31 11:53:04.445585", "rc": 1, "start": "2024-07-31 11:53:04.409042" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.439) 0:00:24.452 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.060) 0:00:24.513 ******** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.038) 0:00:24.551 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.081) 0:00:24.632 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.060) 0:00:24.693 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:53:04 -0400 (0:00:00.058) 0:00:24.751 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003104", "end": "2024-07-31 11:53:05.152196", "rc": 0, "start": "2024-07-31 11:53:05.149092" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.377) 0:00:25.129 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.038) 0:00:25.167 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.037) 0:00:25.205 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.064) 0:00:25.269 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.099) 0:00:25.369 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.070) 0:00:25.440 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.041) 0:00:25.482 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.038) 0:00:25.520 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:05 -0400 (0:00:00.039) 0:00:25.559 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:07 -0400 (0:00:01.703) 0:00:27.263 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:08 -0400 (0:00:01.492) 0:00:28.756 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:08 -0400 (0:00:00.039) 0:00:28.795 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:08 -0400 (0:00:00.035) 0:00:28.831 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:08 -0400 (0:00:00.039) 0:00:28.870 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.038) 0:00:28.909 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.042) 0:00:28.951 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.037) 0:00:28.988 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.044) 0:00:29.033 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.069) 0:00:29.102 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.034) 0:00:29.137 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.074) 0:00:29.212 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.041) 0:00:29.253 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.036) 0:00:29.290 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.037) 0:00:29.328 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:09 -0400 (0:00:00.543) 0:00:29.872 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpz5vkwqlx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:10 -0400 (0:00:00.391) 0:00:30.263 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:10 -0400 (0:00:00.503) 0:00:30.766 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:10 -0400 (0:00:00.035) 0:00:30.802 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:10 -0400 (0:00:00.039) 0:00:30.841 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:10 -0400 (0:00:00.037) 0:00:30.879 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.037) 0:00:30.917 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.377) 0:00:31.295 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.038) 0:00:31.333 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.064) 0:00:31.398 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.071) 0:00:31.469 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.069) 0:00:31.539 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.043) 0:00:31.583 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.039) 0:00:31.622 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:11 -0400 (0:00:00.035) 0:00:31.658 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:13 -0400 (0:00:01.713) 0:00:33.371 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:14 -0400 (0:00:01.458) 0:00:34.830 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:14 -0400 (0:00:00.038) 0:00:34.869 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:14 -0400 (0:00:00.037) 0:00:34.906 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.035) 0:00:34.942 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.038) 0:00:34.980 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.097) 0:00:35.078 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.038) 0:00:35.116 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.042) 0:00:35.159 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.068) 0:00:35.228 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.035) 0:00:35.263 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.038) 0:00:35.302 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.040) 0:00:35.343 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.035) 0:00:35.379 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:15 -0400 (0:00:00.036) 0:00:35.416 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:16 -0400 (0:00:00.545) 0:00:35.961 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmp0gabxten" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:16 -0400 (0:00:00.391) 0:00:36.352 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.790) 0:00:37.142 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.035) 0:00:37.178 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.039) 0:00:37.217 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.039) 0:00:37.257 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.034) 0:00:37.292 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.379) 0:00:37.672 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.071) 0:00:37.743 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:53:17 -0400 (0:00:00.059) 0:00:37.803 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722441197.0770729, "block_size": 4096, "blocks": 0, "ctime": 1722441197.0770729, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62432, "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": 1722441197.0770729, "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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 11:53:18 -0400 (0:00:00.375) 0:00:38.178 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 11:53:18 -0400 (0:00:00.042) 0:00:38.221 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:53:18 -0400 (0:00:00.099) 0:00:38.320 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:53:18 -0400 (0:00:00.038) 0:00:38.359 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722441196.9155455, "block_size": 4096, "blocks": 8, "ctime": 1722441190.786473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722441190.786473, "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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:53:18 -0400 (0:00:00.380) 0:00:38.740 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:53:18 -0400 (0:00:00.038) 0:00:38.779 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019342", "end": "2024-07-31 11:53:19.196550", "rc": 1, "start": "2024-07-31 11:53:19.177208" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:53:19 -0400 (0:00:00.396) 0:00:39.175 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:53:19 -0400 (0:00:00.037) 0:00:39.213 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002909", "end": "2024-07-31 11:53:19.624120", "rc": 0, "start": "2024-07-31 11:53:19.621211" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:53:19 -0400 (0:00:00.390) 0:00:39.603 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:53:19 -0400 (0:00:00.045) 0:00:39.649 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004077", "end": "2024-07-31 11:53:21.055434", "rc": 0, "start": "2024-07-31 11:53:20.051357" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:53:21 -0400 (0:00:01.386) 0:00:41.035 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.044) 0:00:41.079 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.040) 0:00:41.120 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.042) 0:00:41.163 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.039) 0:00:41.202 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.034) 0:00:41.236 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.039) 0:00:41.275 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.068) 0:00:41.344 ******** 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.048255", "end": "2024-07-31 11:53:21.789313", "rc": 0, "start": "2024-07-31 11:53:21.741058" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.424) 0:00:41.768 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.062) 0:00:41.831 ******** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:53:21 -0400 (0:00:00.038) 0:00:41.870 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.118) 0:00:41.988 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.059) 0:00:42.048 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.056) 0:00:42.104 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003066", "end": "2024-07-31 11:53:22.508383", "rc": 0, "start": "2024-07-31 11:53:22.505317" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.383) 0:00:42.488 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.040) 0:00:42.528 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.035) 0:00:42.563 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.069) 0:00:42.633 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.060) 0:00:42.694 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.069) 0:00:42.763 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.044) 0:00:42.808 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:22 -0400 (0:00:00.072) 0:00:42.880 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:23 -0400 (0:00:00.037) 0:00:42.917 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:24 -0400 (0:00:01.696) 0:00:44.614 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:26 -0400 (0:00:01.484) 0:00:46.099 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.039) 0:00:46.138 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.035) 0:00:46.174 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.037) 0:00:46.211 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.037) 0:00:46.249 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.045) 0:00:46.294 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.037) 0:00:46.331 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.041) 0:00:46.372 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.071) 0:00:46.444 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.035) 0:00:46.479 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.036) 0:00:46.515 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.041) 0:00:46.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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.034) 0:00:46.591 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:26 -0400 (0:00:00.035) 0:00:46.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:27 -0400 (0:00:00.565) 0:00:47.192 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpq13kejsp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:27 -0400 (0:00:00.376) 0:00:47.569 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.496) 0:00:48.065 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.035) 0:00:48.101 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.037) 0:00:48.138 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.040) 0:00:48.178 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.035) 0:00:48.214 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.367) 0:00:48.581 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.039) 0:00:48.620 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.059) 0:00:48.680 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.104) 0:00:48.785 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.042) 0:00:48.827 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.035) 0:00:48.863 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:28 -0400 (0:00:00.038) 0:00:48.901 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:30 -0400 (0:00:01.667) 0:00:50.569 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:32 -0400 (0:00:01.480) 0:00:52.050 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.038) 0:00:52.088 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.038) 0:00:52.127 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.035) 0:00:52.163 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.037) 0:00:52.200 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.042) 0:00:52.243 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.039) 0:00:52.283 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.041) 0:00:52.324 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.072) 0:00:52.396 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.038) 0:00:52.434 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.034) 0:00:52.469 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.045) 0:00:52.515 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.037) 0:00:52.553 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:32 -0400 (0:00:00.034) 0:00:52.587 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:33 -0400 (0:00:00.550) 0:00:53.138 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpiwjn487m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:33 -0400 (0:00:00.386) 0:00:53.524 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.738) 0:00:54.263 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.038) 0:00:54.302 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.038) 0:00:54.341 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.039) 0:00:54.380 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.038) 0:00:54.418 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.371) 0:00:54.790 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 31 July 2024 11:53:34 -0400 (0:00:00.065) 0:00:54.856 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:35 -0400 (0:00:00.110) 0:00:54.967 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:35 -0400 (0:00:00.069) 0:00:55.036 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:35 -0400 (0:00:00.046) 0:00:55.082 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:35 -0400 (0:00:00.034) 0:00:55.117 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:35 -0400 (0:00:00.038) 0:00:55.156 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:36 -0400 (0:00:01.708) 0:00:56.864 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:38 -0400 (0:00:01.484) 0:00:58.349 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.038) 0:00:58.388 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.038) 0:00:58.427 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.035) 0:00:58.462 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.037) 0:00:58.499 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.042) 0:00:58.542 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.036) 0:00:58.578 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.046) 0:00:58.624 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.071) 0:00:58.695 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.037) 0:00:58.733 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.076) 0:00:58.809 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.041) 0:00:58.851 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:38 -0400 (0:00:00.035) 0:00:58.887 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:39 -0400 (0:00:00.038) 0:00:58.925 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:39 -0400 (0:00:00.549) 0:00:59.475 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpbmb1y5am" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:39 -0400 (0:00:00.387) 0:00:59.863 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:40 -0400 (0:00:00.507) 0:01:00.370 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:40 -0400 (0:00:00.036) 0:01:00.407 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:40 -0400 (0:00:00.038) 0:01:00.445 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:40 -0400 (0:00:00.041) 0:01:00.487 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:40 -0400 (0:00:00.034) 0:01:00.521 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:53:40 -0400 (0:00:00.375) 0:01:00.897 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 11:53:41 -0400 (0:00:00.071) 0:01:00.969 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:53:41 -0400 (0:00:00.061) 0:01:01.030 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722441214.2042632, "block_size": 4096, "blocks": 0, "ctime": 1722441214.2042632, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62563, "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": 1722441214.2042632, "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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 11:53:41 -0400 (0:00:00.382) 0:01:01.412 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 11:53:41 -0400 (0:00:00.042) 0:01:01.455 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:53:41 -0400 (0:00:00.063) 0:01:01.518 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:53:41 -0400 (0:00:00.039) 0:01:01.557 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.372) 0:01:01.930 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.036) 0:01:01.966 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022292", "end": "2024-07-31 11:53:42.386283", "rc": 1, "start": "2024-07-31 11:53:42.363991" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.394) 0:01:02.361 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.039) 0:01:02.401 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.038) 0:01:02.439 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.038) 0:01:02.478 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.040) 0:01:02.519 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.037) 0:01:02.557 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.041) 0:01:02.598 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.035) 0:01:02.634 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.038) 0:01:02.672 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:53:42 -0400 (0:00:00.067) 0:01:02.739 ******** 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.046970", "end": "2024-07-31 11:53:43.186246", "rc": 0, "start": "2024-07-31 11:53:43.139276" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.428) 0:01:03.167 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.061) 0:01:03.229 ******** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.079) 0:01:03.309 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.079) 0:01:03.389 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.058) 0:01:03.448 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.058) 0:01:03.506 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003018", "end": "2024-07-31 11:53:43.906411", "rc": 0, "start": "2024-07-31 11:53:43.903393" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:53:43 -0400 (0:00:00.377) 0:01:03.883 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.038) 0:01:03.921 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.038) 0:01:03.959 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.075) 0:01:04.035 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.061) 0:01:04.096 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.067) 0:01:04.164 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.127) 0:01:04.292 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.037) 0:01:04.330 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:44 -0400 (0:00:00.038) 0:01:04.368 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:46 -0400 (0:00:01.682) 0:01:06.051 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:47 -0400 (0:00:01.457) 0:01:07.509 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.038) 0:01:07.548 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.034) 0:01:07.582 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.038) 0:01:07.621 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.036) 0:01:07.657 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.042) 0:01:07.700 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.037) 0:01:07.737 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.041) 0:01:07.779 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.072) 0:01:07.851 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:47 -0400 (0:00:00.035) 0:01:07.887 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:48 -0400 (0:00:00.037) 0:01:07.925 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:48 -0400 (0:00:00.043) 0:01:07.968 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:48 -0400 (0:00:00.035) 0:01:08.004 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:48 -0400 (0:00:00.076) 0:01:08.081 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:48 -0400 (0:00:00.550) 0:01:08.631 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpzk63cwnw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:49 -0400 (0:00:00.389) 0:01:09.021 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:49 -0400 (0:00:00.497) 0:01:09.518 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:49 -0400 (0:00:00.037) 0:01:09.556 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:49 -0400 (0:00:00.038) 0:01:09.595 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:49 -0400 (0:00:00.039) 0:01:09.634 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:49 -0400 (0:00:00.037) 0:01:09.672 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.374) 0:01:10.047 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.037) 0:01:10.085 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.098) 0:01:10.183 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.072) 0:01:10.255 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.042) 0:01:10.298 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.036) 0:01:10.335 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:50 -0400 (0:00:00.037) 0:01:10.373 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:52 -0400 (0:00:01.701) 0:01:12.074 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:53 -0400 (0:00:01.492) 0:01:13.567 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.037) 0:01:13.604 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.038) 0:01:13.642 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.037) 0:01:13.680 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.036) 0:01:13.716 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.043) 0:01:13.759 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.038) 0:01:13.798 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:53:53 -0400 (0:00:00.040) 0:01:13.839 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.072) 0:01:13.911 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.034) 0:01:13.946 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.072) 0:01:14.018 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.043) 0:01:14.062 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.037) 0:01:14.099 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.036) 0:01:14.136 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:53:54 -0400 (0:00:00.543) 0:01:14.679 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpx3aux3gn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:53:55 -0400 (0:00:00.388) 0:01:15.067 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:53:55 -0400 (0:00:00.733) 0:01:15.801 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:53:55 -0400 (0:00:00.036) 0:01:15.838 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:53:55 -0400 (0:00:00.037) 0:01:15.875 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.041) 0:01:15.916 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.073) 0:01:15.990 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.373) 0:01:16.364 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.058) 0:01:16.422 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.070) 0:01:16.492 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.043) 0:01:16.536 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.035) 0:01:16.571 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:53:56 -0400 (0:00:00.037) 0:01:16.608 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:53:58 -0400 (0:00:01.647) 0:01:18.256 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:53:59 -0400 (0:00:01.435) 0:01:19.692 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:53:59 -0400 (0:00:00.037) 0:01:19.730 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:53:59 -0400 (0:00:00.033) 0:01:19.764 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:53:59 -0400 (0:00:00.036) 0:01:19.800 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:53:59 -0400 (0:00:00.034) 0:01:19.834 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:53:59 -0400 (0:00:00.042) 0:01:19.877 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.035) 0:01:19.912 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.076) 0:01:19.989 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.067) 0:01:20.057 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.038) 0:01:20.095 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.034) 0:01:20.130 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.039) 0:01:20.170 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.037) 0:01:20.207 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.035) 0:01:20.243 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:54:00 -0400 (0:00:00.533) 0:01:20.776 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpt5k49_hj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:54:01 -0400 (0:00:00.381) 0:01:21.158 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:54:01 -0400 (0:00:00.502) 0:01:21.660 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:54:01 -0400 (0:00:00.034) 0:01:21.695 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:54:01 -0400 (0:00:00.039) 0:01:21.734 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:54:01 -0400 (0:00:00.074) 0:01:21.808 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:54:01 -0400 (0:00:00.037) 0:01:21.845 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.358) 0:01:22.204 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.064) 0:01:22.269 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.069) 0:01:22.338 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.067) 0:01:22.406 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.043) 0:01:22.449 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.035) 0:01:22.485 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:54:02 -0400 (0:00:00.035) 0:01:22.520 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:54:04 -0400 (0:00:01.610) 0:01:24.130 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:54:05 -0400 (0:00:01.452) 0:01:25.583 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.039) 0:01:25.622 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.035) 0:01:25.658 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.072) 0:01:25.730 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.035) 0:01:25.765 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.045) 0:01:25.810 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.038) 0:01:25.849 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:54:05 -0400 (0:00:00.039) 0:01:25.888 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.073) 0:01:25.962 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.038) 0:01:26.001 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.036) 0:01:26.037 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.043) 0:01:26.080 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.036) 0:01:26.117 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.036) 0:01:26.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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:54:06 -0400 (0:00:00.551) 0:01:26.704 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpseulhqvt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:54:07 -0400 (0:00:00.385) 0:01:27.089 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:54:07 -0400 (0:00:00.548) 0:01:27.638 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:54:07 -0400 (0:00:00.036) 0:01:27.675 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:54:07 -0400 (0:00:00.037) 0:01:27.713 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:54:07 -0400 (0:00:00.038) 0:01:27.751 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:54:07 -0400 (0:00:00.037) 0:01:27.789 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:54:08 -0400 (0:00:00.356) 0:01:28.145 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 11:54:08 -0400 (0:00:00.063) 0:01:28.209 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:54:08 -0400 (0:00:00.061) 0:01:28.271 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:54:08 -0400 (0:00:00.036) 0:01:28.308 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:54:08 -0400 (0:00:00.362) 0:01:28.670 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:54:08 -0400 (0:00:00.070) 0:01:28.741 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020978", "end": "2024-07-31 11:54:09.153144", "rc": 1, "start": "2024-07-31 11:54:09.132166" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.388) 0:01:29.129 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.037) 0:01:29.167 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.039) 0:01:29.207 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.035) 0:01:29.243 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.039) 0:01:29.282 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.037) 0:01:29.319 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.041) 0:01:29.360 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.043) 0:01:29.404 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.037) 0:01:29.442 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:54:09 -0400 (0:00:00.067) 0:01:29.509 ******** 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.044310", "end": "2024-07-31 11:54:09.942207", "rc": 0, "start": "2024-07-31 11:54:09.897897" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.411) 0:01:29.920 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.097) 0:01:30.017 ******** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.038) 0:01:30.056 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.077) 0:01:30.134 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.059) 0:01:30.194 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.056) 0:01:30.250 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002989", "end": "2024-07-31 11:54:10.644044", "rc": 0, "start": "2024-07-31 11:54:10.641055" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.370) 0:01:30.620 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.038) 0:01:30.658 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.036) 0:01:30.695 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.075) 0:01:30.770 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:54:10 -0400 (0:00:00.060) 0:01:30.830 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:54:11 -0400 (0:00:00.100) 0:01:30.931 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:54:11 -0400 (0:00:00.044) 0:01:30.976 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:54:11 -0400 (0:00:00.037) 0:01:31.013 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:54:11 -0400 (0:00:00.034) 0:01:31.047 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:54:12 -0400 (0:00:01.625) 0:01:32.673 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:54:14 -0400 (0:00:01.436) 0:01:34.109 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.038) 0:01:34.148 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.035) 0:01:34.184 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.036) 0:01:34.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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.038) 0:01:34.259 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.042) 0:01:34.301 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.035) 0:01:34.337 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.043) 0:01:34.380 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.070) 0:01:34.451 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.038) 0:01:34.489 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.035) 0:01:34.525 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.042) 0:01:34.568 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.034) 0:01:34.603 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:54:14 -0400 (0:00:00.081) 0:01:34.684 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:54:15 -0400 (0:00:00.551) 0:01:35.235 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpjkoy9yc0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:54:15 -0400 (0:00:00.396) 0:01:35.631 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.496) 0:01:36.128 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.035) 0:01:36.163 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.039) 0:01:36.203 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.041) 0:01:36.244 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.036) 0:01:36.280 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.376) 0:01:36.657 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.037) 0:01:36.694 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.094) 0:01:36.788 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.068) 0:01:36.856 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:54:16 -0400 (0:00:00.043) 0:01:36.900 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:54:17 -0400 (0:00:00.033) 0:01:36.934 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:54:17 -0400 (0:00:00.036) 0:01:36.971 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:54:18 -0400 (0:00:01.684) 0:01:38.655 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:54:20 -0400 (0:00:01.489) 0:01:40.144 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.037) 0:01:40.181 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.036) 0:01:40.218 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.036) 0:01:40.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.036) 0:01:40.291 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.044) 0:01:40.335 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.037) 0:01:40.373 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.043) 0:01:40.417 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.073) 0:01:40.490 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.035) 0:01:40.526 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.072) 0:01:40.598 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.043) 0:01:40.642 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.037) 0:01:40.679 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:54:20 -0400 (0:00:00.035) 0:01:40.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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:54:21 -0400 (0:00:00.542) 0:01:41.257 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmp071iumjf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:54:21 -0400 (0:00:00.386) 0:01:41.643 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:54:22 -0400 (0:00:00.736) 0:01:42.379 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:54:22 -0400 (0:00:00.037) 0:01:42.417 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:54:22 -0400 (0:00:00.037) 0:01:42.455 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:54:22 -0400 (0:00:00.038) 0:01:42.494 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:54:22 -0400 (0:00:00.072) 0:01:42.566 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 11:54:23 -0400 (0:00:00.372) 0:01:42.938 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:54:23 -0400 (0:00:00.061) 0:01:43.000 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:54:23 -0400 (0:00:00.070) 0:01:43.070 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:54:23 -0400 (0:00:00.042) 0:01:43.113 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:54:23 -0400 (0:00:00.038) 0:01:43.151 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:54:23 -0400 (0:00:00.035) 0:01:43.187 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:54:24 -0400 (0:00:01.658) 0:01:44.846 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:54:26 -0400 (0:00:01.453) 0:01:46.300 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.039) 0:01:46.339 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.039) 0:01:46.379 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.034) 0:01:46.414 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.037) 0:01:46.451 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.046) 0:01:46.498 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.035) 0:01:46.533 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.082) 0:01:46.616 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.072) 0:01:46.688 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.035) 0:01:46.726 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.036) 0:01:46.762 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.043) 0:01:46.806 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.035) 0:01:46.842 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:54:26 -0400 (0:00:00.037) 0:01:46.880 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:54:27 -0400 (0:00:00.550) 0:01:47.430 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpzw7esl4z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:54:27 -0400 (0:00:00.389) 0:01:47.819 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:54:28 -0400 (0:00:00.514) 0:01:48.333 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:54:28 -0400 (0:00:00.036) 0:01:48.370 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:54:28 -0400 (0:00:00.076) 0:01:48.446 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:54:28 -0400 (0:00:00.041) 0:01:48.488 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:54:28 -0400 (0:00:00.036) 0:01:48.525 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:54:28 -0400 (0:00:00.370) 0:01:48.896 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 11:54:29 -0400 (0:00:00.064) 0:01:48.961 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:54:29 -0400 (0:00:00.060) 0:01:49.021 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:54:29 -0400 (0:00:00.070) 0:01:49.091 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:54:29 -0400 (0:00:00.046) 0:01:49.137 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:54:29 -0400 (0:00:00.034) 0:01:49.172 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:54:29 -0400 (0:00:00.037) 0:01:49.210 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:54:30 -0400 (0:00:01.663) 0:01:50.873 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:54:32 -0400 (0:00:01.447) 0:01:52.320 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.038) 0:01:52.358 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.035) 0:01:52.394 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.069) 0:01:52.464 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.036) 0:01:52.501 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.048) 0:01:52.549 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.035) 0:01:52.585 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.042) 0:01:52.627 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.070) 0:01:52.698 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.037) 0:01:52.735 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.035) 0:01:52.771 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.041) 0:01:52.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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.038) 0:01:52.851 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:54:32 -0400 (0:00:00.035) 0:01:52.887 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:54:33 -0400 (0:00:00.541) 0:01:53.429 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41003toog7xq6/tmpc6u0dxkt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:54:33 -0400 (0:00:00.390) 0:01:53.819 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:54:34 -0400 (0:00:00.542) 0:01:54.361 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:54:34 -0400 (0:00:00.037) 0:01:54.398 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:54:34 -0400 (0:00:00.038) 0:01:54.437 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:54:34 -0400 (0:00:00.041) 0:01:54.478 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:54:34 -0400 (0:00:00.035) 0:01:54.514 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:54:34 -0400 (0:00:00.373) 0:01:54.888 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 11:54:35 -0400 (0:00:00.075) 0:01:54.963 ******** included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:54:35 -0400 (0:00:00.063) 0:01:55.027 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:54:35 -0400 (0:00:00.036) 0:01:55.063 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:54:35 -0400 (0:00:00.371) 0:01:55.435 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:54:35 -0400 (0:00:00.075) 0:01:55.510 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018838", "end": "2024-07-31 11:54:35.924722", "rc": 1, "start": "2024-07-31 11:54:35.905884" } 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:54:35 -0400 (0:00:00.391) 0:01:55.901 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:54:36 -0400 (0:00:00.038) 0:01:55.940 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:54:36 -0400 (0:00:00.040) 0:01:55.980 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:54:36 -0400 (0:00:00.036) 0:01:56.016 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:54:36 -0400 (0:00:00.038) 0:01:56.055 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 11:54:36 -0400 (0:00:00.039) 0:01:56.094 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 July 2024 11:54:36 -0400 (0:00:00.038) 0:01:56.132 ******** [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.888668", "end": "2024-07-31 11:54:37.416789", "rc": 0, "start": "2024-07-31 11:54:36.528121" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 July 2024 11:54:37 -0400 (0:00:01.265) 0:01:57.398 ******** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 July 2024 11:54:37 -0400 (0:00:00.036) 0:01:57.434 ******** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:54:37 -0400 (0:00:00.072) 0:01:57.507 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:54:37 -0400 (0:00:00.043) 0:01:57.550 ******** 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:54:37 -0400 (0:00:00.038) 0:01:57.589 ******** included: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/tmp.HNhtQvsaQS/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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:54:37 -0400 (0:00:00.075) 0:01:57.665 ******** 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.045738", "end": "2024-07-31 11:54:38.099159", "rc": 0, "start": "2024-07-31 11:54:38.053421" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 31 July 2024 11:54:38 -0400 (0:00:00.411) 0:01:58.076 ******** 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.008227", "end": "2024-07-31 11:54:38.469488", "rc": 0, "start": "2024-07-31 11:54:38.461261" } 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 0e:32:dc:97:0d:67 brd ff:ff:ff:ff:ff:ff inet 10.31.43.14/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3269sec preferred_lft 3269sec inet6 fe80::c32:dcff:fe97:d67/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 8a:dd:7a:3f:79:e4 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.40.1 dev eth0 proto dhcp src 10.31.43.14 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.14 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/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 31 July 2024 11:54:38 -0400 (0:00:00.371) 0:01:58.448 ******** 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.130709", "end": "2024-07-31 11:54:38.977284", "rc": 0, "start": "2024-07-31 11:54:38.846575" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 6100 0 --:--:-- --:--:-- --:--:-- 6100 % 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 6326 0 --:--:-- --:--:-- --:--:-- 6326 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Wednesday 31 July 2024 11:54:39 -0400 (0:00:00.487) 0:01:58.936 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/tmp.HNhtQvsaQS/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26