ansible-playbook [core 2.16.11] 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-JNl 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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 28 September 2024 11:55: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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 28 September 2024 11:55:26 -0400 (0:00:01.126) 0:00:01.137 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 28 September 2024 11:55:27 -0400 (0:00:00.040) 0:00:01.177 **** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 28 September 2024 11:55:27 -0400 (0:00:00.506) 0:00:01.684 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.551) 0:00:02.235 **** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.020) 0:00:02.256 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.012) 0:00:02.269 **** included: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.066) 0:00:02.335 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.575) 0:00:02.910 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.013) 0:00:02.924 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 28 September 2024 11:55:28 -0400 (0:00:00.012) 0:00:02.937 **** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.217314", "end": "2024-09-28 11:55:30.255165", "rc": 0, "start": "2024-09-28 11:55:29.037851" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 28 September 2024 11:55:30 -0400 (0:00:01.523) 0:00:04.461 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 28 September 2024 11:55:30 -0400 (0:00:00.012) 0:00:04.473 **** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 28 September 2024 11:55:30 -0400 (0:00:00.025) 0:00:04.499 **** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.736) 0:00:05.236 **** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.034) 0:00:05.270 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.041) 0:00:05.311 **** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.033) 0:00:05.345 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.100) 0:00:05.445 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.041) 0:00:05.487 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.042) 0:00:05.530 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002973", "end": "2024-09-28 11:55:31.662283", "rc": 0, "start": "2024-09-28 11:55:31.659310" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.337) 0:00:05.868 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.039) 0:00:05.907 **** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.041) 0:00:05.949 **** included: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.048) 0:00:05.997 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007236", "end": "2024-09-28 11:55:32.144766", "rc": 1, "start": "2024-09-28 11:55:32.137530" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.350) 0:00:06.348 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.037) 0:00:06.386 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.354) 0:00:06.740 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.035) 0:00:06.775 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.050) 0:00:06.826 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.082) 0:00:06.909 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.076) 0:00:06.986 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.055) 0:00:07.042 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.055) 0:00:07.097 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.051) 0:00:07.149 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:55:34 -0400 (0:00:01.721) 0:00:08.870 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:55:36 -0400 (0:00:01.684) 0:00:10.555 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.079) 0:00:10.635 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.080) 0:00:10.715 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.079) 0:00:10.795 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.087) 0:00:10.882 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.082) 0:00:10.965 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.050) 0:00:11.015 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.063) 0:00:11.079 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.191) 0:00:11.271 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.079) 0:00:11.351 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.076) 0:00:11.427 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.093) 0:00:11.520 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.077) 0:00:11.597 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.075) 0:00:11.673 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:55:38 -0400 (0:00:01.114) 0:00:12.788 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp7li24v0y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:55:39 -0400 (0:00:00.454) 0:00:13.242 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.925) 0:00:14.168 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.075) 0:00:14.243 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.082) 0:00:14.325 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.083) 0:00:14.409 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.079) 0:00:14.489 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.692) 0:00:15.181 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.056) 0:00:15.238 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.141) 0:00:15.380 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.191) 0:00:15.571 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.077) 0:00:15.649 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538939.9375775, "block_size": 4096, "blocks": 8, "ctime": 1727538939.9375775, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1727538939.9375775, "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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.386) 0:00:16.036 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:55:41 -0400 (0:00:00.105) 0:00:16.141 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017775", "end": "2024-09-28 11:55:42.299938", "rc": 1, "start": "2024-09-28 11:55:42.282163" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:55:42 -0400 (0:00:00.427) 0:00:16.569 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:55:42 -0400 (0:00:00.091) 0:00:16.660 **** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002827", "end": "2024-09-28 11:55:42.826239", "rc": 0, "start": "2024-09-28 11:55:42.823412" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:55:42 -0400 (0:00:00.392) 0:00:17.053 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:55:42 -0400 (0:00:00.064) 0:00:17.117 **** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002837", "end": "2024-09-28 11:55:43.252647", "rc": 0, "start": "2024-09-28 11:55:43.249810" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.359) 0:00:17.477 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.055) 0:00:17.533 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.050) 0:00:17.584 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.053) 0:00:17.637 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.069) 0:00:17.707 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.064) 0:00:17.771 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.125) 0:00:17.896 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.076) 0:00:17.972 **** 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.032231", "end": "2024-09-28 11:55:44.144253", "rc": 1, "start": "2024-09-28 11:55:44.112022" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.405) 0:00:18.378 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.109) 0:00:18.488 **** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.105) 0:00:18.594 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.144) 0:00:18.738 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.110) 0:00:18.849 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.085) 0:00:18.934 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003134", "end": "2024-09-28 11:55:45.100739", "rc": 0, "start": "2024-09-28 11:55:45.097605" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.403) 0:00:19.337 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.082) 0:00:19.420 **** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.079) 0:00:19.499 **** included: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.126) 0:00:19.626 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005322", "end": "2024-09-28 11:55:45.754154", "rc": 1, "start": "2024-09-28 11:55:45.748832" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.365) 0:00:19.991 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.118) 0:00:20.109 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:55:46 -0400 (0:00:00.665) 0:00:20.774 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:55:46 -0400 (0:00:00.095) 0:00:20.870 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 28 September 2024 11:55:46 -0400 (0:00:00.131) 0:00:21.001 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:55:46 -0400 (0:00:00.130) 0:00:21.131 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.099) 0:00:21.231 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.063) 0:00:21.294 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.056) 0:00:21.351 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.050) 0:00:21.402 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:55:48 -0400 (0:00:01.535) 0:00:22.937 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:55:50 -0400 (0:00:01.527) 0:00:24.465 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.088) 0:00:24.553 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.106) 0:00:24.659 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.115) 0:00:24.775 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.139) 0:00:24.915 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.106) 0:00:25.022 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.087) 0:00:25.109 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.080) 0:00:25.190 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.107) 0:00:25.298 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.051) 0:00:25.350 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.051) 0:00:25.401 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.075) 0:00:25.477 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.063) 0:00:25.540 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.079) 0:00:25.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:55:52 -0400 (0:00:00.666) 0:00:26.286 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmpozbnr52q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:55:52 -0400 (0:00:00.381) 0:00:26.667 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.556) 0:00:27.224 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.052) 0:00:27.276 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.054) 0:00:27.331 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.058) 0:00:27.389 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.053) 0:00:27.442 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.394) 0:00:27.837 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.084) 0:00:27.921 **** included: /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.102) 0:00:28.024 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.076) 0:00:28.100 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.432) 0:00:28.533 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.129) 0:00:28.662 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.183) 0:00:28.846 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.090) 0:00:28.936 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538953.0007603, "block_size": 4096, "blocks": 8, "ctime": 1727538953.0007603, "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": 1727538953.0007603, "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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.399) 0:00:29.336 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.094) 0:00:29.430 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016456", "end": "2024-09-28 11:55:55.628502", "rc": 1, "start": "2024-09-28 11:55:55.612046" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.434) 0:00:29.864 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.089) 0:00:29.953 **** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002714", "end": "2024-09-28 11:55:56.132956", "rc": 0, "start": "2024-09-28 11:55:56.130242" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.400) 0:00:30.354 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.061) 0:00:30.415 **** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002558", "end": "2024-09-28 11:55:56.545589", "rc": 0, "start": "2024-09-28 11:55:56.543031" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.380) 0:00:30.796 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.090) 0:00:30.886 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.074) 0:00:30.961 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.065) 0:00:31.027 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.059) 0:00:31.086 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.051) 0:00:31.138 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.054) 0:00:31.193 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.166) 0:00:31.359 **** 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.032727", "end": "2024-09-28 11:55:57.588087", "rc": 1, "start": "2024-09-28 11:55:57.555360" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.450) 0:00:31.809 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.079) 0:00:31.888 **** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.055) 0:00:31.943 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.093) 0:00:32.037 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.076) 0:00:32.114 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:55:58 -0400 (0:00:00.071) 0:00:32.185 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002927", "end": "2024-09-28 11:55:58.341484", "rc": 0, "start": "2024-09-28 11:55:58.338557" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:55:58 -0400 (0:00:00.378) 0:00:32.563 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:55:58 -0400 (0:00:00.053) 0:00:32.617 **** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:55:58 -0400 (0:00:00.057) 0:00:32.675 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:55:58 -0400 (0:00:00.138) 0:00:32.813 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:55:58 -0400 (0:00:00.266) 0:00:33.079 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.156) 0:00:33.235 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.099) 0:00:33.335 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.108) 0:00:33.443 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.090) 0:00:33.533 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:00 -0400 (0:00:01.594) 0:00:35.128 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:02 -0400 (0:00:01.496) 0:00:36.624 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.081) 0:00:36.706 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.060) 0:00:36.766 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.060) 0:00:36.826 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.054) 0:00:36.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.069) 0:00:36.950 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.052) 0:00:37.003 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.178) 0:00:37.181 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.104) 0:00:37.286 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.071) 0:00:37.357 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.089) 0:00:37.446 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.119) 0:00:37.566 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.124) 0:00:37.690 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.098) 0:00:37.789 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:04 -0400 (0:00:00.850) 0:00:38.640 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmpoi93k5m5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:04 -0400 (0:00:00.405) 0:00:39.046 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.549) 0:00:39.595 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.084) 0:00:39.679 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.084) 0:00:39.764 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.097) 0:00:39.862 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.096) 0:00:39.958 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.579) 0:00:40.538 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.147) 0:00:40.686 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.146) 0:00:40.832 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.201) 0:00:41.034 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.185) 0:00:41.220 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.078) 0:00:41.299 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.073) 0:00:41.372 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.059) 0:00:41.431 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:08 -0400 (0:00:01.518) 0:00:42.950 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:10 -0400 (0:00:01.620) 0:00:44.570 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.053) 0:00:44.624 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.049) 0:00:44.674 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.163) 0:00:44.837 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.082) 0:00:44.919 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.142) 0:00:45.062 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.087) 0:00:45.149 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.109) 0:00:45.258 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.146) 0:00:45.405 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.091) 0:00:45.496 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.101) 0:00:45.597 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.102) 0:00:45.699 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.085) 0:00:45.785 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.091) 0:00:45.876 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:12 -0400 (0:00:00.585) 0:00:46.462 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp9mncklk1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:12 -0400 (0:00:00.371) 0:00:46.834 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:13 -0400 (0:00:00.724) 0:00:47.558 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:13 -0400 (0:00:00.078) 0:00:47.637 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:13 -0400 (0:00:00.116) 0:00:47.753 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:13 -0400 (0:00:00.222) 0:00:47.975 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:13 -0400 (0:00:00.071) 0:00:48.047 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.410) 0:00:48.458 **** included: /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.129) 0:00:48.587 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.092) 0:00:48.680 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538973.2537901, "block_size": 4096, "blocks": 0, "ctime": 1727538973.2537901, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35413, "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": 1727538973.2537901, "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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.356) 0:00:49.037 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.056) 0:00:49.093 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.075) 0:00:49.168 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.052) 0:00:49.220 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538973.1030405, "block_size": 4096, "blocks": 8, "ctime": 1727538965.3609326, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1727538965.3609326, "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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.360) 0:00:49.581 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.084) 0:00:49.665 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017688", "end": "2024-09-28 11:56:15.863933", "rc": 1, "start": "2024-09-28 11:56:15.846245" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.420) 0:00:50.085 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.050) 0:00:50.136 **** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002839", "end": "2024-09-28 11:56:16.304067", "rc": 0, "start": "2024-09-28 11:56:16.301228" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.449) 0:00:50.586 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.093) 0:00:50.679 **** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002673", "end": "2024-09-28 11:56:16.821343", "rc": 0, "start": "2024-09-28 11:56:16.818670" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.363) 0:00:51.042 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.059) 0:00:51.102 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.069) 0:00:51.172 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.083) 0:00:51.255 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.088) 0:00:51.344 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.103) 0:00:51.448 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.081) 0:00:51.530 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.128) 0:00:51.659 **** 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.042515", "end": "2024-09-28 11:56:17.875256", "rc": 0, "start": "2024-09-28 11:56:17.832741" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.445) 0:00:52.104 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.116) 0:00:52.220 **** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.110) 0:00:52.331 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.200) 0:00:52.531 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.196) 0:00:52.727 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.101) 0:00:52.828 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002743", "end": "2024-09-28 11:56:18.963031", "rc": 0, "start": "2024-09-28 11:56:18.960288" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.372) 0:00:53.201 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.086) 0:00:53.288 **** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.077) 0:00:53.365 **** included: /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.110) 0:00:53.476 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.159) 0:00:53.635 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.099) 0:00:53.735 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.057) 0:00:53.792 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.051) 0:00:53.843 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.053) 0:00:53.897 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:21 -0400 (0:00:01.659) 0:00:55.556 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:22 -0400 (0:00:01.470) 0:00:57.027 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:22 -0400 (0:00:00.065) 0:00:57.092 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:22 -0400 (0:00:00.052) 0:00:57.144 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.048) 0:00:57.193 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.051) 0:00:57.245 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.075) 0:00:57.321 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.100) 0:00:57.421 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.155) 0:00:57.577 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.144) 0:00:57.722 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.115) 0:00:57.838 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.144) 0:00:57.983 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.088) 0:00:58.071 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.057) 0:00:58.129 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.141) 0:00:58.271 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.736) 0:00:59.008 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmpairjtlgk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.496) 0:00:59.504 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.549) 0:01:00.054 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.055) 0:01:00.109 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.063) 0:01:00.173 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.059) 0:01:00.232 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.050) 0:01:00.283 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.361) 0:01:00.645 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.054) 0:01:00.700 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.084) 0:01:00.784 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.081) 0:01:00.866 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.064) 0:01:00.930 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.137) 0:01:01.068 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.077) 0:01:01.145 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:28 -0400 (0:00:01.609) 0:01:02.755 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:30 -0400 (0:00:01.546) 0:01:04.302 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.088) 0:01:04.390 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.132) 0:01:04.523 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.109) 0:01:04.633 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.082) 0:01:04.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.096) 0:01:04.812 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.073) 0:01:04.885 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.077) 0:01:04.962 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.099) 0:01:05.062 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.050) 0:01:05.112 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.051) 0:01:05.163 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.248) 0:01:05.412 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.081) 0:01:05.494 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.101) 0:01:05.595 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.652) 0:01:06.247 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmprb3filj5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.425) 0:01:06.673 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.884) 0:01:07.558 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.052) 0:01:07.611 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.053) 0:01:07.664 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.052) 0:01:07.717 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.066) 0:01:07.783 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.467) 0:01:08.250 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.125) 0:01:08.376 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.104) 0:01:08.480 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.162) 0:01:08.642 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.061) 0:01:08.703 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.086) 0:01:08.790 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.135) 0:01:08.926 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:36 -0400 (0:00:01.602) 0:01:10.528 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:37 -0400 (0:00:01.449) 0:01:11.977 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.053) 0:01:12.031 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.049) 0:01:12.080 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.049) 0:01:12.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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.055) 0:01:12.185 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.087) 0:01:12.273 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.083) 0:01:12.356 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.092) 0:01:12.449 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.198) 0:01:12.647 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.056) 0:01:12.703 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.058) 0:01:12.761 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.108) 0:01:12.870 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.084) 0:01:12.954 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.080) 0:01:13.035 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:39 -0400 (0:00:00.808) 0:01:13.843 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp45ejpplq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.490) 0:01:14.334 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.507) 0:01:14.841 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.052) 0:01:14.893 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.059) 0:01:14.953 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.057) 0:01:15.010 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.052) 0:01:15.062 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.405) 0:01:15.468 **** included: /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.126) 0:01:15.594 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.075) 0:01:15.670 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538993.2591634, "block_size": 4096, "blocks": 0, "ctime": 1727538993.2591634, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35544, "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": 1727538993.2591634, "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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.442) 0:01:16.113 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.086) 0:01:16.199 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.107) 0:01:16.307 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.060) 0:01:16.368 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.361) 0:01:16.729 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.055) 0:01:16.785 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017730", "end": "2024-09-28 11:56:42.931608", "rc": 1, "start": "2024-09-28 11:56:42.913878" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.368) 0:01:17.153 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.055) 0:01:17.208 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.068) 0:01:17.277 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.084) 0:01:17.361 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.083) 0:01:17.445 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.100) 0:01:17.545 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.084) 0:01:17.629 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.194) 0:01:17.824 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.123) 0:01:17.948 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:56:43 -0400 (0:00:00.142) 0:01:18.090 **** 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.041990", "end": "2024-09-28 11:56:44.307494", "rc": 0, "start": "2024-09-28 11:56:44.265504" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 28 September 2024 11:56:44 -0400 (0:00:00.448) 0:01:18.538 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:56:44 -0400 (0:00:00.088) 0:01:18.626 **** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:56:44 -0400 (0:00:00.056) 0:01:18.683 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:56:44 -0400 (0:00:00.094) 0:01:18.777 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:56:44 -0400 (0:00:00.081) 0:01:18.859 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:56:44 -0400 (0:00:00.114) 0:01:18.973 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002882", "end": "2024-09-28 11:56:45.137811", "rc": 0, "start": "2024-09-28 11:56:45.134929" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.390) 0:01:19.364 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.088) 0:01:19.453 **** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.076) 0:01:19.529 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.304) 0:01:19.833 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.283) 0:01:20.117 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.185) 0:01:20.302 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.099) 0:01:20.402 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.101) 0:01:20.503 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.113) 0:01:20.617 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:48 -0400 (0:00:01.588) 0:01:22.205 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:49 -0400 (0:00:01.514) 0:01:23.719 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.118) 0:01:23.838 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.104) 0:01:23.943 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.155) 0:01:24.098 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.101) 0:01:24.200 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.108) 0:01:24.309 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.112) 0:01:24.422 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.110) 0:01:24.532 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.184) 0:01:24.717 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.092) 0:01:24.810 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.116) 0:01:24.927 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.104) 0:01:25.031 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.084) 0:01:25.115 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:51 -0400 (0:00:00.166) 0:01:25.282 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:51 -0400 (0:00:00.642) 0:01:25.924 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmpc6e0krnu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:52 -0400 (0:00:00.460) 0:01:26.385 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:52 -0400 (0:00:00.558) 0:01:26.944 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:52 -0400 (0:00:00.092) 0:01:27.036 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:52 -0400 (0:00:00.094) 0:01:27.131 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.123) 0:01:27.254 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.264) 0:01:27.519 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.410) 0:01:27.930 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.094) 0:01:28.024 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.123) 0:01:28.148 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.084) 0:01:28.232 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.060) 0:01:28.293 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.070) 0:01:28.364 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.081) 0:01:28.445 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:55 -0400 (0:00:01.568) 0:01:30.014 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:57 -0400 (0:00:01.546) 0:01:31.560 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.148) 0:01:31.709 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.083) 0:01:31.792 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.092) 0:01:31.885 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.082) 0:01:31.967 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.099) 0:01:32.067 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.066) 0:01:32.133 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.159) 0:01:32.292 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.134) 0:01:32.427 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.094) 0:01:32.522 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.092) 0:01:32.614 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.075) 0:01:32.690 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.067) 0:01:32.758 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.057) 0:01:32.815 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.535) 0:01:33.351 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmpehzoj5vu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.394) 0:01:33.745 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.851) 0:01:34.597 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.051) 0:01:34.649 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.140) 0:01:34.790 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.056) 0:01:34.846 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.050) 0:01:34.897 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.364) 0:01:35.262 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.099) 0:01:35.361 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.084) 0:01:35.445 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.057) 0:01:35.503 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.056) 0:01:35.560 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.070) 0:01:35.630 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:03 -0400 (0:00:01.661) 0:01:37.292 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:04 -0400 (0:00:01.529) 0:01:38.821 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:04 -0400 (0:00:00.055) 0:01:38.876 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:04 -0400 (0:00:00.066) 0:01:38.942 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:04 -0400 (0:00:00.084) 0:01:39.027 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:04 -0400 (0:00:00.084) 0:01:39.111 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.089) 0:01:39.201 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.063) 0:01:39.265 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.070) 0:01:39.335 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.087) 0:01:39.423 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.067) 0:01:39.490 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.078) 0:01:39.569 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.098) 0:01:39.667 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.090) 0:01:39.757 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:05 -0400 (0:00:00.084) 0:01:39.842 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.604) 0:01:40.447 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp0mjjh0g1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.368) 0:01:40.815 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.493) 0:01:41.308 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.140) 0:01:41.448 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.060) 0:01:41.509 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.075) 0:01:41.584 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.077) 0:01:41.662 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.404) 0:01:42.066 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.130) 0:01:42.196 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.143) 0:01:42.340 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.135) 0:01:42.476 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.106) 0:01:42.582 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.083) 0:01:42.666 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.078) 0:01:42.744 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:10 -0400 (0:00:01.751) 0:01:44.495 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:11 -0400 (0:00:01.620) 0:01:46.116 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.089) 0:01:46.205 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.075) 0:01:46.281 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.075) 0:01:46.356 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.090) 0:01:46.447 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.095) 0:01:46.543 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.080) 0:01:46.623 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.071) 0:01:46.694 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.098) 0:01:46.793 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.091) 0:01:46.884 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.085) 0:01:46.970 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:12 -0400 (0:00:00.157) 0:01:47.128 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:13 -0400 (0:00:00.108) 0:01:47.236 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:13 -0400 (0:00:00.139) 0:01:47.375 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:13 -0400 (0:00:00.621) 0:01:47.997 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp858f3kgd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:14 -0400 (0:00:00.537) 0:01:48.534 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:14 -0400 (0:00:00.531) 0:01:49.065 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:14 -0400 (0:00:00.063) 0:01:49.128 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.082) 0:01:49.211 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.058) 0:01:49.270 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.050) 0:01:49.321 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.470) 0:01:49.791 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.133) 0:01:49.925 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.129) 0:01:50.054 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.079) 0:01:50.134 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.410) 0:01:50.544 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.049) 0:01:50.594 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016911", "end": "2024-09-28 11:57:16.776881", "rc": 1, "start": "2024-09-28 11:57:16.759970" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.472) 0:01:51.066 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.085) 0:01:51.152 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.083) 0:01:51.236 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.089) 0:01:51.325 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.088) 0:01:51.413 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.096) 0:01:51.509 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.097) 0:01:51.607 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.120) 0:01:51.728 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.070) 0:01:51.798 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.143) 0:01:51.942 **** 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.044439", "end": "2024-09-28 11:57:18.166334", "rc": 0, "start": "2024-09-28 11:57:18.121895" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.446) 0:01:52.388 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.078) 0:01:52.466 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.053) 0:01:52.520 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.091) 0:01:52.611 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.112) 0:01:52.723 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.070) 0:01:52.794 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002779", "end": "2024-09-28 11:57:18.939124", "rc": 0, "start": "2024-09-28 11:57:18.936345" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.366) 0:01:53.160 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.088) 0:01:53.248 **** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.078) 0:01:53.327 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.152) 0:01:53.480 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.171) 0:01:53.651 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.167) 0:01:53.819 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.092) 0:01:53.912 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.083) 0:01:53.995 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.101) 0:01:54.097 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:21 -0400 (0:00:01.720) 0:01:55.817 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:23 -0400 (0:00:01.432) 0:01:57.249 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.056) 0:01:57.306 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.052) 0:01:57.358 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.051) 0:01:57.410 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.053) 0:01:57.463 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.060) 0:01:57.524 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.049) 0:01:57.573 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.062) 0:01:57.635 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.087) 0:01:57.723 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.048) 0:01:57.772 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.051) 0:01:57.824 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.058) 0:01:57.882 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.048) 0:01:57.931 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.138) 0:01:58.070 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:24 -0400 (0:00:00.571) 0:01:58.642 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp3y1sscf3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:24 -0400 (0:00:00.348) 0:01:58.990 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.449) 0:01:59.439 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.051) 0:01:59.490 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.052) 0:01:59.543 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.070) 0:01:59.613 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.079) 0:01:59.693 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.451) 0:02:00.145 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.096) 0:02:00.241 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.151) 0:02:00.392 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.199) 0:02:00.592 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.105) 0:02:00.697 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.208) 0:02:00.906 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.059) 0:02:00.966 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:28 -0400 (0:00:01.580) 0:02:02.546 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:29 -0400 (0:00:01.611) 0:02:04.157 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.085) 0:02:04.243 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.085) 0:02:04.328 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.087) 0:02:04.416 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.103) 0:02:04.519 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.117) 0:02:04.637 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.094) 0:02:04.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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.068) 0:02:04.800 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.087) 0:02:04.887 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.050) 0:02:04.937 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.048) 0:02:04.986 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:30 -0400 (0:00:00.149) 0:02:05.135 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.052) 0:02:05.188 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.049) 0:02:05.237 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.524) 0:02:05.762 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp8zgmivhm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.376) 0:02:06.138 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.832) 0:02:06.970 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.053) 0:02:07.024 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.053) 0:02:07.078 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.054) 0:02:07.132 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.053) 0:02:07.185 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.395) 0:02:07.581 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.119) 0:02:07.701 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.108) 0:02:07.809 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.207) 0:02:08.017 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.126) 0:02:08.143 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:34 -0400 (0:00:00.103) 0:02:08.246 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:35 -0400 (0:00:01.619) 0:02:09.866 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:37 -0400 (0:00:01.393) 0:02:11.259 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.054) 0:02:11.313 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.055) 0:02:11.369 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.051) 0:02:11.420 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.050) 0:02:11.470 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.062) 0:02:11.533 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.050) 0:02:11.584 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.057) 0:02:11.641 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.096) 0:02:11.738 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.050) 0:02:11.789 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.151) 0:02:11.940 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.093) 0:02:12.034 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.083) 0:02:12.117 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.085) 0:02:12.203 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.616) 0:02:12.819 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmp8fidumyj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.373) 0:02:13.193 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.484) 0:02:13.678 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.054) 0:02:13.733 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.061) 0:02:13.794 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.057) 0:02:13.851 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.051) 0:02:13.902 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.397) 0:02:14.300 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.076) 0:02:14.377 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.143) 0:02:14.520 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.158) 0:02:14.679 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.137) 0:02:14.816 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.165) 0:02:14.982 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.097) 0:02:15.079 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:42 -0400 (0:00:01.576) 0:02:16.656 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:43 -0400 (0:00:01.424) 0:02:18.081 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:43 -0400 (0:00:00.063) 0:02:18.144 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.051) 0:02:18.196 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.051) 0:02:18.247 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.049) 0:02:18.297 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.063) 0:02:18.360 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.050) 0:02:18.411 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.190) 0:02:18.602 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.118) 0:02:18.720 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.076) 0:02:18.797 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.090) 0:02:18.887 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.105) 0:02:18.993 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.083) 0:02:19.076 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.071) 0:02:19.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.556) 0:02:19.704 **** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-416430rhrmo_f/tmplg23im5i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.367) 0:02:20.072 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.498) 0:02:20.570 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.090) 0:02:20.661 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.071) 0:02:20.732 **** 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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.065) 0:02:20.798 **** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.065) 0:02:20.863 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.515) 0:02:21.379 **** included: /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.202) 0:02:21.582 **** included: /tmp/collections-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.181) 0:02:21.763 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.112) 0:02:21.876 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.416) 0:02:22.292 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.084) 0:02:22.377 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017623", "end": "2024-09-28 11:57:48.559358", "rc": 1, "start": "2024-09-28 11:57:48.541735" } 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.431) 0:02:22.808 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.075) 0:02:22.884 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.093) 0:02:22.978 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.070) 0:02:23.048 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.065) 0:02:23.114 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.065) 0:02:23.179 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.053) 0:02:23.232 **** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.847219", "end": "2024-09-28 11:57:50.308779", "rc": 0, "start": "2024-09-28 11:57:49.461560" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 28 September 2024 11:57:50 -0400 (0:00:01.308) 0:02:24.541 **** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.067) 0:02:24.608 **** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.064) 0:02:24.672 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.149) 0:02:24.822 **** 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.055) 0:02:24.878 **** included: /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.133) 0:02:25.012 **** 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.046837", "end": "2024-09-28 11:57:51.188246", "rc": 0, "start": "2024-09-28 11:57:51.141409" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 28 September 2024 11:57:51 -0400 (0:00:00.407) 0:02:25.419 **** 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.007636", "end": "2024-09-28 11:57:51.557135", "rc": 0, "start": "2024-09-28 11:57:51.549499" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:43:9e:e7:8a:c5 brd ff:ff:ff:ff:ff:ff inet 10.31.11.89/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2718sec preferred_lft 2718sec inet6 fe80::1043:9eff:fee7:8ac5/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 22:7f:e2:f9:ab:1b brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.89 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.89 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-JNl/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 28 September 2024 11:57:51 -0400 (0:00:00.357) 0:02:25.777 **** 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.271849", "end": "2024-09-28 11:57:52.183188", "rc": 0, "start": "2024-09-28 11:57:51.911339" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1355 0 --:--:-- --:--:-- --:--:-- 1355 % 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 15315 0 --:--:-- --:--:-- --:--:-- 15315 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 28 September 2024 11:57:52 -0400 (0:00:00.680) 0:02:26.458 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-JNl/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-JNl/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-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-JNl/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21