[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.17.2] 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.jiOtK4AzTt executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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_nm.yml ************************************************** 2 plays in /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Wednesday 31 July 2024 10:59:56 -0400 (0:00:00.019) 0:00:00.019 ******** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Wednesday 31 July 2024 10:59:59 -0400 (0:00:02.666) 0:00:02.686 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 10:59:59 -0400 (0:00:00.018) 0:00:02.704 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 11:00:01 -0400 (0:00:02.065) 0:00:04.770 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.478) 0:00:05.249 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.022) 0:00:05.272 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.013) 0:00:05.286 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.032) 0:00:05.318 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.013) 0:00:05.332 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.012) 0:00:05.344 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.012) 0:00:05.356 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.014) 0:00:05.370 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.012) 0:00:05.382 ******** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 31 July 2024 11:00:01 -0400 (0:00:00.026) 0:00:05.409 ******** ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 31 July 2024 11:00:04 -0400 (0:00:02.522) 0:00:07.932 ******** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.017) 0:00:07.949 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.025) 0:00:07.975 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.016) 0:00:07.991 ******** 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": true, "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.050) 0:00:08.042 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.021) 0:00:08.063 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.020) 0:00:08.083 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003609", "end": "2024-07-31 11:00:04.878658", "rc": 0, "start": "2024-07-31 11:00:04.875049" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.460) 0:00:08.544 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.017) 0:00:08.562 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.017) 0:00:08.580 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 31 July 2024 11:00:04 -0400 (0:00:00.030) 0:00:08.610 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011431", "end": "2024-07-31 11:00:05.328304", "rc": 1, "start": "2024-07-31 11:00:05.316873" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.382) 0:00:08.993 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.021) 0:00:09.014 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.369) 0:00:09.384 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.018) 0:00:09.402 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.026) 0:00:09.428 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.044) 0:00:09.472 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.033) 0:00:09.505 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.023) 0:00:09.529 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.018) 0:00:09.547 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:05 -0400 (0:00:00.018) 0:00:09.565 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:00:08 -0400 (0:00:02.854) 0:00:12.420 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:00:10 -0400 (0:00:01.215) 0:00:13.635 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.040) 0:00:13.676 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.037) 0:00:13.713 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.034) 0:00:13.748 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.042) 0:00:13.790 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.053) 0:00:13.843 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.068) 0:00:13.912 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.053) 0:00:13.966 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.084) 0:00:14.050 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.035) 0:00:14.086 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.035) 0:00:14.122 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:00:10 -0400 (0:00:00.051) 0:00:14.173 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:00:11 -0400 (0:00:00.833) 0:00:15.006 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:00:11 -0400 (0:00:00.052) 0:00:15.058 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:00:11 -0400 (0:00:00.036) 0:00:15.095 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:00:11 -0400 (0:00:00.035) 0:00:15.131 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 004c6cb0-ccf4-4922-a62e-58b03d3f9115 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:00:12 -0400 (0:00:00.826) 0:00:15.957 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:00:12 -0400 (0:00:00.035) 0:00:15.993 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 004c6cb0-ccf4-4922-a62e-58b03d3f9115" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:00:12 -0400 (0:00:00.039) 0:00:16.033 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 004c6cb0-ccf4-4922-a62e-58b03d3f9115\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 004c6cb0-ccf4-4922-a62e-58b03d3f9115" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:00:12 -0400 (0:00:00.041) 0:00:16.074 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:00:12 -0400 (0:00:00.069) 0:00:16.143 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.503) 0:00:16.647 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 004c6cb0-ccf4-4922-a62e-58b03d3f9115\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 004c6cb0-ccf4-4922-a62e-58b03d3f9115" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.039) 0:00:16.687 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.068) 0:00:16.755 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.065) 0:00:16.820 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.039) 0:00:16.860 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.400) 0:00:17.260 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:00:13 -0400 (0:00:00.033) 0:00:17.294 ******** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021665", "end": "2024-07-31 11:00:14.028304", "rc": 0, "start": "2024-07-31 11:00:14.006639" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.420) 0:00:17.714 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.040) 0:00:17.754 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.036) 0:00:17.791 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.033) 0:00:17.825 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.065) 0:00:17.891 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.036) 0:00:17.927 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.038) 0:00:17.965 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.041) 0:00:18.007 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.039) 0:00:18.047 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.075) 0:00:18.122 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.057) 0:00:18.180 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722438012.2017202, "block_size": 4096, "blocks": 0, "ctime": 1722438012.2017202, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 54585, "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": 1722438012.2017202, "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 11:00:14 -0400 (0:00:00.401) 0:00:18.581 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.038) 0:00:18.620 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.037) 0:00:18.658 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.068) 0:00:18.726 ******** 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.071744", "end": "2024-07-31 11:00:15.513506", "rc": 1, "start": "2024-07-31 11:00:15.441762" } STDOUT: Connection 'statebr' (004c6cb0-ccf4-4922-a62e-58b03d3f9115) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.480) 0:00:19.207 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.094) 0:00:19.301 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.038) 0:00:19.339 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.071) 0:00:19.410 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.061) 0:00:19.472 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:00:15 -0400 (0:00:00.059) 0:00:19.531 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003632", "end": "2024-07-31 11:00:16.251768", "rc": 0, "start": "2024-07-31 11:00:16.248136" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:00:16 -0400 (0:00:00.405) 0:00:19.937 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:00:16 -0400 (0:00:00.039) 0:00:19.976 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:00:16 -0400 (0:00:00.039) 0:00:20.016 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 31 July 2024 11:00:16 -0400 (0:00:00.067) 0:00:20.083 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007219", "end": "2024-07-31 11:00:16.803465", "rc": 1, "start": "2024-07-31 11:00:16.796246" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:00:16 -0400 (0:00:00.406) 0:00:20.489 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:00:16 -0400 (0:00:00.093) 0:00:20.583 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.403) 0:00:20.986 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.039) 0:00:21.026 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.067) 0:00:21.093 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.078) 0:00:21.172 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.072) 0:00:21.245 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.050) 0:00:21.295 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.041) 0:00:21.336 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:17 -0400 (0:00:00.039) 0:00:21.376 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:00:20 -0400 (0:00:02.709) 0:00:24.085 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:00:21 -0400 (0:00:01.037) 0:00:25.123 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.038) 0:00:25.161 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.036) 0:00:25.198 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.035) 0:00:25.234 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.039) 0:00:25.274 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.054) 0:00:25.328 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.042) 0:00:25.371 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.049) 0:00:25.420 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.079) 0:00:25.500 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.037) 0:00:25.537 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:00:21 -0400 (0:00:00.034) 0:00:25.572 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:00:22 -0400 (0:00:00.051) 0:00:25.623 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:00:22 -0400 (0:00:00.610) 0:00:26.234 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:00:22 -0400 (0:00:00.143) 0:00:26.377 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:00:22 -0400 (0:00:00.036) 0:00:26.413 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:00:22 -0400 (0:00:00.037) 0:00:26.451 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70207675-9c7d-487b-9e87-1c1e827a7845 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:00:23 -0400 (0:00:00.581) 0:00:27.032 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:00:23 -0400 (0:00:00.036) 0:00:27.069 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70207675-9c7d-487b-9e87-1c1e827a7845" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:00:23 -0400 (0:00:00.041) 0:00:27.111 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70207675-9c7d-487b-9e87-1c1e827a7845\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70207675-9c7d-487b-9e87-1c1e827a7845" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:00:23 -0400 (0:00:00.044) 0:00:27.156 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:00:23 -0400 (0:00:00.035) 0:00:27.191 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 31 July 2024 11:00:23 -0400 (0:00:00.408) 0:00:27.600 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70207675-9c7d-487b-9e87-1c1e827a7845\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70207675-9c7d-487b-9e87-1c1e827a7845" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.042) 0:00:27.642 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.071) 0:00:27.714 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.099) 0:00:27.813 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.391) 0:00:28.205 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.041) 0:00:28.247 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.067) 0:00:28.314 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:00:24 -0400 (0:00:00.038) 0:00:28.352 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.382) 0:00:28.735 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.037) 0:00:28.772 ******** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021898", "end": "2024-07-31 11:00:25.499643", "rc": 0, "start": "2024-07-31 11:00:25.477745" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.417) 0:00:29.190 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.038) 0:00:29.228 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.037) 0:00:29.266 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.034) 0:00:29.300 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.036) 0:00:29.337 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.035) 0:00:29.373 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.038) 0:00:29.411 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.070) 0:00:29.482 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.041) 0:00:29.524 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.038) 0:00:29.563 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:00:25 -0400 (0:00:00.036) 0:00:29.599 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.070) 0:00:29.670 ******** 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.044783", "end": "2024-07-31 11:00:26.420962", "rc": 1, "start": "2024-07-31 11:00:26.376179" } STDOUT: Connection 'statebr' (70207675-9c7d-487b-9e87-1c1e827a7845) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.437) 0:00:30.107 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.066) 0:00:30.174 ******** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.042) 0:00:30.216 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.072) 0:00:30.288 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.061) 0:00:30.350 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:00:26 -0400 (0:00:00.060) 0:00:30.410 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003469", "end": "2024-07-31 11:00:27.123415", "rc": 0, "start": "2024-07-31 11:00:27.119946" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.430) 0:00:30.841 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.042) 0:00:30.883 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.039) 0:00:30.923 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.063) 0:00:30.987 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.080) 0:00:31.067 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.072) 0:00:31.140 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.050) 0:00:31.191 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.041) 0:00:31.232 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:27 -0400 (0:00:00.039) 0:00:31.272 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:00:30 -0400 (0:00:02.743) 0:00:34.016 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:00:31 -0400 (0:00:01.050) 0:00:35.066 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.041) 0:00:35.108 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.037) 0:00:35.145 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.033) 0:00:35.179 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.046) 0:00:35.226 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.052) 0:00:35.279 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.042) 0:00:35.321 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.049) 0:00:35.371 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.081) 0:00:35.453 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.034) 0:00:35.487 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.036) 0:00:35.523 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:00:31 -0400 (0:00:00.048) 0:00:35.572 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:00:32 -0400 (0:00:00.622) 0:00:36.194 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:00:32 -0400 (0:00:00.089) 0:00:36.284 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:00:32 -0400 (0:00:00.036) 0:00:36.320 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:00:32 -0400 (0:00:00.036) 0:00:36.356 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:00:33 -0400 (0:00:00.672) 0:00:37.029 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:00:33 -0400 (0:00:00.037) 0:00:37.066 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:00:33 -0400 (0:00:00.038) 0:00:37.105 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:00:33 -0400 (0:00:00.040) 0:00:37.145 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:00:33 -0400 (0:00:00.037) 0:00:37.182 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:00:33 -0400 (0:00:00.414) 0:00:37.597 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.038) 0:00:37.636 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.066) 0:00:37.703 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.113) 0:00:37.816 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.073) 0:00:37.889 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.049) 0:00:37.939 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.042) 0:00:37.981 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:34 -0400 (0:00:00.040) 0:00:38.022 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:00:37 -0400 (0:00:02.755) 0:00:40.777 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.968) 0:00:41.746 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.038) 0:00:41.785 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.037) 0:00:41.823 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.034) 0:00:41.857 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.040) 0:00:41.897 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.091) 0:00:41.988 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.043) 0:00:42.031 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.052) 0:00:42.084 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.084) 0:00:42.168 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.034) 0:00:42.203 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.036) 0:00:42.240 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:00:38 -0400 (0:00:00.052) 0:00:42.292 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:00:39 -0400 (0:00:00.618) 0:00:42.911 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:00:39 -0400 (0:00:00.052) 0:00:42.963 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:00:39 -0400 (0:00:00.034) 0:00:42.998 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:00:39 -0400 (0:00:00.033) 0:00:43.032 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.587) 0:00:43.619 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.035) 0:00:43.655 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.037) 0:00:43.692 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa628d22-e30a-44eb-9e0d-1b8ed85432e5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.041) 0:00:43.734 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.073) 0:00:43.808 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.420) 0:00:44.228 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.074) 0:00:44.302 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:00:40 -0400 (0:00:00.061) 0:00:44.364 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722438033.2537775, "block_size": 4096, "blocks": 0, "ctime": 1722438033.2537775, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 54710, "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": 1722438033.2537775, "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 11:00:41 -0400 (0:00:00.402) 0:00:44.766 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 July 2024 11:00:41 -0400 (0:00:00.039) 0:00:44.806 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:00:41 -0400 (0:00:00.066) 0:00:44.872 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:00:41 -0400 (0:00:00.038) 0:00:44.911 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:00:41 -0400 (0:00:00.398) 0:00:45.309 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:00:41 -0400 (0:00:00.037) 0:00:45.347 ******** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022913", "end": "2024-07-31 11:00:42.085881", "rc": 0, "start": "2024-07-31 11:00:42.062968" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.423) 0:00:45.771 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.077) 0:00:45.849 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.039) 0:00:45.888 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.038) 0:00:45.926 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.039) 0:00:45.966 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.039) 0:00:46.006 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.044) 0:00:46.050 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.041) 0:00:46.092 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.041) 0:00:46.133 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.041) 0:00:46.175 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.039) 0:00:46.214 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:00:42 -0400 (0:00:00.068) 0:00:46.283 ******** 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.073894", "end": "2024-07-31 11:00:43.068935", "rc": 1, "start": "2024-07-31 11:00:42.995041" } STDOUT: Connection 'statebr' (aa628d22-e30a-44eb-9e0d-1b8ed85432e5) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.483) 0:00:46.766 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.105) 0:00:46.872 ******** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.039) 0:00:46.912 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.075) 0:00:46.988 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.062) 0:00:47.050 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.058) 0:00:47.109 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003857", "end": "2024-07-31 11:00:43.822910", "rc": 0, "start": "2024-07-31 11:00:43.819053" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.400) 0:00:47.509 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.041) 0:00:47.551 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:00:43 -0400 (0:00:00.037) 0:00:47.589 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:00:44 -0400 (0:00:00.069) 0:00:47.659 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:44 -0400 (0:00:00.081) 0:00:47.740 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:44 -0400 (0:00:00.108) 0:00:47.849 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:44 -0400 (0:00:00.050) 0:00:47.900 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:44 -0400 (0:00:00.042) 0:00:47.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 : Check which services are running] **** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:44 -0400 (0:00:00.041) 0:00:47.984 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:00:47 -0400 (0:00:02.671) 0:00:50.656 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.967) 0:00:51.623 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.040) 0:00:51.664 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.034) 0:00:51.699 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.033) 0:00:51.733 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.042) 0:00:51.775 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.053) 0:00:51.829 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.039) 0:00:51.868 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.136) 0:00:52.005 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.084) 0:00:52.089 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.037) 0:00:52.127 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.034) 0:00:52.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 : Enable and start NetworkManager] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:00:48 -0400 (0:00:00.055) 0:00:52.217 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:00:49 -0400 (0:00:00.617) 0:00:52.835 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:00:49 -0400 (0:00:00.055) 0:00:52.890 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:00:49 -0400 (0:00:00.034) 0:00:52.925 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:00:49 -0400 (0:00:00.036) 0:00:52.962 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.651) 0:00:53.613 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.037) 0:00:53.651 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.040) 0:00:53.691 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.043) 0:00:53.735 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.036) 0:00:53.771 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.453) 0:00:54.225 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.040) 0:00:54.266 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.081) 0:00:54.347 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.074) 0:00:54.421 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.052) 0:00:54.474 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.041) 0:00:54.516 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:50 -0400 (0:00:00.041) 0:00:54.557 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:00:53 -0400 (0:00:02.719) 0:00:57.277 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:00:54 -0400 (0:00:01.028) 0:00:58.306 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:00:54 -0400 (0:00:00.081) 0:00:58.388 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:00:54 -0400 (0:00:00.038) 0:00:58.427 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:00:54 -0400 (0:00:00.034) 0:00:58.461 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:00:54 -0400 (0:00:00.046) 0:00:58.508 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:00:54 -0400 (0:00:00.055) 0:00:58.563 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:00:54 -0400 (0:00:00.043) 0:00:58.607 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.050) 0:00:58.657 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.081) 0:00:58.738 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.037) 0:00:58.776 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.035) 0:00:58.811 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.052) 0:00:58.864 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.625) 0:00:59.490 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.051) 0:00:59.541 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:00:55 -0400 (0:00:00.035) 0:00:59.577 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:00:56 -0400 (0:00:00.036) 0:00:59.614 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:00:56 -0400 (0:00:00.666) 0:01:00.280 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:00:56 -0400 (0:00:00.037) 0:01:00.318 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:00:56 -0400 (0:00:00.042) 0:01:00.360 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f066884-991f-4311-aac7-9b32854e22b0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:00:56 -0400 (0:00:00.042) 0:01:00.403 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:00:56 -0400 (0:00:00.036) 0:01:00.439 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.415) 0:01:00.855 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.066) 0:01:00.922 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.081) 0:01:01.004 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.073) 0:01:01.077 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.051) 0:01:01.128 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.079) 0:01:01.208 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:00:57 -0400 (0:00:00.044) 0:01:01.252 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:00 -0400 (0:00:02.655) 0:01:03.908 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.961) 0:01:04.869 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.042) 0:01:04.911 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.039) 0:01:04.951 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.036) 0:01:04.988 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.043) 0:01:05.031 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.055) 0:01:05.087 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.044) 0:01:05.131 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.049) 0:01:05.181 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.084) 0:01:05.265 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.079) 0:01:05.345 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.038) 0:01:05.383 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:01 -0400 (0:00:00.052) 0:01:05.436 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:02 -0400 (0:00:00.619) 0:01:06.055 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:02 -0400 (0:00:00.057) 0:01:06.112 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:02 -0400 (0:00:00.039) 0:01:06.151 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:02 -0400 (0:00:00.036) 0:01:06.188 ******** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.621) 0:01:06.809 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.037) 0:01:06.847 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.043) 0:01:06.891 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.043) 0:01:06.934 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.038) 0:01:06.973 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.418) 0:01:07.391 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.120) 0:01:07.512 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:01:03 -0400 (0:00:00.063) 0:01:07.575 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722438049.8581753, "block_size": 4096, "blocks": 0, "ctime": 1722438049.8581753, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 54835, "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": 1722438049.8581753, "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 July 2024 11:01:04 -0400 (0:00:00.396) 0:01:07.972 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 11:01:04 -0400 (0:00:00.044) 0:01:08.016 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:01:04 -0400 (0:00:00.064) 0:01:08.081 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:01:04 -0400 (0:00:00.037) 0:01:08.118 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:01:04 -0400 (0:00:00.381) 0:01:08.500 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:01:04 -0400 (0:00:00.036) 0:01:08.537 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021030", "end": "2024-07-31 11:01:05.259123", "rc": 1, "start": "2024-07-31 11:01:05.238093" } 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.409) 0:01:08.946 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.036) 0:01:08.982 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.035) 0:01:09.018 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.038) 0:01:09.057 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.074) 0:01:09.131 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.037) 0:01:09.169 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.041) 0:01:09.210 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.039) 0:01:09.249 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.041) 0:01:09.291 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:01:05 -0400 (0:00:00.066) 0:01:09.358 ******** 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.070544", "end": "2024-07-31 11:01:06.132267", "rc": 1, "start": "2024-07-31 11:01:06.061723" } STDOUT: Connection 'statebr' (7f066884-991f-4311-aac7-9b32854e22b0) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.478) 0:01:09.836 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.063) 0:01:09.899 ******** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.040) 0:01:09.940 ******** 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": true, "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.073) 0:01:10.013 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.059) 0:01:10.073 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.098) 0:01:10.172 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003954", "end": "2024-07-31 11:01:06.886434", "rc": 0, "start": "2024-07-31 11:01:06.882480" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:01:06 -0400 (0:00:00.402) 0:01:10.575 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.039) 0:01:10.614 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.040) 0:01:10.655 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.074) 0:01:10.729 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.078) 0:01:10.807 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.072) 0:01:10.880 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.051) 0:01:10.931 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.041) 0:01:10.972 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:07 -0400 (0:00:00.043) 0:01:11.016 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:10 -0400 (0:00:02.757) 0:01:13.773 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:11 -0400 (0:00:01.051) 0:01:14.825 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.043) 0:01:14.869 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.035) 0:01:14.904 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.038) 0:01:14.942 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.046) 0:01:14.989 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.056) 0:01:15.046 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.044) 0:01:15.090 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.056) 0:01:15.146 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.088) 0:01:15.234 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.038) 0:01:15.273 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.035) 0:01:15.308 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:11 -0400 (0:00:00.056) 0:01:15.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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:12 -0400 (0:00:00.723) 0:01:16.088 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:12 -0400 (0:00:00.055) 0:01:16.144 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:12 -0400 (0:00:00.038) 0:01:16.182 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:12 -0400 (0:00:00.036) 0:01:16.219 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.651) 0:01:16.870 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.037) 0:01:16.908 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.040) 0:01:16.948 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.041) 0:01:16.989 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.038) 0:01:17.028 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.418) 0:01:17.447 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.043) 0:01:17.491 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:13 -0400 (0:00:00.080) 0:01:17.571 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:14 -0400 (0:00:00.120) 0:01:17.692 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:14 -0400 (0:00:00.052) 0:01:17.745 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:14 -0400 (0:00:00.044) 0:01:17.790 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:14 -0400 (0:00:00.042) 0:01:17.833 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:16 -0400 (0:00:02.741) 0:01:20.574 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:17 -0400 (0:00:00.970) 0:01:21.545 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:17 -0400 (0:00:00.042) 0:01:21.587 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.035) 0:01:21.622 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.034) 0:01:21.656 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.043) 0:01:21.700 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.056) 0:01:21.756 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.083) 0:01:21.839 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.053) 0:01:21.892 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.078) 0:01:21.971 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.037) 0:01:22.008 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.034) 0:01:22.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 : Enable and start NetworkManager] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:18 -0400 (0:00:00.051) 0:01:22.095 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.628) 0:01:22.723 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.054) 0:01:22.778 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.036) 0:01:22.814 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.037) 0:01:22.852 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.589) 0:01:23.441 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.036) 0:01:23.478 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.041) 0:01:23.519 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5a949c4d-7361-4df3-ab08-11cdb95f06fa skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.041) 0:01:23.561 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:19 -0400 (0:00:00.036) 0:01:23.597 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 31 July 2024 11:01:20 -0400 (0:00:00.465) 0:01:24.062 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:20 -0400 (0:00:00.079) 0:01:24.141 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:20 -0400 (0:00:00.073) 0:01:24.215 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:20 -0400 (0:00:00.048) 0:01:24.263 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:20 -0400 (0:00:00.041) 0:01:24.305 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:20 -0400 (0:00:00.041) 0:01:24.347 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:23 -0400 (0:00:02.767) 0:01:27.115 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.970) 0:01:28.086 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.042) 0:01:28.128 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.077) 0:01:28.207 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.040) 0:01:28.247 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.045) 0:01:28.292 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.053) 0:01:28.345 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.047) 0:01:28.393 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.052) 0:01:28.446 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.085) 0:01:28.532 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.036) 0:01:28.568 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:24 -0400 (0:00:00.039) 0:01:28.608 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:25 -0400 (0:00:00.052) 0:01:28.661 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:25 -0400 (0:00:00.617) 0:01:29.278 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:25 -0400 (0:00:00.051) 0:01:29.330 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:25 -0400 (0:00:00.033) 0:01:29.363 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:25 -0400 (0:00:00.036) 0:01:29.400 ******** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:26 -0400 (0:00:00.708) 0:01:30.109 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:26 -0400 (0:00:00.037) 0:01:30.146 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:26 -0400 (0:00:00.044) 0:01:30.191 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:26 -0400 (0:00:00.044) 0:01:30.235 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:26 -0400 (0:00:00.037) 0:01:30.273 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.422) 0:01:30.696 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.069) 0:01:30.766 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.080) 0:01:30.846 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.074) 0:01:30.921 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.052) 0:01:30.974 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.043) 0:01:31.017 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:27 -0400 (0:00:00.084) 0:01:31.102 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:30 -0400 (0:00:02.761) 0:01:33.863 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.973) 0:01:34.836 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.039) 0:01:34.876 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.035) 0:01:34.911 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.035) 0:01:34.947 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.045) 0:01:34.992 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.056) 0:01:35.048 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.046) 0:01:35.095 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.054) 0:01:35.149 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.082) 0:01:35.232 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.037) 0:01:35.269 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.078) 0:01:35.348 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:31 -0400 (0:00:00.054) 0:01:35.402 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:32 -0400 (0:00:00.620) 0:01:36.023 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:32 -0400 (0:00:00.053) 0:01:36.076 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:32 -0400 (0:00:00.037) 0:01:36.113 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:32 -0400 (0:00:00.036) 0:01:36.150 ******** 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.701) 0:01:36.852 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.037) 0:01:36.889 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.039) 0:01:36.929 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.039) 0:01:36.969 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.037) 0:01:37.006 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.417) 0:01:37.424 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.115) 0:01:37.540 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:01:33 -0400 (0:00:00.068) 0:01:37.608 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:01:34 -0400 (0:00:00.042) 0:01:37.651 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:01:34 -0400 (0:00:00.391) 0:01:38.043 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:01:34 -0400 (0:00:00.035) 0:01:38.079 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020539", "end": "2024-07-31 11:01:34.811782", "rc": 1, "start": "2024-07-31 11:01:34.791243" } 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:01:34 -0400 (0:00:00.421) 0:01:38.500 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:01:34 -0400 (0:00:00.038) 0:01:38.539 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:01:34 -0400 (0:00:00.038) 0:01:38.578 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.038) 0:01:38.616 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.037) 0:01:38.653 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.037) 0:01:38.691 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.043) 0:01:38.735 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.076) 0:01:38.811 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.106) 0:01:38.918 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.394) 0:01:39.312 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.043) 0:01:39.355 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.040) 0:01:39.396 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:01:35 -0400 (0:00:00.069) 0:01:39.465 ******** 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.044611", "end": "2024-07-31 11:01:36.219387", "rc": 1, "start": "2024-07-31 11:01:36.174776" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 31 July 2024 11:01:36 -0400 (0:00:00.438) 0:01:39.903 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 31 July 2024 11:01:36 -0400 (0:00:00.065) 0:01:39.969 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 31 July 2024 11:01:36 -0400 (0:00:00.039) 0:01:40.009 ******** 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": true, "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 31 July 2024 11:01:36 -0400 (0:00:00.077) 0:01:40.086 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 July 2024 11:01:36 -0400 (0:00:00.061) 0:01:40.148 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 July 2024 11:01:36 -0400 (0:00:00.096) 0:01:40.245 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003816", "end": "2024-07-31 11:01:36.960802", "rc": 0, "start": "2024-07-31 11:01:36.956986" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.400) 0:01:40.646 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.041) 0:01:40.687 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.040) 0:01:40.727 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.070) 0:01:40.798 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.079) 0:01:40.877 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.072) 0:01:40.950 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.049) 0:01:41.000 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.042) 0:01:41.042 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:37 -0400 (0:00:00.040) 0:01:41.083 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:40 -0400 (0:00:02.807) 0:01:43.890 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:41 -0400 (0:00:01.002) 0:01:44.893 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.040) 0:01:44.934 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.037) 0:01:44.972 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.036) 0:01:45.008 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.044) 0:01:45.053 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.057) 0:01:45.111 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.047) 0:01:45.158 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.053) 0:01:45.211 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.086) 0:01:45.298 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.039) 0:01:45.337 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.036) 0:01:45.374 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:41 -0400 (0:00:00.052) 0:01:45.427 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:42 -0400 (0:00:00.744) 0:01:46.171 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:42 -0400 (0:00:00.054) 0:01:46.225 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:42 -0400 (0:00:00.039) 0:01:46.265 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:42 -0400 (0:00:00.036) 0:01:46.301 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:43 -0400 (0:00:00.678) 0:01:46.980 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:43 -0400 (0:00:00.039) 0:01:47.019 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:43 -0400 (0:00:00.041) 0:01:47.061 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:43 -0400 (0:00:00.043) 0:01:47.105 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:43 -0400 (0:00:00.039) 0:01:47.145 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 31 July 2024 11:01:43 -0400 (0:00:00.456) 0:01:47.602 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 31 July 2024 11:01:44 -0400 (0:00:00.040) 0:01:47.642 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:44 -0400 (0:00:00.077) 0:01:47.719 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:44 -0400 (0:00:00.113) 0:01:47.833 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:44 -0400 (0:00:00.052) 0:01:47.886 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:44 -0400 (0:00:00.046) 0:01:47.932 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:44 -0400 (0:00:00.041) 0:01:47.974 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:47 -0400 (0:00:02.768) 0:01:50.742 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.981) 0:01:51.724 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.040) 0:01:51.764 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.035) 0:01:51.800 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.037) 0:01:51.838 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.042) 0:01:51.881 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.053) 0:01:51.934 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.083) 0:01:52.018 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.053) 0:01:52.072 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.081) 0:01:52.153 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.036) 0:01:52.190 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.035) 0:01:52.226 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:48 -0400 (0:00:00.053) 0:01:52.280 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:49 -0400 (0:00:00.634) 0:01:52.914 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:49 -0400 (0:00:00.056) 0:01:52.970 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:49 -0400 (0:00:00.036) 0:01:53.007 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:49 -0400 (0:00:00.037) 0:01:53.045 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.596) 0:01:53.641 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.038) 0:01:53.679 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.039) 0:01:53.719 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bd9096c-9351-4c30-bc84-bb40c8da4101 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.043) 0:01:53.762 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.035) 0:01:53.798 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.453) 0:01:54.251 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.082) 0:01:54.334 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.072) 0:01:54.406 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.050) 0:01:54.457 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.041) 0:01:54.498 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:50 -0400 (0:00:00.041) 0:01:54.539 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:01:53 -0400 (0:00:02.752) 0:01:57.292 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.975) 0:01:58.267 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.082) 0:01:58.350 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.035) 0:01:58.385 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.037) 0:01:58.422 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.040) 0:01:58.463 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.051) 0:01:58.515 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.041) 0:01:58.556 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:01:54 -0400 (0:00:00.053) 0:01:58.610 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.080) 0:01:58.691 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.037) 0:01:58.728 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.033) 0:01:58.761 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.055) 0:01:58.816 ******** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.623) 0:01:59.440 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.051) 0:01:59.491 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.034) 0:01:59.525 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:01:55 -0400 (0:00:00.035) 0:01:59.561 ******** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:01:56 -0400 (0:00:00.814) 0:02:00.376 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:01:56 -0400 (0:00:00.041) 0:02:00.417 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:01:56 -0400 (0:00:00.042) 0:02:00.460 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:01:56 -0400 (0:00:00.043) 0:02:00.503 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:01:56 -0400 (0:00:00.041) 0:02:00.545 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.417) 0:02:00.962 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.068) 0:02:01.031 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.087) 0:02:01.119 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.076) 0:02:01.195 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.054) 0:02:01.249 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.086) 0:02:01.336 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:01:57 -0400 (0:00:00.045) 0:02:01.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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:02:00 -0400 (0:00:02.766) 0:02:04.148 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.990) 0:02:05.138 ******** ok: [managed_node1] => {} MSG: Using network provider: nm 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.041) 0:02:05.180 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.039) 0:02:05.220 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.037) 0:02:05.257 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.044) 0:02:05.302 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.056) 0:02:05.358 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.045) 0:02:05.403 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.051) 0:02:05.455 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:02:01 -0400 (0:00:00.083) 0:02:05.539 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.084) 0:02:05.623 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.037) 0:02:05.661 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.050) 0:02:05.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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.630) 0:02:06.342 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.055) 0:02:06.397 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.036) 0:02:06.433 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:02:02 -0400 (0:00:00.037) 0:02:06.471 ******** 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:02:03 -0400 (0:00:00.619) 0:02:07.090 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:02:03 -0400 (0:00:00.039) 0:02:07.130 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:02:03 -0400 (0:00:00.043) 0:02:07.173 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:02:03 -0400 (0:00:00.041) 0:02:07.215 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:02:03 -0400 (0:00:00.039) 0:02:07.254 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 31 July 2024 11:02:04 -0400 (0:00:00.424) 0:02:07.679 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 31 July 2024 11:02:04 -0400 (0:00:00.124) 0:02:07.803 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 July 2024 11:02:04 -0400 (0:00:00.067) 0:02:07.871 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 July 2024 11:02:04 -0400 (0:00:00.040) 0:02:07.911 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 July 2024 11:02:04 -0400 (0:00:00.401) 0:02:08.313 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 July 2024 11:02:04 -0400 (0:00:00.036) 0:02:08.350 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020316", "end": "2024-07-31 11:02:05.086514", "rc": 1, "start": "2024-07-31 11:02:05.066198" } 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.425) 0:02:08.775 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.038) 0:02:08.813 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.040) 0:02:08.854 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.036) 0:02:08.891 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.036) 0:02:08.927 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.034) 0:02:08.962 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 31 July 2024 11:02:05 -0400 (0:00:00.039) 0:02:09.002 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.338519", "end": "2024-07-31 11:02:06.055103", "rc": 0, "start": "2024-07-31 11:02:05.716584" } STDOUT: NetworkManager-1.46.2-1.fc40 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.739) 0:02:09.741 ******** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.085) 0:02:09.827 ******** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.46.2-1.fc40" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.039) 0:02:09.866 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.080) 0:02:09.947 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.060) 0:02:10.007 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.403) 0:02:10.411 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.041) 0:02:10.452 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.038) 0:02:10.491 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 31 July 2024 11:02:06 -0400 (0:00:00.074) 0:02:10.565 ******** 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.042706", "end": "2024-07-31 11:02:07.324129", "rc": 1, "start": "2024-07-31 11:02:07.281423" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 31 July 2024 11:02:07 -0400 (0:00:00.447) 0:02:11.013 ******** 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.009846", "end": "2024-07-31 11:02:07.734778", "rc": 0, "start": "2024-07-31 11:02:07.724932" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:fc:c8:8a:07 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.102/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2641sec preferred_lft 2641sec inet6 fe80::8ff:fcff:fec8:8a07/64 scope link noprefixroute valid_lft forever preferred_lft forever 59: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 96:7c:7f:c1:92:52 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.102 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.102 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 31 July 2024 11:02:07 -0400 (0:00:00.410) 0:02:11.423 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=11 Wednesday 31 July 2024 11:02:07 -0400 (0:00:00.152) 0:02:11.576 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.85s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.81s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.77s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.77s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.77s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.76s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.76s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.76s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.75s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.74s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.74s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.72s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.71s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.67s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.67s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 2.66s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.52s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 2.07s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26