[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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-d1Z 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-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Friday 09 August 2024 04:03:33 -0400 (0:00:00.007) 0:00:00.007 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Friday 09 August 2024 04:03:34 -0400 (0:00:01.039) 0:00:01.047 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 09 August 2024 04:03:34 -0400 (0:00:00.017) 0:00:01.065 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 09 August 2024 04:03:35 -0400 (0:00:00.471) 0:00:01.536 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 09 August 2024 04:03:35 -0400 (0:00:00.395) 0:00:01.931 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 09 August 2024 04:03:35 -0400 (0:00:00.020) 0:00:01.952 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 09 August 2024 04:03:35 -0400 (0:00:00.012) 0:00:01.964 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 09 August 2024 04:03:35 -0400 (0:00:00.041) 0:00:02.005 ********* ok: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Friday 09 August 2024 04:03:36 -0400 (0:00:00.407) 0:00:02.413 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Friday 09 August 2024 04:03:36 -0400 (0:00:00.013) 0:00:02.426 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Friday 09 August 2024 04:03:36 -0400 (0:00:00.014) 0:00:02.441 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.235406", "end": "2024-08-09 04:03:36.817224", "rc": 0, "start": "2024-08-09 04:03:36.581818" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Friday 09 August 2024 04:03:36 -0400 (0:00:00.549) 0:00:02.991 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Friday 09 August 2024 04:03:36 -0400 (0:00:00.014) 0:00:03.005 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 09 August 2024 04:03:36 -0400 (0:00:00.026) 0:00:03.031 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 09 August 2024 04:03:37 -0400 (0:00:00.765) 0:00:03.796 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 09 August 2024 04:03:37 -0400 (0:00:00.036) 0:00:03.833 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 04:03:37 -0400 (0:00:00.043) 0:00:03.876 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 04:03:37 -0400 (0:00:00.037) 0:00:03.914 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 04:03:37 -0400 (0:00:00.076) 0:00:03.990 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 04:03:37 -0400 (0:00:00.043) 0:00:04.034 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 04:03:37 -0400 (0:00:00.037) 0:00:04.072 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002867", "end": "2024-08-09 04:03:38.234567", "rc": 0, "start": "2024-08-09 04:03:38.231700" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 04:03:38 -0400 (0:00:00.333) 0:00:04.405 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 04:03:38 -0400 (0:00:00.035) 0:00:04.441 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 04:03:38 -0400 (0:00:00.035) 0:00:04.476 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 09 August 2024 04:03:38 -0400 (0:00:00.047) 0:00:04.524 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006892", "end": "2024-08-09 04:03:38.691740", "rc": 1, "start": "2024-08-09 04:03:38.684848" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 04:03:38 -0400 (0:00:00.338) 0:00:04.863 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 04:03:38 -0400 (0:00:00.038) 0:00:04.901 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 04:03:39 -0400 (0:00:00.329) 0:00:05.231 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 04:03:39 -0400 (0:00:00.037) 0:00:05.269 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 04:03:39 -0400 (0:00:00.046) 0:00:05.315 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:03:39 -0400 (0:00:00.062) 0:00:05.378 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:03:39 -0400 (0:00:00.050) 0:00:05.429 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:03:39 -0400 (0:00:00.035) 0:00:05.464 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:03:39 -0400 (0:00:00.037) 0:00:05.502 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:03:39 -0400 (0:00:00.038) 0:00:05.541 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:03:41 -0400 (0:00:01.603) 0:00:07.144 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:03:42 -0400 (0:00:01.625) 0:00:08.770 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:03:42 -0400 (0:00:00.053) 0:00:08.824 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:03:42 -0400 (0:00:00.048) 0:00:08.872 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:03:42 -0400 (0:00:00.050) 0:00:08.923 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:03:42 -0400 (0:00:00.050) 0:00:08.974 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:03:42 -0400 (0:00:00.059) 0:00:09.033 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:03:42 -0400 (0:00:00.049) 0:00:09.083 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:03:43 -0400 (0:00:00.059) 0:00:09.142 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:03:43 -0400 (0:00:00.139) 0:00:09.281 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:03:43 -0400 (0:00:00.050) 0:00:09.332 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:03:43 -0400 (0:00:00.049) 0:00:09.381 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:03:43 -0400 (0:00:00.062) 0:00:09.444 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:03:43 -0400 (0:00:00.050) 0:00:09.494 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:03:43 -0400 (0:00:00.048) 0:00:09.542 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:03:44 -0400 (0:00:00.720) 0:00:10.263 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpbduidryn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:03:44 -0400 (0:00:00.353) 0:00:10.616 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:03:45 -0400 (0:00:00.596) 0:00:11.213 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:03:45 -0400 (0:00:00.048) 0:00:11.262 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:03:45 -0400 (0:00:00.053) 0:00:11.316 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:03:45 -0400 (0:00:00.053) 0:00:11.369 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:03:45 -0400 (0:00:00.048) 0:00:11.418 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 04:03:45 -0400 (0:00:00.453) 0:00:11.871 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 04:03:45 -0400 (0:00:00.052) 0:00:11.924 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 09 August 2024 04:03:45 -0400 (0:00:00.116) 0:00:12.040 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 04:03:45 -0400 (0:00:00.076) 0:00:12.117 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 04:03:46 -0400 (0:00:00.053) 0:00:12.171 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190625.0261703, "block_size": 4096, "blocks": 8, "ctime": 1723190625.0261703, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723190625.0261703, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 04:03:46 -0400 (0:00:00.347) 0:00:12.518 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 04:03:46 -0400 (0:00:00.056) 0:00:12.574 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018096", "end": "2024-08-09 04:03:46.753855", "rc": 1, "start": "2024-08-09 04:03:46.735759" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 04:03:46 -0400 (0:00:00.365) 0:00:12.940 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 04:03:46 -0400 (0:00:00.050) 0:00:12.990 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002780", "end": "2024-08-09 04:03:47.156610", "rc": 0, "start": "2024-08-09 04:03:47.153830" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 04:03:47 -0400 (0:00:00.353) 0:00:13.344 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 04:03:47 -0400 (0:00:00.057) 0:00:13.402 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002897", "end": "2024-08-09 04:03:47.570987", "rc": 0, "start": "2024-08-09 04:03:47.568090" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 04:03:47 -0400 (0:00:00.357) 0:00:13.759 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 09 August 2024 04:03:47 -0400 (0:00:00.060) 0:00:13.819 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 09 August 2024 04:03:47 -0400 (0:00:00.055) 0:00:13.875 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 09 August 2024 04:03:47 -0400 (0:00:00.053) 0:00:13.929 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 04:03:47 -0400 (0:00:00.056) 0:00:13.985 ********* skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 04:03:47 -0400 (0:00:00.086) 0:00:14.071 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 04:03:47 -0400 (0:00:00.051) 0:00:14.123 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 04:03:48 -0400 (0:00:00.079) 0:00:14.202 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035158", "end": "2024-08-09 04:03:48.398954", "rc": 1, "start": "2024-08-09 04:03:48.363796" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 09 August 2024 04:03:48 -0400 (0:00:00.381) 0:00:14.584 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 04:03:48 -0400 (0:00:00.075) 0:00:14.659 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 04:03:48 -0400 (0:00:00.052) 0:00:14.712 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 04:03:48 -0400 (0:00:00.093) 0:00:14.806 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 04:03:48 -0400 (0:00:00.069) 0:00:14.875 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 04:03:48 -0400 (0:00:00.069) 0:00:14.945 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002842", "end": "2024-08-09 04:03:49.106479", "rc": 0, "start": "2024-08-09 04:03:49.103637" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 04:03:49 -0400 (0:00:00.346) 0:00:15.291 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 04:03:49 -0400 (0:00:00.054) 0:00:15.346 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 04:03:49 -0400 (0:00:00.051) 0:00:15.397 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 09 August 2024 04:03:49 -0400 (0:00:00.105) 0:00:15.502 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005261", "end": "2024-08-09 04:03:49.666407", "rc": 1, "start": "2024-08-09 04:03:49.661146" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 04:03:49 -0400 (0:00:00.349) 0:00:15.852 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 04:03:49 -0400 (0:00:00.069) 0:00:15.921 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 04:03:50 -0400 (0:00:00.347) 0:00:16.269 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 04:03:50 -0400 (0:00:00.053) 0:00:16.322 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 August 2024 04:03:50 -0400 (0:00:00.079) 0:00:16.401 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:03:50 -0400 (0:00:00.086) 0:00:16.488 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:03:50 -0400 (0:00:00.081) 0:00:16.570 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:03:50 -0400 (0:00:00.056) 0:00:16.627 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:03:50 -0400 (0:00:00.057) 0:00:16.684 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:03:50 -0400 (0:00:00.054) 0:00:16.738 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:03:52 -0400 (0:00:01.546) 0:00:18.285 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:03:53 -0400 (0:00:01.403) 0:00:19.688 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:03:53 -0400 (0:00:00.053) 0:00:19.741 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:03:53 -0400 (0:00:00.047) 0:00:19.789 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:03:53 -0400 (0:00:00.051) 0:00:19.841 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:03:53 -0400 (0:00:00.050) 0:00:19.891 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:03:53 -0400 (0:00:00.059) 0:00:19.950 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:03:53 -0400 (0:00:00.052) 0:00:20.003 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:03:53 -0400 (0:00:00.058) 0:00:20.061 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:03:54 -0400 (0:00:00.082) 0:00:20.144 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:03:54 -0400 (0:00:00.052) 0:00:20.196 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:03:54 -0400 (0:00:00.048) 0:00:20.245 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:03:54 -0400 (0:00:00.056) 0:00:20.302 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:03:54 -0400 (0:00:00.051) 0:00:20.353 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:03:54 -0400 (0:00:00.049) 0:00:20.403 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:03:54 -0400 (0:00:00.599) 0:00:21.002 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp20mkz00k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:03:55 -0400 (0:00:00.358) 0:00:21.361 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:03:55 -0400 (0:00:00.444) 0:00:21.806 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:03:55 -0400 (0:00:00.051) 0:00:21.857 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:03:55 -0400 (0:00:00.057) 0:00:21.914 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:03:55 -0400 (0:00:00.055) 0:00:21.970 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:03:55 -0400 (0:00:00.051) 0:00:22.022 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 August 2024 04:03:56 -0400 (0:00:00.365) 0:00:22.387 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 04:03:56 -0400 (0:00:00.053) 0:00:22.441 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 04:03:56 -0400 (0:00:00.086) 0:00:22.527 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 04:03:56 -0400 (0:00:00.069) 0:00:22.597 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 04:03:56 -0400 (0:00:00.348) 0:00:22.945 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 09 August 2024 04:03:56 -0400 (0:00:00.053) 0:00:22.998 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 04:03:56 -0400 (0:00:00.112) 0:00:23.111 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 04:03:57 -0400 (0:00:00.051) 0:00:23.162 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190635.6162734, "block_size": 4096, "blocks": 8, "ctime": 1723190635.6162734, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723190635.6162734, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 04:03:57 -0400 (0:00:00.349) 0:00:23.512 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 04:03:57 -0400 (0:00:00.053) 0:00:23.565 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018565", "end": "2024-08-09 04:03:57.746182", "rc": 1, "start": "2024-08-09 04:03:57.727617" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 04:03:57 -0400 (0:00:00.367) 0:00:23.933 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 04:03:57 -0400 (0:00:00.055) 0:00:23.988 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002950", "end": "2024-08-09 04:03:58.161775", "rc": 0, "start": "2024-08-09 04:03:58.158825" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 04:03:58 -0400 (0:00:00.362) 0:00:24.351 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 04:03:58 -0400 (0:00:00.056) 0:00:24.408 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003108", "end": "2024-08-09 04:03:58.583216", "rc": 0, "start": "2024-08-09 04:03:58.580108" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 04:03:58 -0400 (0:00:00.364) 0:00:24.773 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 09 August 2024 04:03:58 -0400 (0:00:00.057) 0:00:24.830 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 09 August 2024 04:03:58 -0400 (0:00:00.054) 0:00:24.884 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 09 August 2024 04:03:58 -0400 (0:00:00.056) 0:00:24.941 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 04:03:58 -0400 (0:00:00.052) 0:00:24.993 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 04:03:58 -0400 (0:00:00.044) 0:00:25.037 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 04:03:58 -0400 (0:00:00.052) 0:00:25.090 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 04:03:59 -0400 (0:00:00.112) 0:00:25.203 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034332", "end": "2024-08-09 04:03:59.399943", "rc": 1, "start": "2024-08-09 04:03:59.365611" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 09 August 2024 04:03:59 -0400 (0:00:00.383) 0:00:25.586 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 04:03:59 -0400 (0:00:00.071) 0:00:25.658 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 04:03:59 -0400 (0:00:00.054) 0:00:25.712 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 04:03:59 -0400 (0:00:00.091) 0:00:25.804 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 04:03:59 -0400 (0:00:00.069) 0:00:25.873 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 04:03:59 -0400 (0:00:00.067) 0:00:25.941 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002853", "end": "2024-08-09 04:04:00.103058", "rc": 0, "start": "2024-08-09 04:04:00.100205" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 04:04:00 -0400 (0:00:00.348) 0:00:26.289 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 04:04:00 -0400 (0:00:00.053) 0:00:26.343 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 04:04:00 -0400 (0:00:00.052) 0:00:26.395 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 04:04:00 -0400 (0:00:00.077) 0:00:26.472 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:00 -0400 (0:00:00.119) 0:00:26.592 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:00 -0400 (0:00:00.082) 0:00:26.674 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:00 -0400 (0:00:00.056) 0:00:26.731 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:00 -0400 (0:00:00.056) 0:00:26.787 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:00 -0400 (0:00:00.054) 0:00:26.841 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:02 -0400 (0:00:01.528) 0:00:28.370 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:03 -0400 (0:00:01.406) 0:00:29.777 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:03 -0400 (0:00:00.051) 0:00:29.829 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:03 -0400 (0:00:00.052) 0:00:29.881 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:03 -0400 (0:00:00.050) 0:00:29.932 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:03 -0400 (0:00:00.049) 0:00:29.981 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:03 -0400 (0:00:00.062) 0:00:30.044 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:04 -0400 (0:00:00.086) 0:00:30.130 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:04 -0400 (0:00:00.059) 0:00:30.190 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:04 -0400 (0:00:00.089) 0:00:30.280 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:04 -0400 (0:00:00.050) 0:00:30.331 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:04 -0400 (0:00:00.050) 0:00:30.381 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:04 -0400 (0:00:00.063) 0:00:30.444 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:04 -0400 (0:00:00.051) 0:00:30.496 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:04 -0400 (0:00:00.050) 0:00:30.546 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:04 -0400 (0:00:00.526) 0:00:31.073 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpc7piolxr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:05 -0400 (0:00:00.357) 0:00:31.430 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:05 -0400 (0:00:00.445) 0:00:31.876 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:05 -0400 (0:00:00.054) 0:00:31.930 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:05 -0400 (0:00:00.055) 0:00:31.985 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:05 -0400 (0:00:00.055) 0:00:32.041 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:05 -0400 (0:00:00.053) 0:00:32.094 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 04:04:06 -0400 (0:00:00.361) 0:00:32.456 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 04:04:06 -0400 (0:00:00.132) 0:00:32.588 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 04:04:06 -0400 (0:00:00.074) 0:00:32.662 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:06 -0400 (0:00:00.087) 0:00:32.750 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:06 -0400 (0:00:00.080) 0:00:32.831 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:06 -0400 (0:00:00.058) 0:00:32.890 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:06 -0400 (0:00:00.054) 0:00:32.945 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:06 -0400 (0:00:00.053) 0:00:32.998 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:08 -0400 (0:00:01.530) 0:00:34.529 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:09 -0400 (0:00:01.401) 0:00:35.930 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:09 -0400 (0:00:00.052) 0:00:35.983 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:09 -0400 (0:00:00.086) 0:00:36.069 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:09 -0400 (0:00:00.051) 0:00:36.120 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:10 -0400 (0:00:00.051) 0:00:36.171 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:10 -0400 (0:00:00.064) 0:00:36.235 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:10 -0400 (0:00:00.051) 0:00:36.287 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:10 -0400 (0:00:00.059) 0:00:36.346 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:10 -0400 (0:00:00.089) 0:00:36.436 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:10 -0400 (0:00:00.051) 0:00:36.487 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:10 -0400 (0:00:00.050) 0:00:36.538 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:10 -0400 (0:00:00.063) 0:00:36.601 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:10 -0400 (0:00:00.051) 0:00:36.653 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:10 -0400 (0:00:00.050) 0:00:36.703 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:11 -0400 (0:00:00.526) 0:00:37.230 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp67v011hv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:11 -0400 (0:00:00.352) 0:00:37.583 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:12 -0400 (0:00:00.714) 0:00:38.297 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:12 -0400 (0:00:00.053) 0:00:38.351 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:12 -0400 (0:00:00.091) 0:00:38.443 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:12 -0400 (0:00:00.054) 0:00:38.498 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:12 -0400 (0:00:00.054) 0:00:38.553 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 04:04:12 -0400 (0:00:00.365) 0:00:38.918 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 09 August 2024 04:04:12 -0400 (0:00:00.087) 0:00:39.005 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 04:04:12 -0400 (0:00:00.070) 0:00:39.076 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190652.0360272, "block_size": 4096, "blocks": 0, "ctime": 1723190652.0360272, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62472, "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": 1723190652.0360272, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 09 August 2024 04:04:13 -0400 (0:00:00.356) 0:00:39.432 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 09 August 2024 04:04:13 -0400 (0:00:00.053) 0:00:39.485 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 04:04:13 -0400 (0:00:00.078) 0:00:39.563 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 04:04:13 -0400 (0:00:00.052) 0:00:39.615 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190651.883432, "block_size": 4096, "blocks": 8, "ctime": 1723190645.6873715, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723190645.6873715, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 04:04:13 -0400 (0:00:00.355) 0:00:39.971 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 04:04:13 -0400 (0:00:00.053) 0:00:40.025 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018652", "end": "2024-08-09 04:04:14.206127", "rc": 1, "start": "2024-08-09 04:04:14.187475" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 04:04:14 -0400 (0:00:00.366) 0:00:40.391 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 04:04:14 -0400 (0:00:00.141) 0:00:40.533 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004038", "end": "2024-08-09 04:04:15.704907", "rc": 0, "start": "2024-08-09 04:04:14.700869" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 04:04:15 -0400 (0:00:01.362) 0:00:41.895 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 04:04:15 -0400 (0:00:00.058) 0:00:41.954 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002824", "end": "2024-08-09 04:04:16.124097", "rc": 0, "start": "2024-08-09 04:04:16.121273" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 04:04:16 -0400 (0:00:00.359) 0:00:42.314 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 09 August 2024 04:04:16 -0400 (0:00:00.059) 0:00:42.373 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 09 August 2024 04:04:16 -0400 (0:00:00.055) 0:00:42.429 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 09 August 2024 04:04:16 -0400 (0:00:00.059) 0:00:42.488 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 04:04:16 -0400 (0:00:00.055) 0:00:42.544 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 04:04:16 -0400 (0:00:00.047) 0:00:42.591 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 04:04:16 -0400 (0:00:00.056) 0:00:42.647 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 04:04:16 -0400 (0:00:00.077) 0:00:42.725 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042086", "end": "2024-08-09 04:04:16.930645", "rc": 0, "start": "2024-08-09 04:04:16.888559" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 09 August 2024 04:04:16 -0400 (0:00:00.393) 0:00:43.119 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 04:04:17 -0400 (0:00:00.072) 0:00:43.191 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 04:04:17 -0400 (0:00:00.052) 0:00:43.244 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 04:04:17 -0400 (0:00:00.123) 0:00:43.368 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 04:04:17 -0400 (0:00:00.067) 0:00:43.436 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 04:04:17 -0400 (0:00:00.066) 0:00:43.502 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002859", "end": "2024-08-09 04:04:17.662087", "rc": 0, "start": "2024-08-09 04:04:17.659228" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 04:04:17 -0400 (0:00:00.346) 0:00:43.848 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 04:04:17 -0400 (0:00:00.052) 0:00:43.901 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 04:04:17 -0400 (0:00:00.050) 0:00:43.951 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 04:04:17 -0400 (0:00:00.080) 0:00:44.032 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:17 -0400 (0:00:00.086) 0:00:44.118 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:18 -0400 (0:00:00.081) 0:00:44.200 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:18 -0400 (0:00:00.056) 0:00:44.256 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:18 -0400 (0:00:00.054) 0:00:44.310 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:18 -0400 (0:00:00.087) 0:00:44.398 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:19 -0400 (0:00:01.515) 0:00:45.914 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:21 -0400 (0:00:01.400) 0:00:47.315 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:21 -0400 (0:00:00.051) 0:00:47.366 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:21 -0400 (0:00:00.050) 0:00:47.417 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:21 -0400 (0:00:00.048) 0:00:47.465 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:21 -0400 (0:00:00.048) 0:00:47.514 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:21 -0400 (0:00:00.062) 0:00:47.577 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:21 -0400 (0:00:00.051) 0:00:47.628 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:21 -0400 (0:00:00.060) 0:00:47.688 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:21 -0400 (0:00:00.089) 0:00:47.778 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:21 -0400 (0:00:00.052) 0:00:47.830 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:21 -0400 (0:00:00.050) 0:00:47.881 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:21 -0400 (0:00:00.066) 0:00:47.947 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:21 -0400 (0:00:00.094) 0:00:48.042 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:21 -0400 (0:00:00.050) 0:00:48.092 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:22 -0400 (0:00:00.530) 0:00:48.623 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpsdmx860l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:22 -0400 (0:00:00.358) 0:00:48.981 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:23 -0400 (0:00:00.449) 0:00:49.430 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:23 -0400 (0:00:00.055) 0:00:49.485 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:23 -0400 (0:00:00.055) 0:00:49.541 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:23 -0400 (0:00:00.054) 0:00:49.595 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:23 -0400 (0:00:00.054) 0:00:49.649 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 04:04:23 -0400 (0:00:00.363) 0:00:50.013 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 04:04:23 -0400 (0:00:00.058) 0:00:50.071 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:24 -0400 (0:00:00.088) 0:00:50.160 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:24 -0400 (0:00:00.081) 0:00:50.241 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:24 -0400 (0:00:00.100) 0:00:50.342 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:24 -0400 (0:00:00.054) 0:00:50.396 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:24 -0400 (0:00:00.058) 0:00:50.454 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:25 -0400 (0:00:01.516) 0:00:51.971 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:27 -0400 (0:00:01.403) 0:00:53.374 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:27 -0400 (0:00:00.055) 0:00:53.429 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:27 -0400 (0:00:00.051) 0:00:53.481 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:27 -0400 (0:00:00.051) 0:00:53.533 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:27 -0400 (0:00:00.055) 0:00:53.588 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:27 -0400 (0:00:00.061) 0:00:53.650 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:27 -0400 (0:00:00.050) 0:00:53.700 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:27 -0400 (0:00:00.063) 0:00:53.763 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:27 -0400 (0:00:00.089) 0:00:53.853 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:27 -0400 (0:00:00.051) 0:00:53.904 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:27 -0400 (0:00:00.093) 0:00:53.997 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:27 -0400 (0:00:00.061) 0:00:54.058 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:27 -0400 (0:00:00.050) 0:00:54.109 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:28 -0400 (0:00:00.054) 0:00:54.163 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:28 -0400 (0:00:00.537) 0:00:54.701 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpa0ixgl8b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:28 -0400 (0:00:00.363) 0:00:55.064 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:29 -0400 (0:00:00.676) 0:00:55.740 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:29 -0400 (0:00:00.050) 0:00:55.791 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:29 -0400 (0:00:00.054) 0:00:55.846 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:29 -0400 (0:00:00.058) 0:00:55.905 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:29 -0400 (0:00:00.052) 0:00:55.957 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 04:04:30 -0400 (0:00:00.357) 0:00:56.315 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 09 August 2024 04:04:30 -0400 (0:00:00.075) 0:00:56.391 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:30 -0400 (0:00:00.125) 0:00:56.517 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:30 -0400 (0:00:00.082) 0:00:56.599 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:30 -0400 (0:00:00.059) 0:00:56.659 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:30 -0400 (0:00:00.053) 0:00:56.713 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:30 -0400 (0:00:00.051) 0:00:56.764 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:32 -0400 (0:00:01.518) 0:00:58.283 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:33 -0400 (0:00:01.404) 0:00:59.688 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:33 -0400 (0:00:00.055) 0:00:59.743 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:33 -0400 (0:00:00.052) 0:00:59.796 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:33 -0400 (0:00:00.050) 0:00:59.846 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:33 -0400 (0:00:00.054) 0:00:59.901 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:33 -0400 (0:00:00.062) 0:00:59.963 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:33 -0400 (0:00:00.050) 0:01:00.014 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:34 -0400 (0:00:00.159) 0:01:00.174 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:34 -0400 (0:00:00.089) 0:01:00.263 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:34 -0400 (0:00:00.051) 0:01:00.315 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:34 -0400 (0:00:00.055) 0:01:00.370 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:34 -0400 (0:00:00.061) 0:01:00.431 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:34 -0400 (0:00:00.051) 0:01:00.483 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:34 -0400 (0:00:00.053) 0:01:00.537 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:34 -0400 (0:00:00.525) 0:01:01.063 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpk66yzd0w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:35 -0400 (0:00:00.353) 0:01:01.416 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:35 -0400 (0:00:00.457) 0:01:01.873 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:35 -0400 (0:00:00.052) 0:01:01.926 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:35 -0400 (0:00:00.054) 0:01:01.980 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:35 -0400 (0:00:00.058) 0:01:02.039 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:35 -0400 (0:00:00.051) 0:01:02.091 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 04:04:36 -0400 (0:00:00.360) 0:01:02.451 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 09 August 2024 04:04:36 -0400 (0:00:00.123) 0:01:02.575 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 04:04:36 -0400 (0:00:00.071) 0:01:02.646 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190669.4792082, "block_size": 4096, "blocks": 0, "ctime": 1723190669.4792082, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62603, "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": 1723190669.4792082, "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 09 August 2024 04:04:36 -0400 (0:00:00.347) 0:01:02.994 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 August 2024 04:04:36 -0400 (0:00:00.055) 0:01:03.049 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 04:04:36 -0400 (0:00:00.073) 0:01:03.123 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 04:04:37 -0400 (0:00:00.052) 0:01:03.175 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 04:04:37 -0400 (0:00:00.355) 0:01:03.531 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 04:04:37 -0400 (0:00:00.051) 0:01:03.582 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018263", "end": "2024-08-09 04:04:37.761064", "rc": 1, "start": "2024-08-09 04:04:37.742801" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 04:04:37 -0400 (0:00:00.363) 0:01:03.946 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 04:04:37 -0400 (0:00:00.056) 0:01:04.003 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 04:04:37 -0400 (0:00:00.053) 0:01:04.056 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 04:04:37 -0400 (0:00:00.051) 0:01:04.108 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 04:04:38 -0400 (0:00:00.054) 0:01:04.162 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 August 2024 04:04:38 -0400 (0:00:00.051) 0:01:04.214 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 04:04:38 -0400 (0:00:00.133) 0:01:04.348 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 04:04:38 -0400 (0:00:00.048) 0:01:04.397 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 04:04:38 -0400 (0:00:00.052) 0:01:04.449 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 04:04:38 -0400 (0:00:00.080) 0:01:04.529 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048468", "end": "2024-08-09 04:04:38.738512", "rc": 0, "start": "2024-08-09 04:04:38.690044" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 09 August 2024 04:04:38 -0400 (0:00:00.396) 0:01:04.926 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 04:04:38 -0400 (0:00:00.076) 0:01:05.002 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 04:04:38 -0400 (0:00:00.054) 0:01:05.057 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 04:04:39 -0400 (0:00:00.092) 0:01:05.149 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 04:04:39 -0400 (0:00:00.074) 0:01:05.224 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 04:04:39 -0400 (0:00:00.070) 0:01:05.294 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2024-08-09 04:04:39.461251", "rc": 0, "start": "2024-08-09 04:04:39.458149" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 04:04:39 -0400 (0:00:00.355) 0:01:05.649 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 04:04:39 -0400 (0:00:00.053) 0:01:05.703 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 04:04:39 -0400 (0:00:00.099) 0:01:05.803 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 04:04:39 -0400 (0:00:00.085) 0:01:05.889 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:39 -0400 (0:00:00.090) 0:01:05.980 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:39 -0400 (0:00:00.083) 0:01:06.063 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:39 -0400 (0:00:00.059) 0:01:06.122 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:40 -0400 (0:00:00.053) 0:01:06.176 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:40 -0400 (0:00:00.053) 0:01:06.229 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:41 -0400 (0:00:01.517) 0:01:07.747 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:43 -0400 (0:00:01.403) 0:01:09.151 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:43 -0400 (0:00:00.053) 0:01:09.204 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:43 -0400 (0:00:00.096) 0:01:09.300 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:43 -0400 (0:00:00.051) 0:01:09.352 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:43 -0400 (0:00:00.056) 0:01:09.408 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:43 -0400 (0:00:00.062) 0:01:09.471 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:43 -0400 (0:00:00.052) 0:01:09.523 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:43 -0400 (0:00:00.065) 0:01:09.588 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:43 -0400 (0:00:00.090) 0:01:09.679 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:43 -0400 (0:00:00.051) 0:01:09.731 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:43 -0400 (0:00:00.055) 0:01:09.786 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:43 -0400 (0:00:00.061) 0:01:09.847 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:43 -0400 (0:00:00.050) 0:01:09.898 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:43 -0400 (0:00:00.053) 0:01:09.951 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:44 -0400 (0:00:00.527) 0:01:10.479 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpq00sqwzh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:44 -0400 (0:00:00.357) 0:01:10.836 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:45 -0400 (0:00:00.496) 0:01:11.333 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:45 -0400 (0:00:00.050) 0:01:11.383 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:45 -0400 (0:00:00.052) 0:01:11.436 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:45 -0400 (0:00:00.141) 0:01:11.578 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:45 -0400 (0:00:00.052) 0:01:11.630 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 04:04:45 -0400 (0:00:00.361) 0:01:11.991 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 04:04:45 -0400 (0:00:00.058) 0:01:12.049 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:46 -0400 (0:00:00.087) 0:01:12.136 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:46 -0400 (0:00:00.086) 0:01:12.223 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:46 -0400 (0:00:00.058) 0:01:12.281 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:46 -0400 (0:00:00.056) 0:01:12.337 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:46 -0400 (0:00:00.053) 0:01:12.391 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:47 -0400 (0:00:01.516) 0:01:13.908 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:49 -0400 (0:00:01.490) 0:01:15.399 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:49 -0400 (0:00:00.055) 0:01:15.455 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:49 -0400 (0:00:00.049) 0:01:15.505 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:49 -0400 (0:00:00.055) 0:01:15.560 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:49 -0400 (0:00:00.050) 0:01:15.611 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:49 -0400 (0:00:00.061) 0:01:15.673 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:49 -0400 (0:00:00.055) 0:01:15.728 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:49 -0400 (0:00:00.062) 0:01:15.791 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:49 -0400 (0:00:00.087) 0:01:15.878 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:49 -0400 (0:00:00.055) 0:01:15.934 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:49 -0400 (0:00:00.052) 0:01:15.986 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:49 -0400 (0:00:00.061) 0:01:16.048 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:49 -0400 (0:00:00.054) 0:01:16.102 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:50 -0400 (0:00:00.051) 0:01:16.154 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:50 -0400 (0:00:00.521) 0:01:16.676 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpyrmim5q_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:50 -0400 (0:00:00.360) 0:01:17.037 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:51 -0400 (0:00:00.706) 0:01:17.743 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:51 -0400 (0:00:00.150) 0:01:17.893 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:51 -0400 (0:00:00.055) 0:01:17.948 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:51 -0400 (0:00:00.055) 0:01:18.004 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:51 -0400 (0:00:00.054) 0:01:18.058 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 09 August 2024 04:04:52 -0400 (0:00:00.360) 0:01:18.418 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:52 -0400 (0:00:00.087) 0:01:18.506 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:52 -0400 (0:00:00.081) 0:01:18.588 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:52 -0400 (0:00:00.061) 0:01:18.649 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:52 -0400 (0:00:00.053) 0:01:18.703 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:52 -0400 (0:00:00.052) 0:01:18.755 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:04:54 -0400 (0:00:01.516) 0:01:20.272 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:04:55 -0400 (0:00:01.485) 0:01:21.758 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:04:55 -0400 (0:00:00.052) 0:01:21.811 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:04:55 -0400 (0:00:00.053) 0:01:21.865 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:04:55 -0400 (0:00:00.051) 0:01:21.916 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:04:55 -0400 (0:00:00.050) 0:01:21.967 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:04:55 -0400 (0:00:00.065) 0:01:22.033 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:04:55 -0400 (0:00:00.051) 0:01:22.084 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:04:56 -0400 (0:00:00.058) 0:01:22.143 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:04:56 -0400 (0:00:00.088) 0:01:22.232 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:04:56 -0400 (0:00:00.051) 0:01:22.284 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:04:56 -0400 (0:00:00.050) 0:01:22.335 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:04:56 -0400 (0:00:00.063) 0:01:22.398 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:04:56 -0400 (0:00:00.051) 0:01:22.450 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:04:56 -0400 (0:00:00.049) 0:01:22.500 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:04:56 -0400 (0:00:00.525) 0:01:23.025 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp3plf42dw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:04:57 -0400 (0:00:00.410) 0:01:23.436 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:04:57 -0400 (0:00:00.460) 0:01:23.896 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:04:57 -0400 (0:00:00.057) 0:01:23.954 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:04:57 -0400 (0:00:00.056) 0:01:24.010 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:04:57 -0400 (0:00:00.056) 0:01:24.066 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:04:57 -0400 (0:00:00.055) 0:01:24.122 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 04:04:58 -0400 (0:00:00.368) 0:01:24.490 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 09 August 2024 04:04:58 -0400 (0:00:00.081) 0:01:24.572 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:04:58 -0400 (0:00:00.088) 0:01:24.661 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:04:58 -0400 (0:00:00.085) 0:01:24.746 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:04:58 -0400 (0:00:00.059) 0:01:24.806 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:04:58 -0400 (0:00:00.057) 0:01:24.864 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:04:58 -0400 (0:00:00.055) 0:01:24.919 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:05:00 -0400 (0:00:01.607) 0:01:26.527 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:05:01 -0400 (0:00:01.411) 0:01:27.938 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:05:01 -0400 (0:00:00.055) 0:01:27.994 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:05:01 -0400 (0:00:00.056) 0:01:28.051 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:05:01 -0400 (0:00:00.054) 0:01:28.105 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:05:02 -0400 (0:00:00.053) 0:01:28.159 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:05:02 -0400 (0:00:00.066) 0:01:28.226 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:05:02 -0400 (0:00:00.054) 0:01:28.280 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:05:02 -0400 (0:00:00.061) 0:01:28.342 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:05:02 -0400 (0:00:00.091) 0:01:28.433 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:05:02 -0400 (0:00:00.053) 0:01:28.486 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:05:02 -0400 (0:00:00.051) 0:01:28.538 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:05:02 -0400 (0:00:00.063) 0:01:28.602 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:05:02 -0400 (0:00:00.099) 0:01:28.701 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:05:02 -0400 (0:00:00.051) 0:01:28.753 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:05:03 -0400 (0:00:00.529) 0:01:29.283 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp010yw59l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:05:03 -0400 (0:00:00.360) 0:01:29.643 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:05:03 -0400 (0:00:00.449) 0:01:30.092 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:05:04 -0400 (0:00:00.055) 0:01:30.148 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:05:04 -0400 (0:00:00.055) 0:01:30.203 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:05:04 -0400 (0:00:00.055) 0:01:30.259 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:05:04 -0400 (0:00:00.055) 0:01:30.314 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 04:05:04 -0400 (0:00:00.361) 0:01:30.675 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 August 2024 04:05:04 -0400 (0:00:00.080) 0:01:30.756 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 04:05:04 -0400 (0:00:00.074) 0:01:30.831 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 04:05:04 -0400 (0:00:00.053) 0:01:30.884 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 04:05:05 -0400 (0:00:00.345) 0:01:31.230 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 04:05:05 -0400 (0:00:00.148) 0:01:31.378 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018702", "end": "2024-08-09 04:05:05.561848", "rc": 1, "start": "2024-08-09 04:05:05.543146" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 04:05:05 -0400 (0:00:00.372) 0:01:31.750 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 04:05:05 -0400 (0:00:00.053) 0:01:31.804 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 04:05:05 -0400 (0:00:00.057) 0:01:31.862 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 04:05:05 -0400 (0:00:00.054) 0:01:31.917 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 04:05:05 -0400 (0:00:00.054) 0:01:31.971 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 August 2024 04:05:05 -0400 (0:00:00.058) 0:01:32.029 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 04:05:05 -0400 (0:00:00.056) 0:01:32.086 ********* skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 04:05:06 -0400 (0:00:00.056) 0:01:32.142 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 04:05:06 -0400 (0:00:00.058) 0:01:32.201 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 04:05:06 -0400 (0:00:00.079) 0:01:32.281 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046346", "end": "2024-08-09 04:05:06.492546", "rc": 0, "start": "2024-08-09 04:05:06.446200" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 09 August 2024 04:05:06 -0400 (0:00:00.401) 0:01:32.682 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 04:05:06 -0400 (0:00:00.074) 0:01:32.757 ********* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 04:05:06 -0400 (0:00:00.054) 0:01:32.811 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 04:05:06 -0400 (0:00:00.145) 0:01:32.956 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 04:05:06 -0400 (0:00:00.073) 0:01:33.029 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 04:05:06 -0400 (0:00:00.071) 0:01:33.101 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002959", "end": "2024-08-09 04:05:07.267230", "rc": 0, "start": "2024-08-09 04:05:07.264271" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 04:05:07 -0400 (0:00:00.354) 0:01:33.455 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 04:05:07 -0400 (0:00:00.055) 0:01:33.510 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 04:05:07 -0400 (0:00:00.053) 0:01:33.564 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 04:05:07 -0400 (0:00:00.090) 0:01:33.654 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:05:07 -0400 (0:00:00.089) 0:01:33.744 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:05:07 -0400 (0:00:00.084) 0:01:33.829 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:05:07 -0400 (0:00:00.058) 0:01:33.887 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:05:07 -0400 (0:00:00.057) 0:01:33.945 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:05:07 -0400 (0:00:00.101) 0:01:34.047 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:05:09 -0400 (0:00:01.526) 0:01:35.574 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:05:10 -0400 (0:00:01.403) 0:01:36.977 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:05:10 -0400 (0:00:00.055) 0:01:37.033 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:05:10 -0400 (0:00:00.051) 0:01:37.084 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:05:11 -0400 (0:00:00.055) 0:01:37.139 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:05:11 -0400 (0:00:00.052) 0:01:37.192 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:05:11 -0400 (0:00:00.060) 0:01:37.253 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:05:11 -0400 (0:00:00.054) 0:01:37.308 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:05:11 -0400 (0:00:00.061) 0:01:37.369 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:05:11 -0400 (0:00:00.086) 0:01:37.456 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:05:11 -0400 (0:00:00.055) 0:01:37.511 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:05:11 -0400 (0:00:00.052) 0:01:37.564 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:05:11 -0400 (0:00:00.060) 0:01:37.624 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:05:11 -0400 (0:00:00.098) 0:01:37.723 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:05:11 -0400 (0:00:00.053) 0:01:37.777 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:05:12 -0400 (0:00:00.530) 0:01:38.308 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmpb7ex_l1x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:05:12 -0400 (0:00:00.364) 0:01:38.672 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:05:13 -0400 (0:00:00.460) 0:01:39.132 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:05:13 -0400 (0:00:00.052) 0:01:39.185 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:05:13 -0400 (0:00:00.060) 0:01:39.245 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:05:13 -0400 (0:00:00.058) 0:01:39.304 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:05:13 -0400 (0:00:00.052) 0:01:39.356 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 04:05:13 -0400 (0:00:00.375) 0:01:39.732 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 04:05:13 -0400 (0:00:00.056) 0:01:39.788 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:05:13 -0400 (0:00:00.093) 0:01:39.882 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:05:13 -0400 (0:00:00.084) 0:01:39.966 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:05:13 -0400 (0:00:00.158) 0:01:40.125 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:05:14 -0400 (0:00:00.054) 0:01:40.180 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:05:14 -0400 (0:00:00.057) 0:01:40.238 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:05:15 -0400 (0:00:01.530) 0:01:41.768 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:05:17 -0400 (0:00:01.411) 0:01:43.180 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:05:17 -0400 (0:00:00.057) 0:01:43.238 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:05:17 -0400 (0:00:00.054) 0:01:43.292 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:05:17 -0400 (0:00:00.052) 0:01:43.344 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:05:17 -0400 (0:00:00.056) 0:01:43.401 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:05:17 -0400 (0:00:00.064) 0:01:43.465 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:05:17 -0400 (0:00:00.052) 0:01:43.518 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:05:17 -0400 (0:00:00.064) 0:01:43.583 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:05:17 -0400 (0:00:00.089) 0:01:43.672 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:05:17 -0400 (0:00:00.051) 0:01:43.723 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:05:17 -0400 (0:00:00.161) 0:01:43.885 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:05:17 -0400 (0:00:00.062) 0:01:43.947 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:05:17 -0400 (0:00:00.051) 0:01:43.998 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:05:17 -0400 (0:00:00.054) 0:01:44.053 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:05:18 -0400 (0:00:00.531) 0:01:44.584 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp18wxh4q8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:05:18 -0400 (0:00:00.360) 0:01:44.945 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:05:19 -0400 (0:00:00.671) 0:01:45.617 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:05:19 -0400 (0:00:00.052) 0:01:45.670 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:05:19 -0400 (0:00:00.055) 0:01:45.725 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:05:19 -0400 (0:00:00.059) 0:01:45.784 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:05:19 -0400 (0:00:00.051) 0:01:45.835 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 09 August 2024 04:05:20 -0400 (0:00:00.359) 0:01:46.195 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:05:20 -0400 (0:00:00.090) 0:01:46.286 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:05:20 -0400 (0:00:00.126) 0:01:46.412 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:05:20 -0400 (0:00:00.059) 0:01:46.472 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:05:20 -0400 (0:00:00.054) 0:01:46.526 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:05:20 -0400 (0:00:00.058) 0:01:46.585 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:05:21 -0400 (0:00:01.523) 0:01:48.108 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:05:23 -0400 (0:00:01.395) 0:01:49.503 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:05:23 -0400 (0:00:00.058) 0:01:49.562 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:05:23 -0400 (0:00:00.053) 0:01:49.615 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:05:23 -0400 (0:00:00.051) 0:01:49.667 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:05:23 -0400 (0:00:00.056) 0:01:49.724 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:05:23 -0400 (0:00:00.062) 0:01:49.786 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:05:23 -0400 (0:00:00.050) 0:01:49.837 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:05:23 -0400 (0:00:00.064) 0:01:49.902 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:05:23 -0400 (0:00:00.087) 0:01:49.989 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:05:24 -0400 (0:00:00.147) 0:01:50.137 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:05:24 -0400 (0:00:00.053) 0:01:50.190 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:05:24 -0400 (0:00:00.060) 0:01:50.251 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:05:24 -0400 (0:00:00.056) 0:01:50.307 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:05:24 -0400 (0:00:00.053) 0:01:50.361 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:05:24 -0400 (0:00:00.523) 0:01:50.884 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp6zcaerhw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:05:25 -0400 (0:00:00.353) 0:01:51.238 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:05:25 -0400 (0:00:00.458) 0:01:51.696 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:05:25 -0400 (0:00:00.051) 0:01:51.748 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:05:25 -0400 (0:00:00.053) 0:01:51.801 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:05:25 -0400 (0:00:00.057) 0:01:51.859 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:05:25 -0400 (0:00:00.050) 0:01:51.909 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 04:05:26 -0400 (0:00:00.361) 0:01:52.270 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 09 August 2024 04:05:26 -0400 (0:00:00.076) 0:01:52.347 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 04:05:26 -0400 (0:00:00.142) 0:01:52.489 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 04:05:26 -0400 (0:00:00.085) 0:01:52.575 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 04:05:26 -0400 (0:00:00.062) 0:01:52.638 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 04:05:26 -0400 (0:00:00.056) 0:01:52.694 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 04:05:26 -0400 (0:00:00.060) 0:01:52.755 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 04:05:28 -0400 (0:00:01.542) 0:01:54.297 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 04:05:29 -0400 (0:00:01.409) 0:01:55.707 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 04:05:29 -0400 (0:00:00.055) 0:01:55.763 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 04:05:29 -0400 (0:00:00.051) 0:01:55.815 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 04:05:29 -0400 (0:00:00.051) 0:01:55.867 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 04:05:29 -0400 (0:00:00.054) 0:01:55.921 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 04:05:29 -0400 (0:00:00.105) 0:01:56.027 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 04:05:29 -0400 (0:00:00.051) 0:01:56.078 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 04:05:30 -0400 (0:00:00.064) 0:01:56.142 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 04:05:30 -0400 (0:00:00.090) 0:01:56.233 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 04:05:30 -0400 (0:00:00.051) 0:01:56.284 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 04:05:30 -0400 (0:00:00.054) 0:01:56.339 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 04:05:30 -0400 (0:00:00.060) 0:01:56.400 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 04:05:30 -0400 (0:00:00.050) 0:01:56.450 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 04:05:30 -0400 (0:00:00.053) 0:01:56.504 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 04:05:30 -0400 (0:00:00.526) 0:01:57.031 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33387_8zwihbq/tmp301nwso1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 04:05:31 -0400 (0:00:00.352) 0:01:57.384 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 04:05:31 -0400 (0:00:00.451) 0:01:57.835 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 04:05:31 -0400 (0:00:00.050) 0:01:57.886 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 04:05:31 -0400 (0:00:00.054) 0:01:57.940 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 04:05:31 -0400 (0:00:00.058) 0:01:57.999 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 04:05:31 -0400 (0:00:00.051) 0:01:58.050 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 04:05:32 -0400 (0:00:00.407) 0:01:58.457 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 August 2024 04:05:32 -0400 (0:00:00.086) 0:01:58.543 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 04:05:32 -0400 (0:00:00.077) 0:01:58.620 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 04:05:32 -0400 (0:00:00.052) 0:01:58.672 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 04:05:32 -0400 (0:00:00.350) 0:01:59.023 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 04:05:32 -0400 (0:00:00.052) 0:01:59.075 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018406", "end": "2024-08-09 04:05:33.253318", "rc": 1, "start": "2024-08-09 04:05:33.234912" } 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 04:05:33 -0400 (0:00:00.363) 0:01:59.439 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 04:05:33 -0400 (0:00:00.057) 0:01:59.496 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 04:05:33 -0400 (0:00:00.053) 0:01:59.549 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 04:05:33 -0400 (0:00:00.056) 0:01:59.606 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 04:05:33 -0400 (0:00:00.055) 0:01:59.661 ********* skipping: [managed_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 August 2024 04:05:33 -0400 (0:00:00.052) 0:01:59.713 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 August 2024 04:05:33 -0400 (0:00:00.052) 0:01:59.765 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.856333", "end": "2024-08-09 04:05:34.785067", "rc": 0, "start": "2024-08-09 04:05:33.928734" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 August 2024 04:05:34 -0400 (0:00:01.209) 0:02:00.975 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 August 2024 04:05:34 -0400 (0:00:00.108) 0:02:01.083 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 04:05:35 -0400 (0:00:00.054) 0:02:01.138 ********* skipping: [managed_node1] => (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_node1] => { "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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 04:05:35 -0400 (0:00:00.060) 0:02:01.199 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 04:05:35 -0400 (0:00:00.055) 0:02:01.254 ********* included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 04:05:35 -0400 (0:00:00.087) 0:02:01.341 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043909", "end": "2024-08-09 04:05:35.546561", "rc": 0, "start": "2024-08-09 04:05:35.502652" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 09 August 2024 04:05:35 -0400 (0:00:00.394) 0:02:01.736 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007949", "end": "2024-08-09 04:05:35.903683", "rc": 0, "start": "2024-08-09 04:05:35.895734" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:db:1d:83:69 brd ff:ff:ff:ff:ff:ff inet 10.31.14.216/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3260sec preferred_lft 3260sec inet6 fe80::8ff:dbff:fe1d:8369/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether aa:a2:f3:24:6c:1f brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.216 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.216 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-d1Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 09 August 2024 04:05:35 -0400 (0:00:00.354) 0:02:02.090 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.280714", "end": "2024-08-09 04:05:36.538342", "rc": 0, "start": "2024-08-09 04:05:36.257628" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10517 0 --:--:-- --:--:-- --:--:-- 10517 % 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 1299 0 --:--:-- --:--:-- --:--:-- 1299 PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Friday 09 August 2024 04:05:36 -0400 (0:00:00.689) 0:02:02.780 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-d1Z/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-d1Z/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-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-d1Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26