ansible-playbook [core 2.16.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-QJp executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 02 November 2024 08:51:25 -0400 (0:00:00.010) 0:00:00.010 ***** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 02 November 2024 08:51:27 -0400 (0:00:01.289) 0:00:01.300 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 02 November 2024 08:51:27 -0400 (0:00:00.047) 0:00:01.348 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 02 November 2024 08:51:27 -0400 (0:00:00.499) 0:00:01.848 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.462) 0:00:02.310 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.029) 0:00:02.339 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.022) 0:00:02.362 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.054) 0:00:02.416 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.451) 0:00:02.868 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.022) 0:00:02.890 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.023) 0:00:02.913 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235963", "end": "2024-11-02 08:51:29.318880", "rc": 0, "start": "2024-11-02 08:51:29.082917" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 02 November 2024 08:51:29 -0400 (0:00:00.583) 0:00:03.497 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 02 November 2024 08:51:29 -0400 (0:00:00.014) 0:00:03.511 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 02 November 2024 08:51:29 -0400 (0:00:00.028) 0:00:03.540 ***** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.774) 0:00:04.314 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.044) 0:00:04.359 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.063) 0:00:04.423 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.045) 0:00:04.468 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.082) 0:00:04.551 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.043) 0:00:04.594 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.041) 0:00:04.636 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003375", "end": "2024-11-02 08:51:30.826515", "rc": 0, "start": "2024-11-02 08:51:30.823140" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.371) 0:00:05.007 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.047) 0:00:05.055 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:51:30 -0400 (0:00:00.052) 0:00:05.107 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:51:31 -0400 (0:00:00.053) 0:00:05.160 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008061", "end": "2024-11-02 08:51:31.344425", "rc": 1, "start": "2024-11-02 08:51:31.336364" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:51:31 -0400 (0:00:00.371) 0:00:05.531 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:51:31 -0400 (0:00:00.058) 0:00:05.590 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:51:31 -0400 (0:00:00.399) 0:00:05.990 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:51:31 -0400 (0:00:00.047) 0:00:06.038 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:51:31 -0400 (0:00:00.052) 0:00:06.090 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:51:32 -0400 (0:00:00.073) 0:00:06.164 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:51:32 -0400 (0:00:00.064) 0:00:06.229 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:51:32 -0400 (0:00:00.054) 0:00:06.283 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:51:32 -0400 (0:00:00.053) 0:00:06.336 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:51:32 -0400 (0:00:00.059) 0:00:06.396 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:51:34 -0400 (0:00:01.943) 0:00:08.339 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:51:36 -0400 (0:00:01.910) 0:00:10.250 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.084) 0:00:10.335 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.080) 0:00:10.416 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.079) 0:00:10.495 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.084) 0:00:10.580 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.115) 0:00:10.696 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.081) 0:00:10.778 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.097) 0:00:10.876 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:51:36 -0400 (0:00:00.218) 0:00:11.094 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:51:37 -0400 (0:00:00.081) 0:00:11.176 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:51:37 -0400 (0:00:00.073) 0:00:11.249 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:51:37 -0400 (0:00:00.090) 0:00:11.340 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:51:37 -0400 (0:00:00.091) 0:00:11.432 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:51:37 -0400 (0:00:00.116) 0:00:11.548 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:51:38 -0400 (0:00:01.034) 0:00:12.583 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpku0lmv9t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:51:38 -0400 (0:00:00.436) 0:00:13.019 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:51:39 -0400 (0:00:00.758) 0:00:13.778 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:51:39 -0400 (0:00:00.099) 0:00:13.877 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:51:39 -0400 (0:00:00.085) 0:00:13.963 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:51:39 -0400 (0:00:00.103) 0:00:14.067 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:51:40 -0400 (0:00:00.092) 0:00:14.160 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:51:40 -0400 (0:00:00.627) 0:00:14.787 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:51:40 -0400 (0:00:00.091) 0:00:14.878 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:51:41 -0400 (0:00:00.255) 0:00:15.134 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:51:41 -0400 (0:00:00.110) 0:00:15.244 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:51:41 -0400 (0:00:00.057) 0:00:15.302 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551899.5372586, "block_size": 4096, "blocks": 8, "ctime": 1730551899.5372586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551899.5372586, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:51:41 -0400 (0:00:00.501) 0:00:15.803 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:51:41 -0400 (0:00:00.135) 0:00:15.939 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018476", "end": "2024-11-02 08:51:42.203548", "rc": 1, "start": "2024-11-02 08:51:42.185072" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:51:42 -0400 (0:00:00.457) 0:00:16.396 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:51:42 -0400 (0:00:00.057) 0:00:16.454 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003596", "end": "2024-11-02 08:51:42.635114", "rc": 0, "start": "2024-11-02 08:51:42.631518" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:51:42 -0400 (0:00:00.398) 0:00:16.853 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:51:42 -0400 (0:00:00.079) 0:00:16.933 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003206", "end": "2024-11-02 08:51:43.145103", "rc": 0, "start": "2024-11-02 08:51:43.141897" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.421) 0:00:17.354 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.080) 0:00:17.435 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.066) 0:00:17.501 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.065) 0:00:17.567 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.055) 0:00:17.623 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.059) 0:00:17.683 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.116) 0:00:17.800 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:51:43 -0400 (0:00:00.143) 0:00:17.943 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036903", "end": "2024-11-02 08:51:44.173948", "rc": 1, "start": "2024-11-02 08:51:44.137045" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 02 November 2024 08:51:44 -0400 (0:00:00.430) 0:00:18.374 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:51:44 -0400 (0:00:00.086) 0:00:18.460 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:51:44 -0400 (0:00:00.055) 0:00:18.516 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:51:44 -0400 (0:00:00.098) 0:00:18.615 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:51:44 -0400 (0:00:00.101) 0:00:18.716 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:51:44 -0400 (0:00:00.085) 0:00:18.801 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003167", "end": "2024-11-02 08:51:44.985917", "rc": 0, "start": "2024-11-02 08:51:44.982750" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:51:45 -0400 (0:00:00.382) 0:00:19.184 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:51:45 -0400 (0:00:00.056) 0:00:19.240 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:51:45 -0400 (0:00:00.066) 0:00:19.307 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:51:45 -0400 (0:00:00.144) 0:00:19.451 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006044", "end": "2024-11-02 08:51:45.775643", "rc": 1, "start": "2024-11-02 08:51:45.769599" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:51:46 -0400 (0:00:00.712) 0:00:20.164 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:51:46 -0400 (0:00:00.238) 0:00:20.402 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:51:46 -0400 (0:00:00.572) 0:00:20.975 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:51:46 -0400 (0:00:00.086) 0:00:21.061 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 02 November 2024 08:51:47 -0400 (0:00:00.129) 0:00:21.190 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:51:47 -0400 (0:00:00.169) 0:00:21.360 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:51:47 -0400 (0:00:00.167) 0:00:21.527 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:51:47 -0400 (0:00:00.104) 0:00:21.632 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:51:47 -0400 (0:00:00.082) 0:00:21.715 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:51:47 -0400 (0:00:00.066) 0:00:21.781 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:51:49 -0400 (0:00:01.778) 0:00:23.559 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:51:51 -0400 (0:00:01.613) 0:00:25.173 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.057) 0:00:25.231 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.053) 0:00:25.284 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.056) 0:00:25.341 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.054) 0:00:25.396 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.063) 0:00:25.460 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.065) 0:00:25.525 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.079) 0:00:25.605 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.134) 0:00:25.739 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.084) 0:00:25.824 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.082) 0:00:25.906 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.093) 0:00:26.000 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:51:51 -0400 (0:00:00.085) 0:00:26.086 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:51:52 -0400 (0:00:00.083) 0:00:26.169 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:51:52 -0400 (0:00:00.645) 0:00:26.815 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpfflnii49" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:51:53 -0400 (0:00:00.509) 0:00:27.325 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:51:53 -0400 (0:00:00.528) 0:00:27.853 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:51:53 -0400 (0:00:00.080) 0:00:27.934 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:51:53 -0400 (0:00:00.092) 0:00:28.027 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:51:53 -0400 (0:00:00.095) 0:00:28.123 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:51:54 -0400 (0:00:00.085) 0:00:28.208 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 02 November 2024 08:51:54 -0400 (0:00:00.565) 0:00:28.774 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:51:54 -0400 (0:00:00.179) 0:00:28.954 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:51:55 -0400 (0:00:00.232) 0:00:29.186 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:51:55 -0400 (0:00:00.141) 0:00:29.327 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:51:55 -0400 (0:00:00.408) 0:00:29.736 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:51:55 -0400 (0:00:00.056) 0:00:29.792 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:51:55 -0400 (0:00:00.140) 0:00:29.932 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:51:55 -0400 (0:00:00.084) 0:00:30.017 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551913.6531901, "block_size": 4096, "blocks": 8, "ctime": 1730551913.6531901, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551913.6531901, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:51:56 -0400 (0:00:00.552) 0:00:30.569 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:51:56 -0400 (0:00:00.072) 0:00:30.641 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017783", "end": "2024-11-02 08:51:56.894068", "rc": 1, "start": "2024-11-02 08:51:56.876285" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:51:56 -0400 (0:00:00.453) 0:00:31.095 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:51:57 -0400 (0:00:00.068) 0:00:31.164 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003255", "end": "2024-11-02 08:51:57.348231", "rc": 0, "start": "2024-11-02 08:51:57.344976" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:51:57 -0400 (0:00:00.438) 0:00:31.602 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:51:57 -0400 (0:00:00.110) 0:00:31.713 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003039", "end": "2024-11-02 08:51:57.961648", "rc": 0, "start": "2024-11-02 08:51:57.958609" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.444) 0:00:32.158 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.060) 0:00:32.219 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.056) 0:00:32.275 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.060) 0:00:32.335 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.058) 0:00:32.394 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.056) 0:00:32.450 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.087) 0:00:32.537 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.131) 0:00:32.669 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035582", "end": "2024-11-02 08:51:58.952154", "rc": 1, "start": "2024-11-02 08:51:58.916572" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.544) 0:00:33.214 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.094) 0:00:33.308 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.063) 0:00:33.372 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.099) 0:00:33.472 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.105) 0:00:33.578 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.091) 0:00:33.669 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003197", "end": "2024-11-02 08:51:59.865213", "rc": 0, "start": "2024-11-02 08:51:59.862016" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.411) 0:00:34.080 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.088) 0:00:34.169 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.087) 0:00:34.257 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.128) 0:00:34.385 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.118) 0:00:34.503 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.172) 0:00:34.676 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.060) 0:00:34.737 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.059) 0:00:34.796 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.065) 0:00:34.862 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:02 -0400 (0:00:01.740) 0:00:36.602 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:04 -0400 (0:00:01.531) 0:00:38.134 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.089) 0:00:38.223 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.091) 0:00:38.315 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.097) 0:00:38.412 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.081) 0:00:38.493 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.099) 0:00:38.593 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.102) 0:00:38.696 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.131) 0:00:38.828 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:04 -0400 (0:00:00.278) 0:00:39.106 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:05 -0400 (0:00:00.059) 0:00:39.165 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:05 -0400 (0:00:00.054) 0:00:39.220 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:05 -0400 (0:00:00.071) 0:00:39.291 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:05 -0400 (0:00:00.079) 0:00:39.371 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:05 -0400 (0:00:00.082) 0:00:39.454 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.692) 0:00:40.146 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpnvfy4vls" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.539) 0:00:40.685 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.582) 0:00:41.267 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.081) 0:00:41.349 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.065) 0:00:41.414 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.069) 0:00:41.483 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.059) 0:00:41.543 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.426) 0:00:41.970 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.154) 0:00:42.125 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.236) 0:00:42.361 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.156) 0:00:42.518 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.102) 0:00:42.620 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.065) 0:00:42.686 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.080) 0:00:42.767 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.091) 0:00:42.859 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:10 -0400 (0:00:01.744) 0:00:44.604 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:12 -0400 (0:00:01.535) 0:00:46.139 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.089) 0:00:46.229 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.100) 0:00:46.330 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.094) 0:00:46.424 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.212) 0:00:46.637 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.143) 0:00:46.780 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.123) 0:00:46.903 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.117) 0:00:47.020 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.142) 0:00:47.163 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.083) 0:00:47.247 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.096) 0:00:47.344 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.097) 0:00:47.441 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.057) 0:00:47.499 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.063) 0:00:47.562 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:14 -0400 (0:00:00.576) 0:00:48.139 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpp0nsn2f0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:14 -0400 (0:00:00.435) 0:00:48.575 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.842) 0:00:49.417 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.104) 0:00:49.521 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.146) 0:00:49.667 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.086) 0:00:49.754 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.116) 0:00:49.871 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.402) 0:00:50.273 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.094) 0:00:50.368 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.086) 0:00:50.455 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551935.0501754, "block_size": 4096, "blocks": 0, "ctime": 1730551935.0501754, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35212, "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": 1730551935.0501754, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.390) 0:00:50.846 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.078) 0:00:50.925 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.131) 0:00:51.057 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.086) 0:00:51.143 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551934.8850412, "block_size": 4096, "blocks": 8, "ctime": 1730551927.060096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551927.060096, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.436) 0:00:51.580 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.087) 0:00:51.668 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018416", "end": "2024-11-02 08:52:17.906115", "rc": 1, "start": "2024-11-02 08:52:17.887699" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.432) 0:00:52.100 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.059) 0:00:52.159 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003047", "end": "2024-11-02 08:52:18.343159", "rc": 0, "start": "2024-11-02 08:52:18.340112" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.378) 0:00:52.538 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.147) 0:00:52.686 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004126", "end": "2024-11-02 08:52:19.869553", "rc": 0, "start": "2024-11-02 08:52:18.865427" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:52:19 -0400 (0:00:01.381) 0:00:54.067 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.060) 0:00:54.128 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.062) 0:00:54.191 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.060) 0:00:54.252 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.056) 0:00:54.308 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.054) 0:00:54.363 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.067) 0:00:54.430 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.147) 0:00:54.578 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043214", "end": "2024-11-02 08:52:20.839379", "rc": 0, "start": "2024-11-02 08:52:20.796165" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.530) 0:00:55.108 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:52:21 -0400 (0:00:00.203) 0:00:55.312 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:52:21 -0400 (0:00:00.132) 0:00:55.444 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:52:21 -0400 (0:00:00.171) 0:00:55.615 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:52:21 -0400 (0:00:00.227) 0:00:55.843 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:52:21 -0400 (0:00:00.193) 0:00:56.037 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003696", "end": "2024-11-02 08:52:22.351612", "rc": 0, "start": "2024-11-02 08:52:22.347916" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:52:22 -0400 (0:00:00.534) 0:00:56.571 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:52:22 -0400 (0:00:00.112) 0:00:56.683 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:52:22 -0400 (0:00:00.099) 0:00:56.783 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:52:22 -0400 (0:00:00.151) 0:00:56.934 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:22 -0400 (0:00:00.165) 0:00:57.100 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.192) 0:00:57.293 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.108) 0:00:57.401 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.096) 0:00:57.498 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.075) 0:00:57.574 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:25 -0400 (0:00:01.817) 0:00:59.392 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:27 -0400 (0:00:01.744) 0:01:01.137 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.072) 0:01:01.210 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.058) 0:01:01.268 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.053) 0:01:01.322 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.057) 0:01:01.379 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.084) 0:01:01.464 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.085) 0:01:01.550 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.106) 0:01:01.656 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.146) 0:01:01.803 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.083) 0:01:01.887 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.069) 0:01:01.957 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.087) 0:01:02.044 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.057) 0:01:02.102 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.057) 0:01:02.160 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.743) 0:01:02.903 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmp2ml5t34j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:29 -0400 (0:00:00.441) 0:01:03.345 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:29 -0400 (0:00:00.562) 0:01:03.907 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:29 -0400 (0:00:00.062) 0:01:03.970 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:29 -0400 (0:00:00.060) 0:01:04.030 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:29 -0400 (0:00:00.067) 0:01:04.098 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.056) 0:01:04.155 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.451) 0:01:04.606 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.090) 0:01:04.697 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.146) 0:01:04.843 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.138) 0:01:04.981 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.098) 0:01:05.080 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.104) 0:01:05.184 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.142) 0:01:05.327 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:33 -0400 (0:00:01.820) 0:01:07.148 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:34 -0400 (0:00:01.698) 0:01:08.846 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.057) 0:01:08.903 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.056) 0:01:08.960 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.072) 0:01:09.032 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.083) 0:01:09.116 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.105) 0:01:09.221 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.093) 0:01:09.315 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.072) 0:01:09.387 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.101) 0:01:09.489 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.055) 0:01:09.545 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.057) 0:01:09.602 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.100) 0:01:09.703 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.143) 0:01:09.846 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.083) 0:01:09.929 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.657) 0:01:10.587 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpbyn65hvu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.398) 0:01:10.985 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.831) 0:01:11.817 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.114) 0:01:11.932 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.161) 0:01:12.093 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.095) 0:01:12.188 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.091) 0:01:12.279 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.536) 0:01:12.816 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.145) 0:01:12.962 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.172) 0:01:13.135 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.163) 0:01:13.298 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.065) 0:01:13.363 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.068) 0:01:13.431 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.065) 0:01:13.497 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:41 -0400 (0:00:01.959) 0:01:15.456 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:42 -0400 (0:00:01.506) 0:01:16.963 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:42 -0400 (0:00:00.059) 0:01:17.022 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:42 -0400 (0:00:00.055) 0:01:17.077 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.061) 0:01:17.139 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.074) 0:01:17.213 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.103) 0:01:17.316 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.086) 0:01:17.402 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.098) 0:01:17.501 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.215) 0:01:17.716 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.148) 0:01:17.865 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.089) 0:01:17.955 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.131) 0:01:18.086 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.088) 0:01:18.175 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.086) 0:01:18.262 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.613) 0:01:18.875 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpwpsvlv07" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.432) 0:01:19.307 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.619) 0:01:19.927 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.086) 0:01:20.014 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.100) 0:01:20.115 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.098) 0:01:20.214 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.088) 0:01:20.302 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.467) 0:01:20.769 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.144) 0:01:20.914 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.195) 0:01:21.110 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551957.4473934, "block_size": 4096, "blocks": 0, "ctime": 1730551957.4473934, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35343, "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": 1730551957.4473934, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.497) 0:01:21.608 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.058) 0:01:21.666 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.091) 0:01:21.757 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.062) 0:01:21.819 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.392) 0:01:22.212 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.065) 0:01:22.278 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018784", "end": "2024-11-02 08:52:48.474656", "rc": 1, "start": "2024-11-02 08:52:48.455872" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.402) 0:01:22.680 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.067) 0:01:22.748 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.076) 0:01:22.824 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.066) 0:01:22.891 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.086) 0:01:22.977 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.086) 0:01:23.064 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.120) 0:01:23.184 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.089) 0:01:23.274 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.113) 0:01:23.387 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.086) 0:01:23.474 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043118", "end": "2024-11-02 08:52:49.712453", "rc": 0, "start": "2024-11-02 08:52:49.669335" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.447) 0:01:23.921 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.082) 0:01:24.003 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.057) 0:01:24.061 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.120) 0:01:24.181 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.131) 0:01:24.313 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.093) 0:01:24.406 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003669", "end": "2024-11-02 08:52:50.621272", "rc": 0, "start": "2024-11-02 08:52:50.617603" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.452) 0:01:24.859 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.132) 0:01:24.991 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.106) 0:01:25.097 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.145) 0:01:25.242 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.376) 0:01:25.619 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.175) 0:01:25.794 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.098) 0:01:25.893 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.113) 0:01:26.007 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.098) 0:01:26.105 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:53 -0400 (0:00:01.811) 0:01:27.917 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:55 -0400 (0:00:01.526) 0:01:29.443 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.070) 0:01:29.514 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.105) 0:01:29.620 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.124) 0:01:29.744 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.103) 0:01:29.847 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.189) 0:01:30.037 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.091) 0:01:30.129 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.116) 0:01:30.246 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.125) 0:01:30.372 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.078) 0:01:30.450 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.107) 0:01:30.558 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.074) 0:01:30.633 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.066) 0:01:30.699 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.060) 0:01:30.760 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:57 -0400 (0:00:00.645) 0:01:31.406 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmptwxr89jt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:57 -0400 (0:00:00.529) 0:01:31.935 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:58 -0400 (0:00:00.578) 0:01:32.513 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:58 -0400 (0:00:00.063) 0:01:32.577 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:58 -0400 (0:00:00.068) 0:01:32.646 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:58 -0400 (0:00:00.063) 0:01:32.710 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:58 -0400 (0:00:00.054) 0:01:32.764 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.450) 0:01:33.215 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.081) 0:01:33.296 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.148) 0:01:33.444 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.141) 0:01:33.586 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.093) 0:01:33.679 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.095) 0:01:33.775 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.082) 0:01:33.858 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:01 -0400 (0:00:01.861) 0:01:35.719 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:03 -0400 (0:00:01.662) 0:01:37.382 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.063) 0:01:37.445 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.065) 0:01:37.511 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.149) 0:01:37.660 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.099) 0:01:37.760 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.124) 0:01:37.885 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.116) 0:01:38.002 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.130) 0:01:38.132 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.159) 0:01:38.292 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.073) 0:01:38.365 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.101) 0:01:38.467 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.102) 0:01:38.570 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.078) 0:01:38.648 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.089) 0:01:38.737 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.621) 0:01:39.359 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpoiunoknx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.389) 0:01:39.748 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:06 -0400 (0:00:00.708) 0:01:40.457 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:06 -0400 (0:00:00.066) 0:01:40.524 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:06 -0400 (0:00:00.060) 0:01:40.584 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:06 -0400 (0:00:00.062) 0:01:40.647 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:06 -0400 (0:00:00.188) 0:01:40.836 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.400) 0:01:41.236 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.097) 0:01:41.334 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.089) 0:01:41.424 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.065) 0:01:41.489 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.071) 0:01:41.561 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.057) 0:01:41.619 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:09 -0400 (0:00:01.717) 0:01:43.336 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:10 -0400 (0:00:01.683) 0:01:45.019 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.131) 0:01:45.150 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.168) 0:01:45.319 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.111) 0:01:45.430 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.096) 0:01:45.527 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.122) 0:01:45.649 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.081) 0:01:45.731 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.082) 0:01:45.813 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.095) 0:01:45.908 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.053) 0:01:45.962 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.057) 0:01:46.020 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.064) 0:01:46.084 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.060) 0:01:46.145 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.089) 0:01:46.234 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.617) 0:01:46.851 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpnf21_ems" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.405) 0:01:47.257 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.642) 0:01:47.900 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.054) 0:01:47.955 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.080) 0:01:48.035 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:14 -0400 (0:00:00.209) 0:01:48.245 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:14 -0400 (0:00:00.086) 0:01:48.331 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:53:14 -0400 (0:00:00.454) 0:01:48.786 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:53:14 -0400 (0:00:00.189) 0:01:48.976 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.239) 0:01:49.216 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.152) 0:01:49.368 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.105) 0:01:49.473 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.097) 0:01:49.571 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.089) 0:01:49.661 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:17 -0400 (0:00:01.983) 0:01:51.644 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:19 -0400 (0:00:01.750) 0:01:53.395 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.169) 0:01:53.564 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.122) 0:01:53.687 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.096) 0:01:53.784 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.144) 0:01:53.928 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.196) 0:01:54.124 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.155) 0:01:54.280 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.161) 0:01:54.442 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.128) 0:01:54.570 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.085) 0:01:54.656 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.059) 0:01:54.715 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.067) 0:01:54.782 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.075) 0:01:54.858 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:20 -0400 (0:00:00.088) 0:01:54.946 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:21 -0400 (0:00:00.687) 0:01:55.634 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpkjzo3nsm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.518) 0:01:56.152 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.706) 0:01:56.858 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.060) 0:01:56.918 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.059) 0:01:56.977 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.064) 0:01:57.041 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.072) 0:01:57.114 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.415) 0:01:57.529 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.085) 0:01:57.615 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.087) 0:01:57.703 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.079) 0:01:57.783 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.422) 0:01:58.206 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.063) 0:01:58.269 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019286", "end": "2024-11-02 08:53:24.467239", "rc": 1, "start": "2024-11-02 08:53:24.447953" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.414) 0:01:58.683 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.068) 0:01:58.751 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.150) 0:01:58.902 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.082) 0:01:58.984 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.071) 0:01:59.056 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:53:24 -0400 (0:00:00.057) 0:01:59.113 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.059) 0:01:59.173 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.063) 0:01:59.236 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.069) 0:01:59.306 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.114) 0:01:59.421 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044819", "end": "2024-11-02 08:53:25.684396", "rc": 0, "start": "2024-11-02 08:53:25.639577" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.484) 0:01:59.905 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.125) 0:02:00.031 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:53:25 -0400 (0:00:00.087) 0:02:00.119 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.151) 0:02:00.270 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.140) 0:02:00.411 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.152) 0:02:00.563 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003187", "end": "2024-11-02 08:53:26.751649", "rc": 0, "start": "2024-11-02 08:53:26.748462" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.390) 0:02:00.954 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.086) 0:02:01.041 ***** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.093) 0:02:01.134 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.152) 0:02:01.287 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.149) 0:02:01.436 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.103) 0:02:01.539 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.063) 0:02:01.603 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.059) 0:02:01.662 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.057) 0:02:01.720 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:29 -0400 (0:00:01.723) 0:02:03.443 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:30 -0400 (0:00:01.621) 0:02:05.065 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:30 -0400 (0:00:00.058) 0:02:05.123 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.060) 0:02:05.184 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.064) 0:02:05.248 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.090) 0:02:05.339 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.104) 0:02:05.443 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.083) 0:02:05.526 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.094) 0:02:05.621 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.104) 0:02:05.725 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.062) 0:02:05.788 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.092) 0:02:05.881 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.132) 0:02:06.013 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.082) 0:02:06.096 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:32 -0400 (0:00:00.093) 0:02:06.190 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:32 -0400 (0:00:00.758) 0:02:06.948 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmporpl2s1u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:33 -0400 (0:00:00.541) 0:02:07.490 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:33 -0400 (0:00:00.611) 0:02:08.102 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.059) 0:02:08.161 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.059) 0:02:08.220 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.063) 0:02:08.284 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.057) 0:02:08.342 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.414) 0:02:08.756 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.060) 0:02:08.817 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.097) 0:02:08.914 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.176) 0:02:09.091 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.122) 0:02:09.213 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.114) 0:02:09.328 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.097) 0:02:09.426 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:37 -0400 (0:00:01.856) 0:02:11.283 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:38 -0400 (0:00:01.573) 0:02:12.856 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:38 -0400 (0:00:00.092) 0:02:12.949 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:38 -0400 (0:00:00.089) 0:02:13.038 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:38 -0400 (0:00:00.090) 0:02:13.129 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.084) 0:02:13.214 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.097) 0:02:13.311 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.088) 0:02:13.400 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.103) 0:02:13.503 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.144) 0:02:13.648 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.092) 0:02:13.740 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.060) 0:02:13.800 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.087) 0:02:13.888 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.065) 0:02:13.953 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.111) 0:02:14.064 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.581) 0:02:14.645 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpx2t1upi7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.403) 0:02:15.049 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:41 -0400 (0:00:00.800) 0:02:15.849 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:41 -0400 (0:00:00.111) 0:02:15.960 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:41 -0400 (0:00:00.096) 0:02:16.057 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.084) 0:02:16.142 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.063) 0:02:16.205 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.400) 0:02:16.606 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.093) 0:02:16.699 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.088) 0:02:16.788 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.061) 0:02:16.850 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.069) 0:02:16.919 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:42 -0400 (0:00:00.163) 0:02:17.083 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:44 -0400 (0:00:01.756) 0:02:18.839 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:46 -0400 (0:00:01.506) 0:02:20.346 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.089) 0:02:20.435 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.090) 0:02:20.526 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.085) 0:02:20.612 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.084) 0:02:20.696 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.107) 0:02:20.804 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.100) 0:02:20.904 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.084) 0:02:20.988 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.143) 0:02:21.132 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:47 -0400 (0:00:00.096) 0:02:21.228 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:47 -0400 (0:00:00.085) 0:02:21.314 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:47 -0400 (0:00:00.144) 0:02:21.458 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:47 -0400 (0:00:00.168) 0:02:21.627 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:47 -0400 (0:00:00.095) 0:02:21.722 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.623) 0:02:22.345 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpodjyoauw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.427) 0:02:22.773 ***** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.720) 0:02:23.493 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.094) 0:02:23.588 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.113) 0:02:23.701 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.099) 0:02:23.800 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.082) 0:02:23.883 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.490) 0:02:24.373 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.224) 0:02:24.598 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.157) 0:02:24.755 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.156) 0:02:24.912 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.078) 0:02:24.990 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.098) 0:02:25.089 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.106) 0:02:25.196 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:52 -0400 (0:00:01.927) 0:02:27.123 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:54 -0400 (0:00:01.501) 0:02:28.625 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.069) 0:02:28.694 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.075) 0:02:28.770 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.088) 0:02:28.858 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.064) 0:02:28.923 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.084) 0:02:29.007 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.054) 0:02:29.062 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.062) 0:02:29.125 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.096) 0:02:29.221 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.109) 0:02:29.330 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.055) 0:02:29.385 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.069) 0:02:29.455 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.055) 0:02:29.510 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.057) 0:02:29.568 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:56 -0400 (0:00:00.657) 0:02:30.226 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-419162tyap47c/tmpk53806c6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:56 -0400 (0:00:00.615) 0:02:30.841 ***** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.615) 0:02:31.457 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.154) 0:02:31.612 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.140) 0:02:31.752 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.163) 0:02:31.916 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.098) 0:02:32.014 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.398) 0:02:32.413 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.136) 0:02:32.549 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.213) 0:02:32.762 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.129) 0:02:32.892 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.415) 0:02:33.307 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.102) 0:02:33.410 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019286", "end": "2024-11-02 08:53:59.761778", "rc": 1, "start": "2024-11-02 08:53:59.742492" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.546) 0:02:33.956 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.084) 0:02:34.040 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.086) 0:02:34.127 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.069) 0:02:34.196 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.088) 0:02:34.285 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.081) 0:02:34.366 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.067) 0:02:34.434 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.890539", "end": "2024-11-02 08:54:01.502616", "rc": 0, "start": "2024-11-02 08:54:00.612077" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 02 November 2024 08:54:01 -0400 (0:00:01.263) 0:02:35.697 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 02 November 2024 08:54:01 -0400 (0:00:00.060) 0:02:35.758 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:54:01 -0400 (0:00:00.057) 0:02:35.815 ***** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:54:01 -0400 (0:00:00.059) 0:02:35.874 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:54:01 -0400 (0:00:00.069) 0:02:35.944 ***** included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:54:01 -0400 (0:00:00.142) 0:02:36.086 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045670", "end": "2024-11-02 08:54:02.311629", "rc": 0, "start": "2024-11-02 08:54:02.265959" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.422) 0:02:36.508 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009207", "end": "2024-11-02 08:54:02.696008", "rc": 0, "start": "2024-11-02 08:54:02.686801" } 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:e1:b9:dc:86:0d brd ff:ff:ff:ff:ff:ff inet 10.31.42.0/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2679sec preferred_lft 2679sec inet6 fe80::ce1:b9ff:fedc:860d/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 6e:a1:c4:a9:46:44 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.42.0 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.0 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.406) 0:02:36.914 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.091702", "end": "2024-11-02 08:54:03.243178", "rc": 0, "start": "2024-11-02 08:54:03.151476" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5980 0 --:--:-- --:--:-- --:--:-- 5980 % 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 16166 0 --:--:-- --:--:-- --:--:-- 16166 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 02 November 2024 08:54:03 -0400 (0:00:00.649) 0:02:37.564 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-QJp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26