# 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_hotfixq_kpr53i/.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_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/tests_states_nm.yml:6 Tuesday 20 February 2024 20:36:25 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tests_states_nm.yml:9 Tuesday 20 February 2024 20:36:26 +0000 (0:00:01.059) 0:00:01.071 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 20:36:26 +0000 (0:00:00.011) 0:00:01.083 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tasks/el_repo_setup.yml:17 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.419) 0:00:01.502 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tasks/el_repo_setup.yml:22 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.308) 0:00:01.811 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tasks/el_repo_setup.yml:26 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.015) 0:00:01.826 ****** 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_hotfixq_kpr53i/tests/tasks/el_repo_setup.yml:51 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.008) 0:00:01.835 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.021) 0:00:01.856 ****** 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_hotfixq_kpr53i/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.007) 0:00:01.864 ****** 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_hotfixq_kpr53i/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.007) 0:00:01.871 ****** 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_hotfixq_kpr53i/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.007) 0:00:01.879 ****** 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_hotfixq_kpr53i/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.006) 0:00:01.885 ****** 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_hotfixq_kpr53i/tests/tests_states_nm.yml:11 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.007) 0:00:01.893 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tests_states.yml:3 Tuesday 20 February 2024 20:36:27 +0000 (0:00:00.016) 0:00:01.909 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tests_states.yml:11 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.786) 0:00:02.696 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tests_states.yml:22 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.009) 0:00:02.705 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.013) 0:00:02.719 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.009) 0:00:02.728 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.028) 0:00:02.757 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.020) 0:00:02.777 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.019) 0:00:02.797 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003622", "end": "2024-02-20 20:36:28.818581", "rc": 0, "start": "2024-02-20 20:36:28.814959" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.297) 0:00:03.094 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.010) 0:00:03.105 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.010) 0:00:03.115 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:36:28 +0000 (0:00:00.015) 0:00:03.131 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007923", "end": "2024-02-20 20:36:29.095959", "rc": 1, "start": "2024-02-20 20:36:29.088036" } 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.240) 0:00:03.372 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.011) 0:00:03.383 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.230) 0:00:03.614 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.011) 0:00:03.625 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.014) 0:00:03.640 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.025) 0:00:03.665 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.027) 0:00:03.693 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.056) 0:00:03.749 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.026) 0:00:03.776 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:36:29 +0000 (0:00:00.022) 0:00:03.799 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:36:31 +0000 (0:00:02.442) 0:00:06.241 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:36:33 +0000 (0:00:01.092) 0:00:07.333 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.022) 0:00:07.356 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.035) 0:00:07.392 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.037) 0:00:07.429 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.066) 0:00:07.495 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.037) 0:00:07.533 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.037) 0:00:07.570 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.095) 0:00:07.665 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:36:33 +0000 (0:00:00.040) 0:00:07.706 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.630) 0:00:08.336 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.041) 0:00:08.378 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.030) 0:00:08.409 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.019) 0:00:08.428 ****** 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, 46a2207f-682f-4aab-aaec-61e9963bc582 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.669) 0:00:09.098 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.038) 0:00:09.136 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46a2207f-682f-4aab-aaec-61e9963bc582" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.026) 0:00:09.163 ****** 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, 46a2207f-682f-4aab-aaec-61e9963bc582\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46a2207f-682f-4aab-aaec-61e9963bc582" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.025) 0:00:09.188 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:36:34 +0000 (0:00:00.024) 0:00:09.213 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.368) 0:00:09.581 ****** 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, 46a2207f-682f-4aab-aaec-61e9963bc582\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46a2207f-682f-4aab-aaec-61e9963bc582" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.022) 0:00:09.604 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.034) 0:00:09.638 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.057) 0:00:09.695 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.020) 0:00:09.716 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.248) 0:00:09.965 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.019) 0:00:09.984 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024161", "end": "2024-02-20 20:36:35.965247", "rc": 0, "start": "2024-02-20 20:36:35.941086" } 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:36:35 +0000 (0:00:00.269) 0:00:10.253 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.033) 0:00:10.286 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.027) 0:00:10.313 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.037) 0:00:10.351 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.021) 0:00:10.373 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.029) 0:00:10.403 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.027) 0:00:10.430 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.030) 0:00:10.460 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.077) 0:00:10.538 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.054) 0:00:10.593 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.057) 0:00:10.651 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461394.743947, "block_size": 4096, "blocks": 0, "ctime": 1708461394.743947, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34702, "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": 1708461394.743947, "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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.246) 0:00:10.897 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.034) 0:00:10.931 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.030) 0:00:10.962 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:36:36 +0000 (0:00:00.041) 0:00:11.004 ****** 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.064166", "end": "2024-02-20 20:36:37.043407", "rc": 1, "start": "2024-02-20 20:36:36.979241" } STDOUT: Connection 'statebr' (46a2207f-682f-4aab-aaec-61e9963bc582) 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_hotfixq_kpr53i/tests/playbooks/tests_states.yml:45 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.364) 0:00:11.368 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.047) 0:00:11.416 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.023) 0:00:11.440 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.064) 0:00:11.504 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.049) 0:00:11.553 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.034) 0:00:11.587 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2024-02-20 20:36:37.550067", "rc": 0, "start": "2024-02-20 20:36:37.546357" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.287) 0:00:11.875 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.022) 0:00:11.897 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.022) 0:00:11.920 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.035) 0:00:11.956 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007013", "end": "2024-02-20 20:36:37.920968", "rc": 1, "start": "2024-02-20 20:36:37.913955" } 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.250) 0:00:12.206 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:36:37 +0000 (0:00:00.033) 0:00:12.240 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.275) 0:00:12.515 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.041) 0:00:12.557 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.042) 0:00:12.600 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.040) 0:00:12.640 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.036) 0:00:12.677 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.060) 0:00:12.738 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.024) 0:00:12.762 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:36:38 +0000 (0:00:00.033) 0:00:12.795 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:36:40 +0000 (0:00:02.363) 0:00:15.158 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.833) 0:00:15.992 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.032) 0:00:16.025 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.024) 0:00:16.049 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.029) 0:00:16.078 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.060) 0:00:16.139 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.036) 0:00:16.176 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.028) 0:00:16.204 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:36:41 +0000 (0:00:00.036) 0:00:16.241 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:36:42 +0000 (0:00:00.043) 0:00:16.285 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:36:42 +0000 (0:00:00.483) 0:00:16.769 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:36:42 +0000 (0:00:00.091) 0:00:16.860 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:36:42 +0000 (0:00:00.027) 0:00:16.887 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:36:42 +0000 (0:00:00.024) 0:00:16.912 ****** 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, f5d4e602-084b-4b45-a62e-b33a7c633fdd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.506) 0:00:17.419 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.026) 0:00:17.445 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5d4e602-084b-4b45-a62e-b33a7c633fdd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.040) 0:00:17.486 ****** 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, f5d4e602-084b-4b45-a62e-b33a7c633fdd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5d4e602-084b-4b45-a62e-b33a7c633fdd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.027) 0:00:17.513 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.025) 0:00:17.539 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.275) 0:00:17.814 ****** 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, f5d4e602-084b-4b45-a62e-b33a7c633fdd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5d4e602-084b-4b45-a62e-b33a7c633fdd" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.025) 0:00:17.839 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.057) 0:00:17.897 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.037) 0:00:17.934 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.245) 0:00:18.180 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:36:43 +0000 (0:00:00.053) 0:00:18.233 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.034) 0:00:18.267 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.021) 0:00:18.289 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.252) 0:00:18.541 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.022) 0:00:18.564 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022439", "end": "2024-02-20 20:36:44.554777", "rc": 0, "start": "2024-02-20 20:36:44.532338" } 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.287) 0:00:18.851 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.026) 0:00:18.878 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.026) 0:00:18.904 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.024) 0:00:18.928 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.020) 0:00:18.949 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.026) 0:00:18.975 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.023) 0:00:18.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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.022) 0:00:19.021 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.023) 0:00:19.045 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.027) 0:00:19.072 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.031) 0:00:19.104 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:36:44 +0000 (0:00:00.068) 0:00:19.173 ****** 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.044964", "end": "2024-02-20 20:36:45.177394", "rc": 1, "start": "2024-02-20 20:36:45.132430" } STDOUT: Connection 'statebr' (f5d4e602-084b-4b45-a62e-b33a7c633fdd) 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_hotfixq_kpr53i/tests/playbooks/tests_states.yml:65 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.291) 0:00:19.464 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.036) 0:00:19.500 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.023) 0:00:19.524 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.048) 0:00:19.572 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.049) 0:00:19.621 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.050) 0:00:19.672 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003709", "end": "2024-02-20 20:36:45.634678", "rc": 0, "start": "2024-02-20 20:36:45.630969" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.252) 0:00:19.924 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.028) 0:00:19.953 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.028) 0:00:19.981 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.051) 0:00:20.032 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.108) 0:00:20.140 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:36:45 +0000 (0:00:00.082) 0:00:20.223 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:36:46 +0000 (0:00:00.040) 0:00:20.263 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:36:46 +0000 (0:00:00.023) 0:00:20.287 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:36:46 +0000 (0:00:00.024) 0:00:20.311 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:36:48 +0000 (0:00:02.367) 0:00:22.679 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.890) 0:00:23.569 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.036) 0:00:23.606 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.029) 0:00:23.636 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.025) 0:00:23.661 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.071) 0:00:23.733 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.085) 0:00:23.818 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.071) 0:00:23.890 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.106) 0:00:23.997 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:36:49 +0000 (0:00:00.077) 0:00:24.074 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:36:50 +0000 (0:00:00.525) 0:00:24.599 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:36:50 +0000 (0:00:00.052) 0:00:24.652 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:36:50 +0000 (0:00:00.043) 0:00:24.696 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:36:50 +0000 (0:00:00.029) 0:00:24.725 ****** 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, bf07d347-c6cc-4c91-bf01-ce04647cb2e1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.609) 0:00:25.334 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.037) 0:00:25.372 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf07d347-c6cc-4c91-bf01-ce04647cb2e1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.028) 0:00:25.401 ****** 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, bf07d347-c6cc-4c91-bf01-ce04647cb2e1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf07d347-c6cc-4c91-bf01-ce04647cb2e1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.025) 0:00:25.426 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.024) 0:00:25.450 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.254) 0:00:25.704 ****** 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, bf07d347-c6cc-4c91-bf01-ce04647cb2e1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf07d347-c6cc-4c91-bf01-ce04647cb2e1" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.022) 0:00:25.726 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.066) 0:00:25.793 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.043) 0:00:25.836 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.047) 0:00:25.884 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.053) 0:00:25.938 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.053) 0:00:25.991 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:36:51 +0000 (0:00:00.035) 0:00:26.026 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:36:54 +0000 (0:00:02.397) 0:00:28.424 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.848) 0:00:29.273 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.025) 0:00:29.298 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.025) 0:00:29.324 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.063) 0:00:29.387 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.057) 0:00:29.444 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.025) 0:00:29.470 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.027) 0:00:29.497 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.054) 0:00:29.551 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.067) 0:00:29.619 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.509) 0:00:30.128 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.036) 0:00:30.164 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.023) 0:00:30.188 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:36:55 +0000 (0:00:00.019) 0:00:30.207 ****** 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, bf07d347-c6cc-4c91-bf01-ce04647cb2e1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.429) 0:00:30.637 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.027) 0:00:30.665 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf07d347-c6cc-4c91-bf01-ce04647cb2e1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.024) 0:00:30.690 ****** 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, bf07d347-c6cc-4c91-bf01-ce04647cb2e1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf07d347-c6cc-4c91-bf01-ce04647cb2e1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.029) 0:00:30.720 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.033) 0:00:30.754 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.316) 0:00:31.071 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.105) 0:00:31.177 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:36:56 +0000 (0:00:00.037) 0:00:31.215 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461410.975131, "block_size": 4096, "blocks": 0, "ctime": 1708461410.975131, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34833, "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": 1708461410.975131, "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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.251) 0:00:31.466 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.021) 0:00:31.487 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.033) 0:00:31.521 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.022) 0:00:31.543 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.257) 0:00:31.800 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.023) 0:00:31.824 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022765", "end": "2024-02-20 20:36:57.810704", "rc": 0, "start": "2024-02-20 20:36:57.787939" } 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.274) 0:00:32.098 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.022) 0:00:32.120 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.020) 0:00:32.141 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.027) 0:00:32.168 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.020) 0:00:32.189 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:36:57 +0000 (0:00:00.050) 0:00:32.240 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.027) 0:00:32.267 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.050) 0:00:32.317 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.026) 0:00:32.344 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.032) 0:00:32.376 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.036) 0:00:32.412 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.038) 0:00:32.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.073372", "end": "2024-02-20 20:36:58.486566", "rc": 1, "start": "2024-02-20 20:36:58.413194" } STDOUT: Connection 'statebr' (bf07d347-c6cc-4c91-bf01-ce04647cb2e1) 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_hotfixq_kpr53i/tests/playbooks/tests_states.yml:83 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.323) 0:00:32.774 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.036) 0:00:32.811 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.030) 0:00:32.841 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.044) 0:00:32.886 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.044) 0:00:32.930 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.056) 0:00:32.987 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003831", "end": "2024-02-20 20:36:58.948219", "rc": 0, "start": "2024-02-20 20:36:58.944388" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:36:58 +0000 (0:00:00.249) 0:00:33.236 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.022) 0:00:33.258 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.023) 0:00:33.282 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.037) 0:00:33.319 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.042) 0:00:33.362 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.041) 0:00:33.403 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.037) 0:00:33.441 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.023) 0:00:33.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:36:59 +0000 (0:00:00.028) 0:00:33.492 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:01 +0000 (0:00:02.332) 0:00:35.825 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.889) 0:00:36.715 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.023) 0:00:36.738 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.023) 0:00:36.762 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.023) 0:00:36.786 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.058) 0:00:36.844 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.032) 0:00:36.877 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.030) 0:00:36.907 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.037) 0:00:36.944 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:02 +0000 (0:00:00.037) 0:00:36.981 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.465) 0:00:37.447 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.037) 0:00:37.485 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.019) 0:00:37.505 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.018) 0:00:37.524 ****** 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, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.479) 0:00:38.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.024) 0:00:38.027 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.033) 0:00:38.060 ****** 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, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.069) 0:00:38.130 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:03 +0000 (0:00:00.045) 0:00:38.176 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.262) 0:00:38.438 ****** 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, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.022) 0:00:38.461 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.040) 0:00:38.502 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.038) 0:00:38.540 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.034) 0:00:38.574 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.023) 0:00:38.598 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:04 +0000 (0:00:00.022) 0:00:38.620 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:06 +0000 (0:00:02.341) 0:00:40.961 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.943) 0:00:41.905 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.027) 0:00:41.933 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.023) 0:00:41.956 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.023) 0:00:41.979 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.052) 0:00:42.032 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.022) 0:00:42.054 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.022) 0:00:42.077 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.038) 0:00:42.115 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:07 +0000 (0:00:00.042) 0:00:42.158 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:08 +0000 (0:00:00.501) 0:00:42.660 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:08 +0000 (0:00:00.066) 0:00:42.726 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:08 +0000 (0:00:00.049) 0:00:42.776 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:08 +0000 (0:00:00.029) 0:00:42.806 ****** 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, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.519) 0:00:43.325 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.051) 0:00:43.376 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.076) 0:00:43.453 ****** 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, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.087) 0:00:43.540 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.025) 0:00:43.565 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.258) 0:00:43.823 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.042) 0:00:43.866 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.043) 0:00:43.910 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.045) 0:00:43.956 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.037) 0:00:43.993 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.024) 0:00:44.018 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:09 +0000 (0:00:00.024) 0:00:44.042 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:12 +0000 (0:00:02.321) 0:00:46.364 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.953) 0:00:47.317 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.027) 0:00:47.345 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.033) 0:00:47.378 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.030) 0:00:47.409 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.055) 0:00:47.465 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.024) 0:00:47.490 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.024) 0:00:47.514 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.037) 0:00:47.551 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.035) 0:00:47.587 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.489) 0:00:48.076 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.057) 0:00:48.133 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.037) 0:00:48.170 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:13 +0000 (0:00:00.037) 0:00:48.207 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.485) 0:00:48.693 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.037) 0:00:48.730 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.025) 0:00:48.756 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.067) 0:00:48.824 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.029) 0:00:48.853 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.255) 0:00:49.108 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.041) 0:00:49.150 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:37:14 +0000 (0:00:00.034) 0:00:49.184 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461423.6633563, "block_size": 4096, "blocks": 0, "ctime": 1708461423.6633563, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34964, "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": 1708461423.6633563, "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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.245) 0:00:49.429 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.034) 0:00:49.463 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.038) 0:00:49.502 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.042) 0:00:49.544 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.280) 0:00:49.824 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.021) 0:00:49.846 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023527", "end": "2024-02-20 20:37:15.827088", "rc": 1, "start": "2024-02-20 20:37:15.803561" } 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.267) 0:00:50.113 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.054) 0:00:50.167 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.020) 0:00:50.188 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.020) 0:00:50.208 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:37:15 +0000 (0:00:00.021) 0:00:50.230 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.025) 0:00:50.256 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.033) 0:00:50.290 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.036) 0:00:50.326 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.026) 0:00:50.353 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.042) 0:00:50.395 ****** 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.072241", "end": "2024-02-20 20:37:16.452116", "rc": 1, "start": "2024-02-20 20:37:16.379875" } STDOUT: Connection 'statebr' (c9c05b8f-01bf-41fa-b7f8-4a1a8c368e11) 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_hotfixq_kpr53i/tests/playbooks/tests_states.yml:102 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.353) 0:00:50.748 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.048) 0:00:50.797 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.024) 0:00:50.821 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.039) 0:00:50.861 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.074) 0:00:50.936 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.031) 0:00:50.968 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003814", "end": "2024-02-20 20:37:16.930971", "rc": 0, "start": "2024-02-20 20:37:16.927157" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.250) 0:00:51.218 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:37:16 +0000 (0:00:00.021) 0:00:51.239 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.022) 0:00:51.262 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.051) 0:00:51.314 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.072) 0:00:51.386 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.042) 0:00:51.429 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.051) 0:00:51.480 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.026) 0:00:51.507 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:17 +0000 (0:00:00.024) 0:00:51.531 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:19 +0000 (0:00:02.373) 0:00:53.904 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.916) 0:00:54.821 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.044) 0:00:54.865 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.025) 0:00:54.890 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.024) 0:00:54.915 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.056) 0:00:54.971 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.025) 0:00:54.997 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.029) 0:00:55.027 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.071) 0:00:55.098 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:20 +0000 (0:00:00.069) 0:00:55.167 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:21 +0000 (0:00:00.518) 0:00:55.686 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:21 +0000 (0:00:00.077) 0:00:55.763 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:21 +0000 (0:00:00.037) 0:00:55.800 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:21 +0000 (0:00:00.023) 0:00:55.823 ****** 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, aba33606-e9f5-4d82-a11d-c9805ee002fc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.697) 0:00:56.521 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.031) 0:00:56.552 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aba33606-e9f5-4d82-a11d-c9805ee002fc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.025) 0:00:56.577 ****** 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, aba33606-e9f5-4d82-a11d-c9805ee002fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aba33606-e9f5-4d82-a11d-c9805ee002fc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.038) 0:00:56.616 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.041) 0:00:56.657 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.265) 0:00:56.923 ****** 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, aba33606-e9f5-4d82-a11d-c9805ee002fc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aba33606-e9f5-4d82-a11d-c9805ee002fc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.034) 0:00:56.957 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.061) 0:00:57.019 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.081) 0:00:57.101 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.050) 0:00:57.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.043) 0:00:57.195 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:22 +0000 (0:00:00.045) 0:00:57.240 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:25 +0000 (0:00:02.380) 0:00:59.620 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.966) 0:01:00.586 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.026) 0:01:00.613 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.032) 0:01:00.646 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.037) 0:01:00.683 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.088) 0:01:00.772 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.032) 0:01:00.804 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.026) 0:01:00.831 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.042) 0:01:00.873 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:26 +0000 (0:00:00.086) 0:01:00.960 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.534) 0:01:01.495 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.040) 0:01:01.536 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.022) 0:01:01.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.023) 0:01:01.581 ****** 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, aba33606-e9f5-4d82-a11d-c9805ee002fc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.530) 0:01:02.112 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.080) 0:01:02.192 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aba33606-e9f5-4d82-a11d-c9805ee002fc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:27 +0000 (0:00:00.042) 0:01:02.234 ****** 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, aba33606-e9f5-4d82-a11d-c9805ee002fc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aba33606-e9f5-4d82-a11d-c9805ee002fc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.049) 0:01:02.284 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.041) 0:01:02.325 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.286) 0:01:02.611 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.054) 0:01:02.666 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.057) 0:01:02.724 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.037) 0:01:02.761 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.033) 0:01:02.795 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:28 +0000 (0:00:00.028) 0:01:02.823 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:30 +0000 (0:00:02.385) 0:01:05.208 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:31 +0000 (0:00:00.925) 0:01:06.134 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:31 +0000 (0:00:00.033) 0:01:06.168 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:31 +0000 (0:00:00.036) 0:01:06.205 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:31 +0000 (0:00:00.041) 0:01:06.246 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.080) 0:01:06.326 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.046) 0:01:06.373 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.037) 0:01:06.410 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.054) 0:01:06.464 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.070) 0:01:06.535 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.512) 0:01:07.047 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.056) 0:01:07.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.033) 0:01:07.138 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:32 +0000 (0:00:00.028) 0:01:07.166 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.609) 0:01:07.775 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.029) 0:01:07.805 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.063) 0:01:07.868 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.023) 0:01:07.892 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.024) 0:01:07.917 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.253) 0:01:08.171 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.036) 0:01:08.208 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:33 +0000 (0:00:00.042) 0:01:08.250 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:34 +0000 (0:00:00.040) 0:01:08.291 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:34 +0000 (0:00:00.037) 0:01:08.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:34 +0000 (0:00:00.024) 0:01:08.353 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:34 +0000 (0:00:00.033) 0:01:08.387 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:36 +0000 (0:00:02.400) 0:01:10.788 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.926) 0:01:11.715 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.025) 0:01:11.740 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.034) 0:01:11.775 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.024) 0:01:11.799 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.057) 0:01:11.856 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.027) 0:01:11.884 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.026) 0:01:11.910 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.073) 0:01:11.983 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:37 +0000 (0:00:00.053) 0:01:12.037 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:38 +0000 (0:00:00.468) 0:01:12.506 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:38 +0000 (0:00:00.036) 0:01:12.542 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:38 +0000 (0:00:00.019) 0:01:12.562 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:38 +0000 (0:00:00.021) 0:01:12.583 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:38 +0000 (0:00:00.580) 0:01:13.163 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:38 +0000 (0:00:00.029) 0:01:13.193 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.103) 0:01:13.297 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.032) 0:01:13.329 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.029) 0:01:13.359 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.306) 0:01:13.665 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.067) 0:01:13.733 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.042) 0:01:13.776 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.022) 0:01:13.799 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.268) 0:01:14.068 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:37:39 +0000 (0:00:00.035) 0:01:14.104 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022125", "end": "2024-02-20 20:37:40.102248", "rc": 1, "start": "2024-02-20 20:37:40.080123" } 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.302) 0:01:14.406 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.037) 0:01:14.443 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.058) 0:01:14.502 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.071) 0:01:14.573 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.153) 0:01:14.727 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.033) 0:01:14.760 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.058) 0:01:14.819 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.077) 0:01:14.896 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.038) 0:01:14.935 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.263) 0:01:15.198 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:37:40 +0000 (0:00:00.024) 0:01:15.223 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.035) 0:01:15.258 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.053) 0:01:15.311 ****** 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.043921", "end": "2024-02-20 20:37:41.340251", "rc": 1, "start": "2024-02-20 20:37:41.296330" } 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_hotfixq_kpr53i/tests/playbooks/tests_states.yml:124 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.318) 0:01:15.630 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.035) 0:01:15.666 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.021) 0:01:15.688 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.084) 0:01:15.773 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.035) 0:01:15.808 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.034) 0:01:15.843 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003718", "end": "2024-02-20 20:37:41.807437", "rc": 0, "start": "2024-02-20 20:37:41.803719" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.254) 0:01:16.097 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.024) 0:01:16.122 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.023) 0:01:16.146 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:37:41 +0000 (0:00:00.067) 0:01:16.214 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:42 +0000 (0:00:00.070) 0:01:16.284 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:42 +0000 (0:00:00.049) 0:01:16.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 : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:42 +0000 (0:00:00.066) 0:01:16.400 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:42 +0000 (0:00:00.043) 0:01:16.443 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:42 +0000 (0:00:00.115) 0:01:16.559 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:44 +0000 (0:00:02.365) 0:01:18.924 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.908) 0:01:19.832 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.054) 0:01:19.887 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.030) 0:01:19.918 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.026) 0:01:19.944 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.057) 0:01:20.001 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.032) 0:01:20.033 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.039) 0:01:20.072 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.065) 0:01:20.138 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:45 +0000 (0:00:00.051) 0:01:20.189 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:46 +0000 (0:00:00.521) 0:01:20.710 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:46 +0000 (0:00:00.040) 0:01:20.751 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:46 +0000 (0:00:00.024) 0:01:20.775 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:46 +0000 (0:00:00.078) 0:01:20.854 ****** 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, 253c558c-f09d-4398-954e-6cc7f1bcae47 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.522) 0:01:21.377 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.042) 0:01:21.419 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 253c558c-f09d-4398-954e-6cc7f1bcae47" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.026) 0:01:21.445 ****** 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, 253c558c-f09d-4398-954e-6cc7f1bcae47\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 253c558c-f09d-4398-954e-6cc7f1bcae47" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.025) 0:01:21.470 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.024) 0:01:21.494 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.301) 0:01:21.796 ****** 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, 253c558c-f09d-4398-954e-6cc7f1bcae47\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 253c558c-f09d-4398-954e-6cc7f1bcae47" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.095) 0:01:21.891 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.145) 0:01:22.036 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.095) 0:01:22.132 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.059) 0:01:22.192 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:47 +0000 (0:00:00.062) 0:01:22.254 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:48 +0000 (0:00:00.044) 0:01:22.299 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:50 +0000 (0:00:02.526) 0:01:24.826 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.883) 0:01:25.709 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.024) 0:01:25.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.047) 0:01:25.781 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.031) 0:01:25.813 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.075) 0:01:25.888 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.030) 0:01:25.919 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.026) 0:01:25.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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.037) 0:01:25.984 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:51 +0000 (0:00:00.035) 0:01:26.019 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:52 +0000 (0:00:00.474) 0:01:26.493 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:52 +0000 (0:00:00.044) 0:01:26.538 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:52 +0000 (0:00:00.023) 0:01:26.561 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:52 +0000 (0:00:00.041) 0:01:26.603 ****** 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, 253c558c-f09d-4398-954e-6cc7f1bcae47 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:52 +0000 (0:00:00.637) 0:01:27.240 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.034) 0:01:27.275 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 253c558c-f09d-4398-954e-6cc7f1bcae47 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.069) 0:01:27.344 ****** 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, 253c558c-f09d-4398-954e-6cc7f1bcae47 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 253c558c-f09d-4398-954e-6cc7f1bcae47 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.038) 0:01:27.383 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.032) 0:01:27.415 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.319) 0:01:27.735 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.058) 0:01:27.793 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.056) 0:01:27.850 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.036) 0:01:27.886 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.023) 0:01:27.910 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:53 +0000 (0:00:00.029) 0:01:27.939 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:37:56 +0000 (0:00:02.371) 0:01:30.311 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.999) 0:01:31.310 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.067) 0:01:31.378 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.055) 0:01:31.433 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.038) 0:01:31.471 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.162) 0:01:31.634 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.028) 0:01:31.662 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.038) 0:01:31.701 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.076) 0:01:31.777 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:37:57 +0000 (0:00:00.068) 0:01:31.846 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.474) 0:01:32.320 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.064) 0:01:32.385 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.021) 0:01:32.406 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.020) 0:01:32.427 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.580) 0:01:33.007 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.144) 0:01:33.152 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.025) 0:01:33.177 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.033) 0:01:33.210 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:37:58 +0000 (0:00:00.038) 0:01:33.249 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.257) 0:01:33.507 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.040) 0:01:33.547 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.054) 0:01:33.602 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.046) 0:01:33.648 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.040) 0:01:33.689 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.024) 0:01:33.714 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 February 2024 20:37:59 +0000 (0:00:00.023) 0:01:33.737 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 February 2024 20:38:01 +0000 (0:00:02.395) 0:01:36.133 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.875) 0:01:37.008 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.025) 0:01:37.034 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.027) 0:01:37.062 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.024) 0:01:37.087 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.055) 0:01:37.142 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.025) 0:01:37.167 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 February 2024 20:38:02 +0000 (0:00:00.039) 0:01:37.207 ****** 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 : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 20 February 2024 20:38:03 +0000 (0:00:00.053) 0:01:37.260 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 February 2024 20:38:03 +0000 (0:00:00.072) 0:01:37.332 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 February 2024 20:38:03 +0000 (0:00:00.515) 0:01:37.847 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 20 February 2024 20:38:03 +0000 (0:00:00.042) 0:01:37.890 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:113 Tuesday 20 February 2024 20:38:03 +0000 (0:00:00.026) 0:01:37.916 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 February 2024 20:38:03 +0000 (0:00:00.021) 0:01:37.938 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.557) 0:01:38.495 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.026) 0:01:38.522 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:144 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.028) 0:01:38.550 ****** 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_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.024) 0:01:38.574 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:155 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.022) 0:01:38.596 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.259) 0:01:38.856 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.064) 0:01:38.920 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.043) 0:01:38.964 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:38:04 +0000 (0:00:00.027) 0:01:38.991 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.300) 0:01:39.292 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.031) 0:01:39.323 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021909", "end": "2024-02-20 20:38:05.324544", "rc": 1, "start": "2024-02-20 20:38:05.302635" } 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.328) 0:01:39.651 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.048) 0:01:39.700 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.024) 0:01:39.724 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.086) 0:01:39.810 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.040) 0:01:39.851 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.039) 0:01:39.890 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 20:38:05 +0000 (0:00:00.035) 0:01:39.925 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.370722", "end": "2024-02-20 20:38:06.263072", "rc": 0, "start": "2024-02-20 20:38:05.892350" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.637) 0:01:40.563 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.047) 0:01:40.611 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.037) 0:01:40.648 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.175) 0:01:40.823 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.068) 0:01:40.892 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.306) 0:01:41.199 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:38:06 +0000 (0:00:00.026) 0:01:41.226 ****** 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_hotfixq_kpr53i/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:38:07 +0000 (0:00:00.046) 0:01:41.272 ****** included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixq_kpr53i/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_hotfixq_kpr53i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:38:07 +0000 (0:00:00.146) 0:01:41.419 ****** 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.044745", "end": "2024-02-20 20:38:07.436368", "rc": 1, "start": "2024-02-20 20:38:07.391623" } 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_hotfixq_kpr53i/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 20:38:07 +0000 (0:00:00.401) 0:01:41.820 ****** 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.009215", "end": "2024-02-20 20:38:07.810168", "rc": 0, "start": "2024-02-20 20:38:07.800953" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:3a:bc:bf:c3:75 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.8.84/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3026sec preferred_lft 3026sec inet6 fe80::6824:64cb:4838:2a2f/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.84 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.84 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_hotfixq_kpr53i/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 20:38:07 +0000 (0:00:00.289) 0:01:42.109 ****** 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=268 rescued=0 ignored=11 Tuesday 20 February 2024 20:38:07 +0000 (0:00:00.061) 0:01:42.171 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.53s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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.44s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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_hotfixq_kpr53i/.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.32s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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.09s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.06s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/tests/tests_states_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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.97s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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.95s /WORKDIR/git-nm_plugin_hotfixq_kpr53i/.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. ---^---^---^---^---^---