# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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 /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_states_nm.yml:6 Thursday 14 March 2024 21:27:15 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_states_nm.yml:9 Thursday 14 March 2024 21:27:16 +0000 (0:00:00.983) 0:00:00.996 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:3 Thursday 14 March 2024 21:27:16 +0000 (0:00:00.012) 0:00:01.008 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:17 Thursday 14 March 2024 21:27:16 +0000 (0:00:00.367) 0:00:01.375 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:22 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.267) 0:00:01.643 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:26 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.014) 0:00:01.657 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/el_repo_setup.yml:51 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.008) 0:00:01.666 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:8 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.021) 0:00:01.687 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:24 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.008) 0:00:01.696 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:30 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.007) 0:00:01.703 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:35 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.007) 0:00:01.711 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tasks/enable_epel.yml:40 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.007) 0:00:01.718 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_states_nm.yml:11 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.007) 0:00:01.726 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:3 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.015) 0:00:01.741 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:11 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.735) 0:00:02.477 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:22 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.015) 0:00:02.492 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.015) 0:00:02.507 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.012) 0:00:02.520 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:27:17 +0000 (0:00:00.033) 0:00:02.554 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.013) 0:00:02.567 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.012) 0:00:02.580 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003771", "end": "2024-03-14 21:27:18.278806", "rc": 0, "start": "2024-03-14 21:27:18.275035" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.277) 0:00:02.858 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.011) 0:00:02.869 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.010) 0:00:02.879 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.016) 0:00:02.895 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008015", "end": "2024-03-14 21:27:18.533960", "rc": 1, "start": "2024-03-14 21:27:18.525945" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.215) 0:00:03.111 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.013) 0:00:03.124 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.212) 0:00:03.337 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.012) 0:00:03.349 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.016) 0:00:03.365 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.026) 0:00:03.391 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.021) 0:00:03.413 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.020) 0:00:03.433 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.014) 0:00:03.448 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:18 +0000 (0:00:00.012) 0:00:03.461 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:21 +0000 (0:00:02.446) 0:00:05.908 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:27:22 +0000 (0:00:01.049) 0:00:06.957 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.028) 0:00:06.986 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.027) 0:00:07.013 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.023) 0:00:07.037 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.037) 0:00:07.074 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.031) 0:00:07.105 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.036) 0:00:07.142 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.131) 0:00:07.274 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.035) 0:00:07.309 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.024) 0:00:07.334 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:27:22 +0000 (0:00:00.045) 0:00:07.379 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:27:23 +0000 (0:00:00.606) 0:00:07.986 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:27:23 +0000 (0:00:00.036) 0:00:08.022 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:27:23 +0000 (0:00:00.020) 0:00:08.042 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:27:23 +0000 (0:00:00.020) 0:00:08.063 ******** changed: [sut] => { "_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, 42264556-e843-4d87-b738-6dc1b1eca4de TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.573) 0:00:08.636 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.024) 0:00:08.661 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42264556-e843-4d87-b738-6dc1b1eca4de" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.025) 0:00:08.686 ******** ok: [sut] => { "__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, 42264556-e843-4d87-b738-6dc1b1eca4de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42264556-e843-4d87-b738-6dc1b1eca4de" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.027) 0:00:08.714 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.023) 0:00:08.738 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.321) 0:00:09.059 ******** ok: [sut] => { "__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, 42264556-e843-4d87-b738-6dc1b1eca4de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 42264556-e843-4d87-b738-6dc1b1eca4de" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.023) 0:00:09.083 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.074) 0:00:09.157 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.036) 0:00:09.193 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.022) 0:00:09.215 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.238) 0:00:09.454 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:27:24 +0000 (0:00:00.027) 0:00:09.482 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023534", "end": "2024-03-14 21:27:25.137019", "rc": 0, "start": "2024-03-14 21:27:25.113485" } 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.265) 0:00:09.747 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.031) 0:00:09.779 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.035) 0:00:09.814 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.024) 0:00:09.839 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.030) 0:00:09.869 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.020) 0:00:09.890 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.024) 0:00:09.915 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.024) 0:00:09.939 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.025) 0:00:09.964 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml for sut => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.082) 0:00:10.046 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.047) 0:00:10.094 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710451643.9839637, "block_size": 4096, "blocks": 0, "ctime": 1710451643.9839637, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36320, "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": 1710451643.9839637, "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.230) 0:00:10.324 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.028) 0:00:10.353 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.022) 0:00:10.376 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:27:25 +0000 (0:00:00.038) 0:00:10.415 ******** fatal: [sut]: 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.066648", "end": "2024-03-14 21:27:26.122751", "rc": 1, "start": "2024-03-14 21:27:26.056103" } STDOUT: Connection 'statebr' (42264556-e843-4d87-b738-6dc1b1eca4de) 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:45 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.298) 0:00:10.713 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.035) 0:00:10.748 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.022) 0:00:10.771 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.040) 0:00:10.811 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.033) 0:00:10.844 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.058) 0:00:10.903 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003814", "end": "2024-03-14 21:27:26.537841", "rc": 0, "start": "2024-03-14 21:27:26.534027" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.224) 0:00:11.127 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.023) 0:00:11.151 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.024) 0:00:11.176 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.046) 0:00:11.222 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006855", "end": "2024-03-14 21:27:26.861557", "rc": 1, "start": "2024-03-14 21:27:26.854702" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.229) 0:00:11.451 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:27:26 +0000 (0:00:00.036) 0:00:11.487 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.239) 0:00:11.727 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.024) 0:00:11.752 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.038) 0:00:11.790 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.042) 0:00:11.833 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.067) 0:00:11.901 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.043) 0:00:11.945 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.036) 0:00:11.981 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:27 +0000 (0:00:00.086) 0:00:12.068 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:29 +0000 (0:00:02.386) 0:00:14.454 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.780) 0:00:15.234 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.024) 0:00:15.259 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.024) 0:00:15.283 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.023) 0:00:15.306 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.038) 0:00:15.345 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.029) 0:00:15.375 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.035) 0:00:15.410 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.058) 0:00:15.469 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.057) 0:00:15.527 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:27:30 +0000 (0:00:00.024) 0:00:15.552 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.035) 0:00:15.588 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.417) 0:00:16.005 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.037) 0:00:16.042 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.021) 0:00:16.063 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.021) 0:00:16.085 ******** changed: [sut] => { "_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, 99b3dd0d-710d-4961-9bce-a1beb83de372 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.402) 0:00:16.487 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.030) 0:00:16.517 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 99b3dd0d-710d-4961-9bce-a1beb83de372" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:27:31 +0000 (0:00:00.026) 0:00:16.544 ******** ok: [sut] => { "__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, 99b3dd0d-710d-4961-9bce-a1beb83de372\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 99b3dd0d-710d-4961-9bce-a1beb83de372" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.025) 0:00:16.569 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.026) 0:00:16.595 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.242) 0:00:16.837 ******** ok: [sut] => { "__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, 99b3dd0d-710d-4961-9bce-a1beb83de372\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 99b3dd0d-710d-4961-9bce-a1beb83de372" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.043) 0:00:16.881 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.050) 0:00:16.932 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.080) 0:00:17.013 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.250) 0:00:17.263 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.029) 0:00:17.293 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.035) 0:00:17.329 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:27:32 +0000 (0:00:00.021) 0:00:17.351 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.219) 0:00:17.570 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.020) 0:00:17.591 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022803", "end": "2024-03-14 21:27:33.250860", "rc": 0, "start": "2024-03-14 21:27:33.228057" } 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.261) 0:00:17.853 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.027) 0:00:17.880 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.025) 0:00:17.905 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.024) 0:00:17.930 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.021) 0:00:17.951 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.021) 0:00:17.973 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.024) 0:00:17.998 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.056) 0:00:18.054 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.023) 0:00:18.078 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.031) 0:00:18.110 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.024) 0:00:18.135 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.039) 0:00:18.174 ******** fatal: [sut]: 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.045884", "end": "2024-03-14 21:27:33.919601", "rc": 1, "start": "2024-03-14 21:27:33.873717" } STDOUT: Connection 'statebr' (99b3dd0d-710d-4961-9bce-a1beb83de372) 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:65 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.334) 0:00:18.509 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:27:33 +0000 (0:00:00.040) 0:00:18.549 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.022) 0:00:18.571 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.040) 0:00:18.612 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.033) 0:00:18.645 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.031) 0:00:18.677 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-03-14 21:27:34.311895", "rc": 0, "start": "2024-03-14 21:27:34.308100" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.223) 0:00:18.900 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.060) 0:00:18.960 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.022) 0:00:18.983 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.036) 0:00:19.020 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.043) 0:00:19.063 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.040) 0:00:19.104 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.035) 0:00:19.140 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.032) 0:00:19.173 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:34 +0000 (0:00:00.026) 0:00:19.199 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:37 +0000 (0:00:02.391) 0:00:21.590 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:27:37 +0000 (0:00:00.788) 0:00:22.378 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:27:37 +0000 (0:00:00.061) 0:00:22.440 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:27:37 +0000 (0:00:00.024) 0:00:22.464 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:27:37 +0000 (0:00:00.024) 0:00:22.489 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:27:37 +0000 (0:00:00.044) 0:00:22.533 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.030) 0:00:22.564 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.038) 0:00:22.603 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.054) 0:00:22.658 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.024) 0:00:22.682 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.024) 0:00:22.706 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.035) 0:00:22.742 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.416) 0:00:23.158 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.040) 0:00:23.198 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.023) 0:00:23.221 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:27:38 +0000 (0:00:00.022) 0:00:23.244 ******** changed: [sut] => { "_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, 46dc1079-90a0-4360-a96a-bd58600dec4b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.447) 0:00:23.691 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.026) 0:00:23.717 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46dc1079-90a0-4360-a96a-bd58600dec4b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.030) 0:00:23.748 ******** ok: [sut] => { "__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, 46dc1079-90a0-4360-a96a-bd58600dec4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46dc1079-90a0-4360-a96a-bd58600dec4b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.064) 0:00:23.813 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.027) 0:00:23.841 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.248) 0:00:24.089 ******** ok: [sut] => { "__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, 46dc1079-90a0-4360-a96a-bd58600dec4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46dc1079-90a0-4360-a96a-bd58600dec4b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.025) 0:00:24.115 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.039) 0:00:24.155 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.044) 0:00:24.199 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.042) 0:00:24.241 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.039) 0:00:24.280 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.047) 0:00:24.328 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:39 +0000 (0:00:00.029) 0:00:24.358 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:42 +0000 (0:00:02.343) 0:00:26.701 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:27:42 +0000 (0:00:00.846) 0:00:27.547 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.024) 0:00:27.572 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.024) 0:00:27.596 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.023) 0:00:27.620 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.039) 0:00:27.659 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.030) 0:00:27.690 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.055) 0:00:27.745 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.058) 0:00:27.804 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.024) 0:00:27.829 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.024) 0:00:27.853 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.038) 0:00:27.892 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.424) 0:00:28.317 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.051) 0:00:28.369 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.023) 0:00:28.392 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:27:43 +0000 (0:00:00.141) 0:00:28.534 ******** ok: [sut] => { "_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, 46dc1079-90a0-4360-a96a-bd58600dec4b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.387) 0:00:28.921 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.025) 0:00:28.947 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46dc1079-90a0-4360-a96a-bd58600dec4b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.025) 0:00:28.972 ******** ok: [sut] => { "__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, 46dc1079-90a0-4360-a96a-bd58600dec4b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46dc1079-90a0-4360-a96a-bd58600dec4b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.024) 0:00:28.996 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.024) 0:00:29.020 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.229) 0:00:29.250 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.042) 0:00:29.293 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.035) 0:00:29.328 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710451659.0433202, "block_size": 4096, "blocks": 0, "ctime": 1710451659.0433202, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36451, "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": 1710451659.0433202, "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:27:44 +0000 (0:00:00.219) 0:00:29.548 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.022) 0:00:29.570 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.034) 0:00:29.604 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.021) 0:00:29.626 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.276) 0:00:29.903 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.031) 0:00:29.934 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023310", "end": "2024-03-14 21:27:45.589685", "rc": 0, "start": "2024-03-14 21:27:45.566375" } 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.244) 0:00:30.179 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.023) 0:00:30.203 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.021) 0:00:30.225 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.020) 0:00:30.246 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.020) 0:00:30.266 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.021) 0:00:30.288 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.023) 0:00:30.311 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.024) 0:00:30.336 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.023) 0:00:30.359 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.029) 0:00:30.388 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.023) 0:00:30.411 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:27:45 +0000 (0:00:00.040) 0:00:30.451 ******** fatal: [sut]: 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.070433", "end": "2024-03-14 21:27:46.160600", "rc": 1, "start": "2024-03-14 21:27:46.090167" } STDOUT: Connection 'statebr' (46dc1079-90a0-4360-a96a-bd58600dec4b) 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:83 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.296) 0:00:30.748 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.067) 0:00:30.815 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.022) 0:00:30.838 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.041) 0:00:30.879 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.037) 0:00:30.916 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.034) 0:00:30.950 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003754", "end": "2024-03-14 21:27:46.586283", "rc": 0, "start": "2024-03-14 21:27:46.582529" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.227) 0:00:31.178 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.036) 0:00:31.214 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.027) 0:00:31.242 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.042) 0:00:31.284 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.059) 0:00:31.343 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.093) 0:00:31.437 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.036) 0:00:31.473 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.027) 0:00:31.501 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:46 +0000 (0:00:00.024) 0:00:31.525 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:49 +0000 (0:00:02.327) 0:00:33.853 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.783) 0:00:34.637 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.024) 0:00:34.661 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.025) 0:00:34.687 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.026) 0:00:34.713 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.045) 0:00:34.759 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.039) 0:00:34.798 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.039) 0:00:34.838 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.063) 0:00:34.902 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.026) 0:00:34.928 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.104) 0:00:35.032 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.036) 0:00:35.069 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.417) 0:00:35.486 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.035) 0:00:35.522 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:27:50 +0000 (0:00:00.021) 0:00:35.543 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.020) 0:00:35.564 ******** changed: [sut] => { "_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, 7667ac2d-f989-4f00-8bbf-74cc747c6cff TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.433) 0:00:35.998 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.025) 0:00:36.023 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7667ac2d-f989-4f00-8bbf-74cc747c6cff" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.025) 0:00:36.049 ******** ok: [sut] => { "__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, 7667ac2d-f989-4f00-8bbf-74cc747c6cff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7667ac2d-f989-4f00-8bbf-74cc747c6cff" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.024) 0:00:36.073 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.024) 0:00:36.097 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.225) 0:00:36.323 ******** ok: [sut] => { "__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, 7667ac2d-f989-4f00-8bbf-74cc747c6cff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7667ac2d-f989-4f00-8bbf-74cc747c6cff" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.024) 0:00:36.347 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.043) 0:00:36.391 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.073) 0:00:36.464 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.034) 0:00:36.499 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.024) 0:00:36.524 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:51 +0000 (0:00:00.024) 0:00:36.548 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:54 +0000 (0:00:02.361) 0:00:38.910 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.794) 0:00:39.705 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.027) 0:00:39.733 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.032) 0:00:39.765 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.024) 0:00:39.790 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.038) 0:00:39.828 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.033) 0:00:39.861 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.035) 0:00:39.897 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.094) 0:00:39.992 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.024) 0:00:40.017 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.026) 0:00:40.043 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.036) 0:00:40.079 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.416) 0:00:40.496 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:27:55 +0000 (0:00:00.039) 0:00:40.535 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.022) 0:00:40.558 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.024) 0:00:40.582 ******** ok: [sut] => { "_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, 7667ac2d-f989-4f00-8bbf-74cc747c6cff skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.421) 0:00:41.003 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.027) 0:00:41.031 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7667ac2d-f989-4f00-8bbf-74cc747c6cff skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.033) 0:00:41.064 ******** ok: [sut] => { "__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, 7667ac2d-f989-4f00-8bbf-74cc747c6cff skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7667ac2d-f989-4f00-8bbf-74cc747c6cff skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.037) 0:00:41.101 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.029) 0:00:41.131 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.238) 0:00:41.370 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.091) 0:00:41.462 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:27:56 +0000 (0:00:00.048) 0:00:41.511 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:27:57 +0000 (0:00:00.049) 0:00:41.560 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:27:57 +0000 (0:00:00.036) 0:00:41.597 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:27:57 +0000 (0:00:00.027) 0:00:41.624 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:27:57 +0000 (0:00:00.025) 0:00:41.650 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:27:59 +0000 (0:00:02.340) 0:00:43.990 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.827) 0:00:44.818 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.054) 0:00:44.872 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.042) 0:00:44.915 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.036) 0:00:44.952 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.200) 0:00:45.152 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.059) 0:00:45.212 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.049) 0:00:45.262 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.076) 0:00:45.338 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.069) 0:00:45.407 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:00 +0000 (0:00:00.094) 0:00:45.502 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.066) 0:00:45.568 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.425) 0:00:45.994 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.038) 0:00:46.032 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.021) 0:00:46.054 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.023) 0:00:46.077 ******** changed: [sut] => { "_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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.439) 0:00:46.517 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:01 +0000 (0:00:00.026) 0:00:46.543 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.024) 0:00:46.568 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.025) 0:00:46.594 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.025) 0:00:46.619 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.277) 0:00:46.897 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.043) 0:00:46.940 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.043) 0:00:46.984 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710451671.3569033, "block_size": 4096, "blocks": 0, "ctime": 1710451671.3569033, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36582, "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": 1710451671.3569033, "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.228) 0:00:47.212 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.029) 0:00:47.241 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.040) 0:00:47.282 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.023) 0:00:47.305 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.229) 0:00:47.534 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:28:02 +0000 (0:00:00.020) 0:00:47.554 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023112", "end": "2024-03-14 21:28:03.211001", "rc": 1, "start": "2024-03-14 21:28:03.187889" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.246) 0:00:47.801 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.023) 0:00:47.825 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.024) 0:00:47.849 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.023) 0:00:47.873 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.066) 0:00:47.939 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.022) 0:00:47.962 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.025) 0:00:47.987 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.030) 0:00:48.018 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.022) 0:00:48.041 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.040) 0:00:48.081 ******** fatal: [sut]: 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.071722", "end": "2024-03-14 21:28:03.784870", "rc": 1, "start": "2024-03-14 21:28:03.713148" } STDOUT: Connection 'statebr' (7667ac2d-f989-4f00-8bbf-74cc747c6cff) 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:102 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.301) 0:00:48.383 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.036) 0:00:48.420 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.024) 0:00:48.444 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.048) 0:00:48.493 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:28:03 +0000 (0:00:00.037) 0:00:48.530 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.039) 0:00:48.570 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003962", "end": "2024-03-14 21:28:04.211081", "rc": 0, "start": "2024-03-14 21:28:04.207119" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.291) 0:00:48.861 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.026) 0:00:48.887 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.030) 0:00:48.917 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.045) 0:00:48.963 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.057) 0:00:49.020 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.051) 0:00:49.071 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.054) 0:00:49.126 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.025) 0:00:49.151 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:04 +0000 (0:00:00.024) 0:00:49.176 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:06 +0000 (0:00:02.370) 0:00:51.546 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:07 +0000 (0:00:00.889) 0:00:52.436 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:07 +0000 (0:00:00.032) 0:00:52.468 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:07 +0000 (0:00:00.028) 0:00:52.497 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:07 +0000 (0:00:00.029) 0:00:52.526 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.064) 0:00:52.590 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.032) 0:00:52.623 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.059) 0:00:52.682 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.059) 0:00:52.742 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.032) 0:00:52.775 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.026) 0:00:52.801 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.039) 0:00:52.840 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.430) 0:00:53.270 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.041) 0:00:53.312 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.022) 0:00:53.334 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:08 +0000 (0:00:00.022) 0:00:53.357 ******** changed: [sut] => { "_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, 564e018e-f1ef-430e-9755-87e156f8cd01 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.490) 0:00:53.847 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.024) 0:00:53.872 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 564e018e-f1ef-430e-9755-87e156f8cd01" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.070) 0:00:53.943 ******** ok: [sut] => { "__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, 564e018e-f1ef-430e-9755-87e156f8cd01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 564e018e-f1ef-430e-9755-87e156f8cd01" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.025) 0:00:53.968 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.024) 0:00:53.992 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.234) 0:00:54.227 ******** ok: [sut] => { "__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, 564e018e-f1ef-430e-9755-87e156f8cd01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 564e018e-f1ef-430e-9755-87e156f8cd01" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.025) 0:00:54.253 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.045) 0:00:54.298 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.041) 0:00:54.340 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.035) 0:00:54.375 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.025) 0:00:54.401 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:09 +0000 (0:00:00.028) 0:00:54.429 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:12 +0000 (0:00:02.376) 0:00:56.806 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.943) 0:00:57.750 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.034) 0:00:57.784 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.029) 0:00:57.813 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.025) 0:00:57.839 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.067) 0:00:57.907 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.039) 0:00:57.946 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.037) 0:00:57.984 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.099) 0:00:58.084 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.036) 0:00:58.120 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.029) 0:00:58.150 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:13 +0000 (0:00:00.052) 0:00:58.203 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.441) 0:00:58.644 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.038) 0:00:58.683 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.020) 0:00:58.704 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.023) 0:00:58.727 ******** ok: [sut] => { "_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, 564e018e-f1ef-430e-9755-87e156f8cd01 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.507) 0:00:59.235 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.254) 0:00:59.489 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 564e018e-f1ef-430e-9755-87e156f8cd01 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:14 +0000 (0:00:00.035) 0:00:59.524 ******** ok: [sut] => { "__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, 564e018e-f1ef-430e-9755-87e156f8cd01 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 564e018e-f1ef-430e-9755-87e156f8cd01 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.087) 0:00:59.611 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.077) 0:00:59.688 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.260) 0:00:59.949 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.054) 0:01:00.004 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.049) 0:01:00.053 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.038) 0:01:00.091 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.029) 0:01:00.121 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:15 +0000 (0:00:00.024) 0:01:00.146 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:17 +0000 (0:00:02.402) 0:01:02.548 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:18 +0000 (0:00:00.939) 0:01:03.487 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:18 +0000 (0:00:00.025) 0:01:03.513 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:18 +0000 (0:00:00.032) 0:01:03.545 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.027) 0:01:03.573 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.067) 0:01:03.641 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.032) 0:01:03.673 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.038) 0:01:03.712 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.055) 0:01:03.768 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.029) 0:01:03.797 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.029) 0:01:03.827 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.035) 0:01:03.863 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.426) 0:01:04.289 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.044) 0:01:04.333 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.021) 0:01:04.354 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:19 +0000 (0:00:00.022) 0:01:04.377 ******** changed: [sut] => { "_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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.593) 0:01:04.970 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.025) 0:01:04.996 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.027) 0:01:05.023 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.026) 0:01:05.049 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.025) 0:01:05.075 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.269) 0:01:05.344 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.062) 0:01:05.407 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.058) 0:01:05.465 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.042) 0:01:05.508 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:20 +0000 (0:00:00.037) 0:01:05.546 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:21 +0000 (0:00:00.025) 0:01:05.572 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:21 +0000 (0:00:00.027) 0:01:05.599 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:23 +0000 (0:00:02.476) 0:01:08.076 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.810) 0:01:08.887 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.029) 0:01:08.916 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.034) 0:01:08.951 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.063) 0:01:09.014 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.067) 0:01:09.082 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.041) 0:01:09.124 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.065) 0:01:09.189 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.062) 0:01:09.252 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.054) 0:01:09.307 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.033) 0:01:09.341 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:24 +0000 (0:00:00.057) 0:01:09.398 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.442) 0:01:09.841 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.035) 0:01:09.876 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.065) 0:01:09.941 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.022) 0:01:09.964 ******** changed: [sut] => { "_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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.498) 0:01:10.462 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.041) 0:01:10.503 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:25 +0000 (0:00:00.035) 0:01:10.539 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.036) 0:01:10.576 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.027) 0:01:10.603 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.285) 0:01:10.888 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.042) 0:01:10.931 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.036) 0:01:10.967 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.030) 0:01:10.998 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.239) 0:01:11.237 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.021) 0:01:11.258 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021772", "end": "2024-03-14 21:28:26.911292", "rc": 1, "start": "2024-03-14 21:28:26.889520" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:28:26 +0000 (0:00:00.281) 0:01:11.540 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.022) 0:01:11.562 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.022) 0:01:11.585 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.022) 0:01:11.608 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.021) 0:01:11.629 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.022) 0:01:11.651 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.025) 0:01:11.677 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.049) 0:01:11.726 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.035) 0:01:11.761 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.219) 0:01:11.981 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.026) 0:01:12.008 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.024) 0:01:12.032 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.040) 0:01:12.073 ******** fatal: [sut]: 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.043410", "end": "2024-03-14 21:28:27.746409", "rc": 1, "start": "2024-03-14 21:28:27.702999" } 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tests_states.yml:124 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.314) 0:01:12.387 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.037) 0:01:12.425 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.025) 0:01:12.450 ******** ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.040) 0:01:12.491 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:28:27 +0000 (0:00:00.034) 0:01:12.525 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.034) 0:01:12.560 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003763", "end": "2024-03-14 21:28:28.194246", "rc": 0, "start": "2024-03-14 21:28:28.190483" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.231) 0:01:12.791 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.024) 0:01:12.816 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.035) 0:01:12.851 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.045) 0:01:12.897 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.065) 0:01:12.962 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.110) 0:01:13.073 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.041) 0:01:13.115 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.029) 0:01:13.144 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:28 +0000 (0:00:00.029) 0:01:13.174 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:31 +0000 (0:00:02.457) 0:01:15.631 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:31 +0000 (0:00:00.804) 0:01:16.436 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:31 +0000 (0:00:00.076) 0:01:16.512 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.104) 0:01:16.617 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.056) 0:01:16.674 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.064) 0:01:16.738 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.080) 0:01:16.819 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.070) 0:01:16.889 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.080) 0:01:16.970 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.139) 0:01:17.109 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.059) 0:01:17.169 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:32 +0000 (0:00:00.078) 0:01:17.248 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.522) 0:01:17.771 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.045) 0:01:17.817 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.032) 0:01:17.849 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.036) 0:01:17.886 ******** changed: [sut] => { "_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, a206d977-dc0a-44d3-885a-07c660c833cc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.475) 0:01:18.362 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.038) 0:01:18.400 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a206d977-dc0a-44d3-885a-07c660c833cc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.026) 0:01:18.427 ******** ok: [sut] => { "__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, a206d977-dc0a-44d3-885a-07c660c833cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a206d977-dc0a-44d3-885a-07c660c833cc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.026) 0:01:18.454 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:33 +0000 (0:00:00.025) 0:01:18.479 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.232) 0:01:18.711 ******** ok: [sut] => { "__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, a206d977-dc0a-44d3-885a-07c660c833cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a206d977-dc0a-44d3-885a-07c660c833cc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.024) 0:01:18.736 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.117) 0:01:18.854 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.055) 0:01:18.909 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.041) 0:01:18.950 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.029) 0:01:18.980 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:34 +0000 (0:00:00.029) 0:01:19.009 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:36 +0000 (0:00:02.374) 0:01:21.384 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:37 +0000 (0:00:00.806) 0:01:22.190 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:37 +0000 (0:00:00.051) 0:01:22.242 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:37 +0000 (0:00:00.040) 0:01:22.282 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:37 +0000 (0:00:00.059) 0:01:22.342 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:37 +0000 (0:00:00.074) 0:01:22.416 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:37 +0000 (0:00:00.093) 0:01:22.510 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.107) 0:01:22.617 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.070) 0:01:22.687 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.032) 0:01:22.719 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.039) 0:01:22.759 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.041) 0:01:22.800 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.531) 0:01:23.331 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.051) 0:01:23.383 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.033) 0:01:23.417 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:38 +0000 (0:00:00.046) 0:01:23.463 ******** ok: [sut] => { "_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, a206d977-dc0a-44d3-885a-07c660c833cc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.400) 0:01:23.863 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.027) 0:01:23.890 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a206d977-dc0a-44d3-885a-07c660c833cc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.027) 0:01:23.917 ******** ok: [sut] => { "__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, a206d977-dc0a-44d3-885a-07c660c833cc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a206d977-dc0a-44d3-885a-07c660c833cc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.028) 0:01:23.946 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.035) 0:01:23.981 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.248) 0:01:24.230 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.118) 0:01:24.349 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.045) 0:01:24.394 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.035) 0:01:24.430 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.033) 0:01:24.464 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:39 +0000 (0:00:00.035) 0:01:24.500 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:42 +0000 (0:00:02.362) 0:01:26.862 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.783) 0:01:27.646 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.029) 0:01:27.676 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.033) 0:01:27.710 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.041) 0:01:27.751 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.076) 0:01:27.828 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.033) 0:01:27.862 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.230) 0:01:28.092 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.096) 0:01:28.188 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.030) 0:01:28.218 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.035) 0:01:28.254 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:43 +0000 (0:00:00.067) 0:01:28.321 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.464) 0:01:28.785 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.066) 0:01:28.852 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.030) 0:01:28.882 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.040) 0:01:28.923 ******** changed: [sut] => { "_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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.500) 0:01:29.424 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.038) 0:01:29.462 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.031) 0:01:29.493 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.033) 0:01:29.527 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:44 +0000 (0:00:00.025) 0:01:29.553 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.236) 0:01:29.790 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.101) 0:01:29.891 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.055) 0:01:29.947 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.046) 0:01:29.993 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.049) 0:01:30.042 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.031) 0:01:30.074 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:28:45 +0000 (0:00:00.029) 0:01:30.104 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:28:47 +0000 (0:00:02.400) 0:01:32.504 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:28:48 +0000 (0:00:00.796) 0:01:33.301 ******** ok: [sut] => {} 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:28:48 +0000 (0:00:00.026) 0:01:33.327 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:28:48 +0000 (0:00:00.026) 0:01:33.354 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:28:48 +0000 (0:00:00.090) 0:01:33.444 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:28:48 +0000 (0:00:00.042) 0:01:33.487 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:28:48 +0000 (0:00:00.034) 0:01:33.521 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.037) 0:01:33.559 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.076) 0:01:33.635 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.029) 0:01:33.665 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.029) 0:01:33.694 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.052) 0:01:33.747 ******** ok: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.459) 0:01:34.207 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.062) 0:01:34.269 ******** skipping: [sut] => { "censored": "the output 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.025) 0:01:34.295 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:28:49 +0000 (0:00:00.021) 0:01:34.316 ******** ok: [sut] => { "_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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.425) 0:01:34.742 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.051) 0:01:34.794 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.028) 0:01:34.823 ******** ok: [sut] => { "__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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.046) 0:01:34.869 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.098) 0:01:34.968 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.234) 0:01:35.202 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.065) 0:01:35.267 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.039) 0:01:35.307 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:28:50 +0000 (0:00:00.025) 0:01:35.332 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.227) 0:01:35.559 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.023) 0:01:35.583 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022217", "end": "2024-03-14 21:28:51.238096", "rc": 1, "start": "2024-03-14 21:28:51.215879" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.253) 0:01:35.836 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.023) 0:01:35.860 ******** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.037) 0:01:35.898 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.027) 0:01:35.925 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.027) 0:01:35.953 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.023) 0:01:35.977 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 14 March 2024 21:28:51 +0000 (0:00:00.036) 0:01:36.013 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.372078", "end": "2024-03-14 21:28:52.017005", "rc": 0, "start": "2024-03-14 21:28:51.644927" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.649) 0:01:36.662 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.027) 0:01:36.690 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.045) 0:01:36.735 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.068) 0:01:36.804 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.042) 0:01:36.846 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.252) 0:01:37.099 ******** ok: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.043) 0:01:37.142 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.027) 0:01:37.170 ******** included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.052) 0:01:37.222 ******** fatal: [sut]: 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.044344", "end": "2024-03-14 21:28:52.933034", "rc": 1, "start": "2024-03-14 21:28:52.888690" } 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 14 March 2024 21:28:52 +0000 (0:00:00.309) 0:01:37.531 ******** ok: [sut] => { "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.009536", "end": "2024-03-14 21:28:53.172308", "rc": 0, "start": "2024-03-14 21:28:53.162772" } 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 1500 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:fb:bf:55:17 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.236/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3051sec preferred_lft 3051sec inet6 fe80::8ff:fbff:febf:5517/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.236 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.236 metric 100 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: /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 14 March 2024 21:28:53 +0000 (0:00:00.250) 0:01:37.781 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=298 rescued=0 ignored=11 Thursday 14 March 2024 21:28:53 +0000 (0:00:00.134) 0:01:37.915 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.48s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.46s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.36s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.36s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/tests/tests_states_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-nm_plugin_hotfixf5bhqjk5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---