[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/tmp.b14r0NWpoK 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 31 July 2024 06:34:32 -0400 (0:00:00.006) 0:00:00.006 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 31 July 2024 06:34:33 -0400 (0:00:01.074) 0:00:01.080 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 06:34:33 -0400 (0:00:00.019) 0:00:01.100 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 06:34:33 -0400 (0:00:00.496) 0:00:01.596 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.418) 0:00:02.015 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.020) 0:00:02.035 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.013) 0:00:02.048 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.036) 0:00:02.084 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.428) 0:00:02.513 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.013) 0:00:02.526 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 06:34:34 -0400 (0:00:00.013) 0:00:02.540 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.222032", "end": "2024-07-31 06:34:35.051344", "rc": 0, "start": "2024-07-31 06:34:34.829312" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.555) 0:00:03.096 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.013) 0:00:03.109 ******** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.024) 0:00:03.134 ******** ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.764) 0:00:03.899 ******** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.029) 0:00:03.928 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.033) 0:00:03.962 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 06:34:35 -0400 (0:00:00.026) 0:00:03.988 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.065) 0:00:04.054 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.032) 0:00:04.086 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.029) 0:00:04.116 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-07-31 06:34:36.418971", "rc": 0, "start": "2024-07-31 06:34:36.415753" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.345) 0:00:04.462 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.027) 0:00:04.490 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.028) 0:00:04.519 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.039) 0:00:04.558 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009427", "end": "2024-07-31 06:34:36.864649", "rc": 1, "start": "2024-07-31 06:34:36.855222" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.348) 0:00:04.906 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 06:34:36 -0400 (0:00:00.031) 0:00:04.937 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.344) 0:00:05.282 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.030) 0:00:05.312 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.036) 0:00:05.349 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.052) 0:00:05.402 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.045) 0:00:05.447 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.030) 0:00:05.478 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.028) 0:00:05.507 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:34:37 -0400 (0:00:00.029) 0:00:05.536 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:34:39 -0400 (0:00:01.685) 0:00:07.221 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:34:40 -0400 (0:00:01.666) 0:00:08.888 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:34:40 -0400 (0:00:00.043) 0:00:08.931 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:34:40 -0400 (0:00:00.043) 0:00:08.975 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.040) 0:00:09.016 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.038) 0:00:09.054 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.051) 0:00:09.105 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.041) 0:00:09.146 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.047) 0:00:09.194 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.130) 0:00:09.324 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.041) 0:00:09.365 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.042) 0:00: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 : Enable and start NetworkManager] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.053) 0:00:09.461 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.042) 0:00:09.504 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:34:41 -0400 (0:00:00.039) 0:00:09.544 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:34:42 -0400 (0:00:00.750) 0:00:10.294 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpoh7iv1hw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:34:42 -0400 (0:00:00.374) 0:00:10.669 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.593) 0:00:11.262 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.043) 0:00:11.306 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.042) 0:00:11.349 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.044) 0:00:11.393 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.045) 0:00:11.439 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.445) 0:00:11.885 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 06:34:43 -0400 (0:00:00.047) 0:00:11.933 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.098) 0:00:12.031 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.066) 0:00:12.097 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.045) 0:00:12.142 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722422083.2020247, "block_size": 4096, "blocks": 8, "ctime": 1722422083.2020247, "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": 1722422083.2020247, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.360) 0:00:12.503 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.044) 0:00:12.547 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018299", "end": "2024-07-31 06:34:44.865233", "rc": 1, "start": "2024-07-31 06:34:44.846934" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.375) 0:00:12.922 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 06:34:44 -0400 (0:00:00.041) 0:00:12.964 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002737", "end": "2024-07-31 06:34:45.269159", "rc": 0, "start": "2024-07-31 06:34:45.266422" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.360) 0:00:13.324 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.047) 0:00:13.372 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002849", "end": "2024-07-31 06:34:45.678180", "rc": 0, "start": "2024-07-31 06:34:45.675331" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.363) 0:00:13.735 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.048) 0:00:13.783 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.045) 0:00:13.829 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.043) 0:00:13.872 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.044) 0:00:13.917 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 06:34:45 -0400 (0:00:00.044) 0:00:13.962 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.108) 0:00:14.071 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.068) 0:00:14.139 ******** 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.041089", "end": "2024-07-31 06:34:46.476742", "rc": 1, "start": "2024-07-31 06:34:46.435653" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.395) 0:00:14.534 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.065) 0:00:14.600 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.041) 0:00:14.641 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.081) 0:00:14.722 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.060) 0:00:14.783 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 06:34:46 -0400 (0:00:00.058) 0:00:14.842 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002809", "end": "2024-07-31 06:34:47.138651", "rc": 0, "start": "2024-07-31 06:34:47.135842" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 06:34:47 -0400 (0:00:00.353) 0:00:15.195 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 06:34:47 -0400 (0:00:00.043) 0:00:15.239 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 06:34:47 -0400 (0:00:00.044) 0:00:15.283 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 31 July 2024 06:34:47 -0400 (0:00:00.096) 0:00:15.379 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005767", "end": "2024-07-31 06:34:47.687618", "rc": 1, "start": "2024-07-31 06:34:47.681851" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 06:34:47 -0400 (0:00:00.365) 0:00:15.745 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 06:34:47 -0400 (0:00:00.063) 0:00:15.809 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.354) 0:00:16.163 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.048) 0:00:16.211 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.067) 0:00:16.279 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.078) 0:00:16.358 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.073) 0:00:16.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 : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.049) 0:00:16.480 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.045) 0:00:16.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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:34:48 -0400 (0:00:00.042) 0:00:16.569 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:34:50 -0400 (0:00:01.652) 0:00:18.221 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:34:51 -0400 (0:00:01.515) 0:00:19.737 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:34:51 -0400 (0:00:00.045) 0:00:19.782 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:34:51 -0400 (0:00:00.043) 0:00:19.826 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:34:51 -0400 (0:00:00.040) 0:00:19.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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:34:51 -0400 (0:00:00.041) 0:00:19.908 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:34:51 -0400 (0:00:00.053) 0:00:19.961 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.042) 0:00:20.004 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.048) 0:00:20.053 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.081) 0:00:20.134 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.045) 0:00:20.179 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.040) 0:00:20.220 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.055) 0:00:20.276 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.045) 0:00:20.322 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.042) 0:00:20.364 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:34:52 -0400 (0:00:00.628) 0:00:20.992 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmp1yawuf8e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:34:53 -0400 (0:00:00.371) 0:00:21.364 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:34:53 -0400 (0:00:00.468) 0:00:21.832 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:34:53 -0400 (0:00:00.045) 0:00:21.878 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:34:53 -0400 (0:00:00.048) 0:00:21.927 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:34:53 -0400 (0:00:00.045) 0:00:21.972 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.044) 0:00:22.016 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.369) 0:00:22.385 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.049) 0:00:22.435 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.072) 0:00:22.507 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.062) 0:00:22.570 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.353) 0:00:22.924 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 06:34:54 -0400 (0:00:00.047) 0:00:22.972 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 06:34:55 -0400 (0:00:00.098) 0:00:23.070 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 06:34:55 -0400 (0:00:00.044) 0:00:23.114 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722422093.7721155, "block_size": 4096, "blocks": 8, "ctime": 1722422093.7721155, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722422093.7721155, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 06:34:55 -0400 (0:00:00.358) 0:00:23.473 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 06:34:55 -0400 (0:00:00.043) 0:00:23.516 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020819", "end": "2024-07-31 06:34:55.839335", "rc": 1, "start": "2024-07-31 06:34:55.818516" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 06:34:55 -0400 (0:00:00.379) 0:00:23.895 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 06:34:55 -0400 (0:00:00.045) 0:00:23.941 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003265", "end": "2024-07-31 06:34:56.251171", "rc": 0, "start": "2024-07-31 06:34:56.247906" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.370) 0:00:24.312 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.052) 0:00:24.365 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003033", "end": "2024-07-31 06:34:56.679965", "rc": 0, "start": "2024-07-31 06:34:56.676932" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.374) 0:00:24.739 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.049) 0:00:24.788 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.048) 0:00:24.837 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.046) 0:00:24.884 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.044) 0:00:24.928 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 06:34:56 -0400 (0:00:00.040) 0:00:24.969 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.044) 0:00:25.013 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.102) 0:00:25.116 ******** 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.039607", "end": "2024-07-31 06:34:57.459981", "rc": 1, "start": "2024-07-31 06:34:57.420374" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.401) 0:00:25.518 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.065) 0:00:25.584 ******** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.044) 0:00:25.628 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.082) 0:00:25.710 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.062) 0:00:25.773 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 06:34:57 -0400 (0:00:00.058) 0:00:25.832 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004073", "end": "2024-07-31 06:34:59.131336", "rc": 0, "start": "2024-07-31 06:34:58.127263" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 06:34:59 -0400 (0:00:01.357) 0:00:27.190 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.044) 0:00:27.235 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.043) 0:00:27.279 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.066) 0:00:27.345 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.107) 0:00:27.452 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.073) 0:00:27.526 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.050) 0:00:27.577 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.045) 0:00:27.623 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:34:59 -0400 (0:00:00.041) 0:00:27.665 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:01 -0400 (0:00:01.616) 0:00:29.281 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:02 -0400 (0:00:01.461) 0:00:30.743 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:02 -0400 (0:00:00.043) 0:00:30.787 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:02 -0400 (0:00:00.043) 0:00:30.831 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:02 -0400 (0:00:00.045) 0:00:30.876 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:02 -0400 (0:00:00.040) 0:00:30.917 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:02 -0400 (0:00:00.055) 0:00:30.972 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.078) 0:00:31.050 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.051) 0:00:31.102 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.081) 0:00:31.184 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.042) 0:00:31.227 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.041) 0:00:31.268 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.055) 0:00:31.324 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.043) 0:00:31.368 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.043) 0:00:31.411 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:03 -0400 (0:00:00.538) 0:00:31.950 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpo89xm0_q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:04 -0400 (0:00:00.370) 0:00:32.321 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:04 -0400 (0:00:00.454) 0:00:32.775 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:04 -0400 (0:00:00.042) 0:00:32.817 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:04 -0400 (0:00:00.046) 0:00:32.863 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:04 -0400 (0:00:00.045) 0:00:32.909 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:04 -0400 (0:00:00.040) 0:00:32.950 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.367) 0:00:33.318 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.081) 0:00:33.400 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.067) 0:00:33.468 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.078) 0:00:33.547 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.075) 0:00:33.622 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.050) 0:00:33.673 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.047) 0:00:33.720 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:05 -0400 (0:00:00.046) 0:00:33.766 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:07 -0400 (0:00:01.634) 0:00:35.400 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:08 -0400 (0:00:01.456) 0:00:36.857 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:08 -0400 (0:00:00.044) 0:00:36.902 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:08 -0400 (0:00:00.079) 0:00:36.982 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.042) 0:00:37.024 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.048) 0:00:37.072 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.053) 0:00:37.126 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.043) 0:00:37.170 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.055) 0:00:37.226 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.080) 0:00:37.306 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.045) 0:00:37.352 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.044) 0:00:37.397 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.053) 0:00:37.450 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.046) 0:00:37.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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:09 -0400 (0:00:00.048) 0:00:37.544 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:10 -0400 (0:00:00.537) 0:00:38.082 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmp9f34jwhh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:10 -0400 (0:00:00.371) 0:00:38.454 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.690) 0:00:39.144 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.043) 0:00:39.188 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.046) 0:00:39.234 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.127) 0:00:39.362 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.044) 0:00:39.406 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.373) 0:00:39.780 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.076) 0:00:39.856 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 06:35:11 -0400 (0:00:00.062) 0:00:39.919 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722422111.0101314, "block_size": 4096, "blocks": 0, "ctime": 1722422111.0101314, "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": 1722422111.0101314, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 06:35:12 -0400 (0:00:00.360) 0:00:40.280 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 06:35:12 -0400 (0:00:00.046) 0:00:40.326 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 06:35:12 -0400 (0:00:00.068) 0:00:40.395 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 06:35:12 -0400 (0:00:00.045) 0:00:40.440 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722422110.8502586, "block_size": 4096, "blocks": 8, "ctime": 1722422104.7182071, "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": 1722422104.7182071, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 06:35:12 -0400 (0:00:00.358) 0:00:40.799 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 06:35:12 -0400 (0:00:00.047) 0:00:40.846 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018232", "end": "2024-07-31 06:35:13.160979", "rc": 1, "start": "2024-07-31 06:35:13.142747" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 06:35:13 -0400 (0:00:00.373) 0:00:41.219 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 06:35:13 -0400 (0:00:00.079) 0:00:41.299 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004163", "end": "2024-07-31 06:35:14.614549", "rc": 0, "start": "2024-07-31 06:35:13.610386" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 06:35:14 -0400 (0:00:01.377) 0:00:42.676 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 06:35:14 -0400 (0:00:00.048) 0:00:42.724 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003054", "end": "2024-07-31 06:35:15.043637", "rc": 0, "start": "2024-07-31 06:35:15.040583" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.381) 0:00:43.106 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.048) 0:00:43.154 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.047) 0:00:43.202 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.047) 0:00:43.249 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.048) 0:00:43.298 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.040) 0:00:43.338 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.044) 0:00:43.383 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.070) 0:00:43.453 ******** 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.048150", "end": "2024-07-31 06:35:15.815513", "rc": 0, "start": "2024-07-31 06:35:15.767363" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.425) 0:00:43.878 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.065) 0:00:43.944 ******** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 06:35:15 -0400 (0:00:00.044) 0:00:43.988 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.120) 0:00:44.108 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.062) 0:00:44.171 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.060) 0:00:44.231 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2024-07-31 06:35:16.537512", "rc": 0, "start": "2024-07-31 06:35:16.534445" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.362) 0:00:44.594 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.046) 0:00:44.640 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.044) 0:00:44.685 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.070) 0:00:44.756 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.077) 0:00:44.833 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.076) 0:00:44.909 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:16 -0400 (0:00:00.046) 0:00:44.956 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:17 -0400 (0:00:00.046) 0:00:45.003 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:17 -0400 (0:00:00.046) 0:00:45.049 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:18 -0400 (0:00:01.668) 0:00:46.718 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:20 -0400 (0:00:01.450) 0:00:48.168 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.047) 0:00:48.215 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.045) 0:00:48.260 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.042) 0:00:48.303 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.043) 0:00:48.346 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.056) 0:00:48.402 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.044) 0:00:48.447 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.051) 0:00:48.499 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.079) 0:00:48.579 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.045) 0:00:48.624 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.042) 0:00:48.667 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.055) 0:00:48.722 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.082) 0:00:48.805 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:20 -0400 (0:00:00.042) 0:00:48.847 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:21 -0400 (0:00:00.546) 0:00:49.394 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmp5pti7px9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:21 -0400 (0:00:00.367) 0:00:49.761 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.471) 0:00:50.233 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.043) 0:00:50.277 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.048) 0:00:50.325 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.046) 0:00:50.371 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.041) 0:00:50.413 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.371) 0:00:50.785 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.046) 0:00:50.831 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.081) 0:00:50.913 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:22 -0400 (0:00:00.073) 0:00:50.986 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:23 -0400 (0:00:00.084) 0:00:51.070 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:23 -0400 (0:00:00.047) 0:00:51.118 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:23 -0400 (0:00:00.047) 0:00:51.165 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:24 -0400 (0:00:01.615) 0:00:52.780 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:26 -0400 (0:00:01.447) 0:00:54.228 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.047) 0:00:54.276 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.041) 0:00:54.317 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.041) 0:00:54.358 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.041) 0:00:54.400 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.051) 0:00:54.451 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.039) 0:00:54.491 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.052) 0:00:54.544 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.079) 0:00:54.624 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.040) 0:00:54.664 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.077) 0:00:54.741 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.049) 0:00:54.791 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.045) 0:00:54.836 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:26 -0400 (0:00:00.043) 0:00:54.880 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:27 -0400 (0:00:00.553) 0:00:55.433 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpwtu4xfzf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:27 -0400 (0:00:00.368) 0:00:55.802 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:28 -0400 (0:00:00.681) 0:00:56.484 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:28 -0400 (0:00:00.042) 0:00:56.526 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:28 -0400 (0:00:00.045) 0:00:56.571 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:28 -0400 (0:00:00.046) 0:00:56.618 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:28 -0400 (0:00:00.041) 0:00:56.660 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.367) 0:00:57.028 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.068) 0:00:57.097 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.115) 0:00:57.212 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.072) 0:00:57.285 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.052) 0:00:57.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 : Set flag to indicate system is ostree] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.045) 0:00:57.383 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:29 -0400 (0:00:00.046) 0:00:57.429 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:31 -0400 (0:00:01.631) 0:00:59.061 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:32 -0400 (0:00:01.443) 0:01:00.505 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.044) 0:01:00.550 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.044) 0:01:00.594 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.042) 0:01:00.637 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.043) 0:01:00.681 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.051) 0:01:00.732 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.042) 0:01:00.775 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.094) 0:01:00.869 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.080) 0:01:00.949 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:32 -0400 (0:00:00.042) 0:01:00.992 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:33 -0400 (0:00:00.042) 0:01:01.034 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:33 -0400 (0:00:00.052) 0:01:01.087 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:33 -0400 (0:00:00.043) 0:01:01.131 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:33 -0400 (0:00:00.043) 0:01:01.174 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:33 -0400 (0:00:00.547) 0:01:01.721 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmp_ehr_jth" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:34 -0400 (0:00:00.353) 0:01:02.075 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:34 -0400 (0:00:00.464) 0:01:02.539 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:34 -0400 (0:00:00.043) 0:01:02.583 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:34 -0400 (0:00:00.045) 0:01:02.629 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:34 -0400 (0:00:00.048) 0:01:02.677 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:34 -0400 (0:00:00.043) 0:01:02.721 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.370) 0:01:03.091 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.110) 0:01:03.201 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.062) 0:01:03.264 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722422128.348166, "block_size": 4096, "blocks": 0, "ctime": 1722422128.348166, "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": 1722422128.348166, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.369) 0:01:03.634 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.049) 0:01:03.683 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.068) 0:01:03.751 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 06:35:35 -0400 (0:00:00.044) 0:01:03.795 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.349) 0:01:04.145 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.042) 0:01:04.188 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021657", "end": "2024-07-31 06:35:36.516438", "rc": 1, "start": "2024-07-31 06:35:36.494781" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.386) 0:01:04.574 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.045) 0:01:04.620 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.044) 0:01:04.664 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.046) 0:01:04.711 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.042) 0:01:04.753 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.043) 0:01:04.797 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.084) 0:01:04.881 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.040) 0:01:04.922 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 06:35:36 -0400 (0:00:00.043) 0:01:04.965 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.070) 0:01:05.036 ******** 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.045618", "end": "2024-07-31 06:35:37.384422", "rc": 0, "start": "2024-07-31 06:35:37.338804" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.408) 0:01:05.445 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.069) 0:01:05.515 ******** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.046) 0:01:05.561 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.086) 0:01:05.648 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.063) 0:01:05.711 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 06:35:37 -0400 (0:00:00.062) 0:01:05.773 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002758", "end": "2024-07-31 06:35:38.075590", "rc": 0, "start": "2024-07-31 06:35:38.072832" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.357) 0:01:06.130 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.048) 0:01:06.179 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.076) 0:01:06.256 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.078) 0:01:06.334 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.078) 0:01:06.413 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.070) 0:01:06.483 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.050) 0:01:06.534 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.045) 0:01:06.579 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:38 -0400 (0:00:00.047) 0:01:06.627 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:40 -0400 (0:00:01.655) 0:01:08.282 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:41 -0400 (0:00:01.455) 0:01:09.738 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:41 -0400 (0:00:00.044) 0:01:09.782 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:41 -0400 (0:00:00.081) 0:01:09.863 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:41 -0400 (0:00:00.041) 0:01:09.905 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:41 -0400 (0:00:00.042) 0:01:09.948 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.053) 0:01:10.001 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.041) 0:01:10.043 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.052) 0:01:10.095 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.081) 0:01:10.176 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.042) 0:01:10.219 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.040) 0:01:10.260 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.052) 0:01:10.312 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.042) 0:01:10.355 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.040) 0:01:10.395 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:42 -0400 (0:00:00.544) 0:01:10.940 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpwtdf365k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:43 -0400 (0:00:00.357) 0:01:11.298 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:43 -0400 (0:00:00.456) 0:01:11.755 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:43 -0400 (0:00:00.043) 0:01:11.798 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:43 -0400 (0:00:00.044) 0:01:11.843 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:43 -0400 (0:00:00.082) 0:01:11.925 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:43 -0400 (0:00:00.043) 0:01:11.968 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.376) 0:01:12.347 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.046) 0:01:12.393 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.076) 0:01:12.470 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.071) 0:01:12.542 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.049) 0:01:12.592 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.046) 0:01:12.639 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:44 -0400 (0:00:00.046) 0:01:12.685 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:46 -0400 (0:00:01.647) 0:01:14.332 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:47 -0400 (0:00:01.549) 0:01:15.882 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:47 -0400 (0:00:00.047) 0:01:15.929 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:47 -0400 (0:00:00.045) 0:01:15.975 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.042) 0:01:16.017 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.043) 0:01:16.061 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.055) 0:01:16.116 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.044) 0:01:16.161 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.048) 0:01:16.209 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.080) 0:01:16.290 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.040) 0:01:16.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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.041) 0:01:16.372 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.053) 0:01:16.426 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.041) 0:01:16.468 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:48 -0400 (0:00:00.040) 0:01:16.509 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:49 -0400 (0:00:00.543) 0:01:17.052 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpsrh77zfn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:49 -0400 (0:00:00.374) 0:01:17.427 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.745) 0:01:18.172 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.132) 0:01:18.304 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.048) 0:01:18.353 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.048) 0:01:18.401 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.045) 0:01:18.446 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.377) 0:01:18.823 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.080) 0:01:18.904 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:50 -0400 (0:00:00.075) 0:01:18.979 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:51 -0400 (0:00:00.051) 0:01:19.030 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:51 -0400 (0:00:00.045) 0:01:19.076 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:51 -0400 (0:00:00.045) 0:01:19.121 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:52 -0400 (0:00:01.623) 0:01:20.745 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:35:54 -0400 (0:00:01.523) 0:01:22.268 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.048) 0:01:22.316 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.043) 0:01:22.360 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.043) 0:01:22.403 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.041) 0:01:22.445 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.054) 0:01:22.499 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.044) 0:01:22.544 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.051) 0:01:22.595 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.081) 0:01:22.676 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.044) 0:01:22.721 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.043) 0:01:22.764 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.050) 0:01:22.815 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.044) 0:01:22.859 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:35:54 -0400 (0:00:00.042) 0:01:22.902 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:35:55 -0400 (0:00:00.550) 0:01:23.452 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmplzzx5i1g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:35:55 -0400 (0:00:00.420) 0:01:23.873 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.465) 0:01:24.338 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.047) 0:01:24.385 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.045) 0:01:24.430 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.047) 0:01:24.478 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.045) 0:01:24.524 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.366) 0:01:24.890 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 06:35:56 -0400 (0:00:00.069) 0:01:24.960 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:35:57 -0400 (0:00:00.083) 0:01:25.043 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:35:57 -0400 (0:00:00.075) 0:01:25.118 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:35:57 -0400 (0:00:00.052) 0:01:25.171 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:35:57 -0400 (0:00:00.048) 0:01:25.219 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:35:57 -0400 (0:00:00.045) 0:01:25.265 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:35:58 -0400 (0:00:01.688) 0:01:26.953 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:36:00 -0400 (0:00:01.458) 0:01:28.411 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.045) 0:01:28.456 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.044) 0:01:28.500 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.044) 0:01:28.545 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.043) 0:01:28.589 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.056) 0:01:28.645 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.043) 0:01:28.689 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.054) 0:01:28.743 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.082) 0:01:28.826 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.042) 0:01:28.868 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.042) 0:01:28.911 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:36:00 -0400 (0:00:00.055) 0:01:28.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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:36:01 -0400 (0:00:00.081) 0:01:29.048 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:36:01 -0400 (0:00:00.043) 0:01:29.091 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:36:01 -0400 (0:00:00.552) 0:01:29.644 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpy8k3gpbq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:36:02 -0400 (0:00:00.367) 0:01:30.011 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:36:02 -0400 (0:00:00.450) 0:01:30.461 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:36:02 -0400 (0:00:00.046) 0:01:30.507 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:36:02 -0400 (0:00:00.046) 0:01:30.554 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:36:02 -0400 (0:00:00.046) 0:01:30.601 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:36:02 -0400 (0:00:00.042) 0:01:30.643 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 06:36:03 -0400 (0:00:00.369) 0:01:31.013 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 06:36:03 -0400 (0:00:00.070) 0:01:31.083 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 06:36:03 -0400 (0:00:00.067) 0:01:31.151 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 06:36:03 -0400 (0:00:00.047) 0:01:31.198 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 06:36:03 -0400 (0:00:00.357) 0:01:31.556 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 06:36:03 -0400 (0:00:00.084) 0:01:31.640 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018289", "end": "2024-07-31 06:36:03.962225", "rc": 1, "start": "2024-07-31 06:36:03.943936" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.378) 0:01:32.018 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.045) 0:01:32.064 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.042) 0:01:32.106 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.044) 0:01:32.151 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.042) 0:01:32.193 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.042) 0:01:32.235 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.047) 0:01:32.283 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.045) 0:01:32.329 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.044) 0:01:32.373 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.067) 0:01:32.440 ******** 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.045378", "end": "2024-07-31 06:36:04.780297", "rc": 0, "start": "2024-07-31 06:36:04.734919" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.399) 0:01:32.840 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.067) 0:01:32.907 ******** ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 06:36:04 -0400 (0:00:00.043) 0:01:32.951 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.125) 0:01:33.076 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.065) 0:01:33.141 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.061) 0:01:33.203 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-07-31 06:36:05.509979", "rc": 0, "start": "2024-07-31 06:36:05.506706" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.367) 0:01:33.571 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.045) 0:01:33.616 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.043) 0:01:33.660 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.079) 0:01:33.739 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.077) 0:01:33.817 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.074) 0:01:33.892 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.049) 0:01:33.942 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:36:05 -0400 (0:00:00.049) 0:01:33.991 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:36:06 -0400 (0:00:00.081) 0:01:34.073 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:36:07 -0400 (0:00:01.638) 0:01:35.711 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:36:09 -0400 (0:00:01.453) 0:01:37.165 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.045) 0:01:37.210 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.043) 0:01:37.253 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.043) 0:01:37.296 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.042) 0:01:37.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.050) 0:01:37.389 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.044) 0:01:37.434 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.050) 0:01:37.484 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.076) 0:01:37.561 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.043) 0:01:37.605 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.042) 0:01:37.648 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.050) 0:01:37.699 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.081) 0:01:37.781 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:36:09 -0400 (0:00:00.043) 0:01:37.825 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:36:10 -0400 (0:00:00.540) 0:01:38.366 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmp3inln6rx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:36:10 -0400 (0:00:00.370) 0:01:38.737 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.466) 0:01:39.203 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.041) 0:01:39.245 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.048) 0:01:39.293 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.049) 0:01:39.342 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.043) 0:01:39.386 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.378) 0:01:39.764 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.048) 0:01:39.813 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.079) 0:01:39.892 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:36:11 -0400 (0:00:00.075) 0:01:39.968 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:36:12 -0400 (0:00:00.093) 0:01:40.061 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:36:12 -0400 (0:00:00.048) 0:01:40.110 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:36:12 -0400 (0:00:00.052) 0:01:40.162 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:36:13 -0400 (0:00:01.621) 0:01:41.783 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:36:15 -0400 (0:00:01.468) 0:01:43.252 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.048) 0:01:43.300 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.042) 0:01:43.343 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.040) 0:01:43.383 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.042) 0:01:43.425 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.053) 0:01:43.479 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.041) 0:01:43.520 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.052) 0:01:43.573 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.079) 0:01:43.652 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.039) 0:01:43.692 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.083) 0:01:43.775 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.052) 0:01:43.828 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.040) 0:01:43.869 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:36:15 -0400 (0:00:00.043) 0:01:43.912 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:36:16 -0400 (0:00:00.532) 0:01:44.445 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpn2vi90g_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:36:16 -0400 (0:00:00.368) 0:01:44.813 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:36:17 -0400 (0:00:00.684) 0:01:45.498 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:36:17 -0400 (0:00:00.043) 0:01:45.541 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:36:17 -0400 (0:00:00.046) 0:01:45.588 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:36:17 -0400 (0:00:00.047) 0:01:45.636 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:36:17 -0400 (0:00:00.043) 0:01:45.679 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 06:36:18 -0400 (0:00:00.372) 0:01:46.051 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:36:18 -0400 (0:00:00.078) 0:01:46.130 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:36:18 -0400 (0:00:00.108) 0:01:46.239 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:36:18 -0400 (0:00:00.052) 0:01:46.292 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:36:18 -0400 (0:00:00.043) 0:01:46.335 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:36:18 -0400 (0:00:00.046) 0:01:46.381 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:36:19 -0400 (0:00:01.589) 0:01:47.970 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:36:21 -0400 (0:00:01.451) 0:01:49.422 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.046) 0:01:49.469 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.041) 0:01:49.511 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.044) 0:01:49.555 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.045) 0:01:49.601 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.054) 0:01:49.655 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.045) 0:01:49.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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.052) 0:01:49.753 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.081) 0:01:49.834 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:36:21 -0400 (0:00:00.136) 0:01:49.970 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:36:22 -0400 (0:00:00.046) 0:01:50.017 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:36:22 -0400 (0:00:00.053) 0:01:50.071 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:36:22 -0400 (0:00:00.045) 0:01:50.116 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:36:22 -0400 (0:00:00.043) 0:01:50.160 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:36:22 -0400 (0:00:00.549) 0:01:50.709 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmp1gzhci1p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:36:23 -0400 (0:00:00.367) 0:01:51.077 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:36:23 -0400 (0:00:00.493) 0:01:51.570 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:36:23 -0400 (0:00:00.048) 0:01:51.619 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:36:23 -0400 (0:00:00.046) 0:01:51.665 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:36:23 -0400 (0:00:00.048) 0:01:51.714 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:36:23 -0400 (0:00:00.044) 0:01:51.758 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.372) 0:01:52.131 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.068) 0:01:52.199 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.122) 0:01:52.322 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.072) 0:01:52.395 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.050) 0:01:52.446 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.046) 0:01:52.493 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:36:24 -0400 (0:00:00.049) 0:01:52.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 : Check which packages are installed] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:36:26 -0400 (0:00:01.626) 0:01:54.169 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:36:27 -0400 (0:00:01.453) 0:01:55.622 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.047) 0:01:55.670 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.044) 0:01:55.714 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.040) 0:01:55.754 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.043) 0:01:55.798 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.096) 0:01:55.894 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.042) 0:01:55.937 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:36:27 -0400 (0:00:00.056) 0:01:55.993 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.080) 0:01:56.074 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.041) 0:01:56.116 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.043) 0:01:56.160 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.054) 0:01:56.214 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.044) 0:01:56.258 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.044) 0:01:56.303 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:36:28 -0400 (0:00:00.539) 0:01:56.842 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33798bjs4a8dp/tmpagzi1a3a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:36:29 -0400 (0:00:00.370) 0:01:57.213 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:36:29 -0400 (0:00:00.468) 0:01:57.681 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:36:29 -0400 (0:00:00.043) 0:01:57.725 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:36:29 -0400 (0:00:00.045) 0:01:57.771 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:36:29 -0400 (0:00:00.048) 0:01:57.819 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:36:29 -0400 (0:00:00.045) 0:01:57.865 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 06:36:30 -0400 (0:00:00.416) 0:01:58.281 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 06:36:30 -0400 (0:00:00.078) 0:01:58.360 ******** included: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 06:36:30 -0400 (0:00:00.066) 0:01:58.426 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 06:36:30 -0400 (0:00:00.044) 0:01:58.470 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 06:36:30 -0400 (0:00:00.354) 0:01:58.825 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 06:36:30 -0400 (0:00:00.042) 0:01:58.867 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018978", "end": "2024-07-31 06:36:31.198578", "rc": 1, "start": "2024-07-31 06:36:31.179600" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.391) 0:01:59.259 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.049) 0:01:59.308 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.042) 0:01:59.351 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.043) 0:01:59.394 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.045) 0:01:59.440 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.042) 0:01:59.483 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 July 2024 06:36:31 -0400 (0:00:00.043) 0:01:59.526 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.881911", "end": "2024-07-31 06:36:32.708472", "rc": 0, "start": "2024-07-31 06:36:31.826561" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 July 2024 06:36:32 -0400 (0:00:01.244) 0:02:00.771 ******** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 July 2024 06:36:32 -0400 (0:00:00.085) 0:02:00.856 ******** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 06:36:32 -0400 (0:00:00.045) 0:02:00.902 ******** 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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 06:36:32 -0400 (0:00:00.051) 0:02:00.954 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 06:36:33 -0400 (0:00:00.047) 0:02:01.001 ******** included: /tmp/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/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/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 06:36:33 -0400 (0:00:00.076) 0:02:01.078 ******** 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.047804", "end": "2024-07-31 06:36:33.423382", "rc": 0, "start": "2024-07-31 06:36:33.375578" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 31 July 2024 06:36:33 -0400 (0:00:00.403) 0:02:01.481 ******** 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.008496", "end": "2024-07-31 06:36:33.789864", "rc": 0, "start": "2024-07-31 06:36:33.781368" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:e2:1c:9c:10:13 brd ff:ff:ff:ff:ff:ff inet 10.31.11.87/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3284sec preferred_lft 3284sec inet6 fe80::10e2:1cff:fe9c:1013/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether e2:b2:c1:f3:f8:3b brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.87 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.87 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 31 July 2024 06:36:33 -0400 (0:00:00.367) 0:02:01.849 ******** 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.335598", "end": "2024-07-31 06:36:34.500962", "rc": 0, "start": "2024-07-31 06:36:34.165364" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3674 0 --:--:-- --:--:-- --:--:-- 3674 % 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 Wednesday 31 July 2024 06:36:34 -0400 (0:00:00.762) 0:02:02.611 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/tmp.b14r0NWpoK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26