# 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-tft-tests6kb378cw/.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-tft-tests6kb378cw/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_states_nm.yml:6 Monday 17 June 2024 14:33:16 +0000 (0:00:00.011) 0:00:00.011 *********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_states_nm.yml:9 Monday 17 June 2024 14:33:17 +0000 (0:00:01.053) 0:00:01.064 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:33:17 +0000 (0:00:00.020) 0:00:01.085 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/el_repo_setup.yml:17 Monday 17 June 2024 14:33:18 +0000 (0:00:00.425) 0:00:01.510 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/el_repo_setup.yml:22 Monday 17 June 2024 14:33:18 +0000 (0:00:00.301) 0:00:01.812 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/el_repo_setup.yml:26 Monday 17 June 2024 14:33:18 +0000 (0:00:00.014) 0:00:01.827 *********** 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-tft-tests6kb378cw/tests/tasks/el_repo_setup.yml:51 Monday 17 June 2024 14:33:18 +0000 (0:00:00.010) 0:00:01.837 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:33:18 +0000 (0:00:00.037) 0:00:01.874 *********** 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-tft-tests6kb378cw/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:33:18 +0000 (0:00:00.008) 0:00:01.883 *********** 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-tft-tests6kb378cw/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:33:18 +0000 (0:00:00.008) 0:00:01.891 *********** 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-tft-tests6kb378cw/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:33:18 +0000 (0:00:00.007) 0:00:01.899 *********** 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-tft-tests6kb378cw/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:33:18 +0000 (0:00:00.007) 0:00:01.907 *********** 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-tft-tests6kb378cw/tests/tests_states_nm.yml:11 Monday 17 June 2024 14:33:18 +0000 (0:00:00.008) 0:00:01.915 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tests_states.yml:3 Monday 17 June 2024 14:33:18 +0000 (0:00:00.017) 0:00:01.932 *********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tests_states.yml:11 Monday 17 June 2024 14:33:19 +0000 (0:00:00.781) 0:00:02.714 *********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tests_states.yml:22 Monday 17 June 2024 14:33:19 +0000 (0:00:00.011) 0:00:02.726 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:33:19 +0000 (0:00:00.014) 0:00:02.740 *********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:33:19 +0000 (0:00:00.011) 0:00:02.751 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:33:19 +0000 (0:00:00.041) 0:00:02.793 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:33:19 +0000 (0:00:00.013) 0:00:02.806 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:33:19 +0000 (0:00:00.014) 0:00:02.821 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-06-17 14:33:19.885671", "rc": 0, "start": "2024-06-17 14:33:19.882151" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:33:19 +0000 (0:00:00.306) 0:00:03.127 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:33:19 +0000 (0:00:00.011) 0:00:03.139 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:33:19 +0000 (0:00:00.015) 0:00:03.154 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:33:19 +0000 (0:00:00.024) 0:00:03.178 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007618", "end": "2024-06-17 14:33:20.182983", "rc": 1, "start": "2024-06-17 14:33:20.175365" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:33:20 +0000 (0:00:00.257) 0:00:03.436 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:33:20 +0000 (0:00:00.016) 0:00:03.453 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:33:20 +0000 (0:00:00.230) 0:00:03.684 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:33:20 +0000 (0:00:00.011) 0:00:03.695 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:33:20 +0000 (0:00:00.015) 0:00:03.710 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:20 +0000 (0:00:00.024) 0:00:03.735 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:20 +0000 (0:00:00.020) 0:00:03.756 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:20 +0000 (0:00:00.021) 0:00:03.777 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:20 +0000 (0:00:00.025) 0:00:03.802 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:20 +0000 (0:00:00.014) 0:00:03.817 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:33:22 +0000 (0:00:02.282) 0:00:06.100 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:33:23 +0000 (0:00:01.064) 0:00:07.164 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:33:23 +0000 (0:00:00.037) 0:00:07.202 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:33:24 +0000 (0:00:00.026) 0:00:07.229 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:33:24 +0000 (0:00:00.024) 0:00:07.253 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:33:24 +0000 (0:00:00.039) 0:00:07.293 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:33:24 +0000 (0:00:00.028) 0:00:07.322 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:33:24 +0000 (0:00:00.035) 0:00:07.357 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:33:24 +0000 (0:00:00.099) 0:00:07.457 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:33:24 +0000 (0:00:00.023) 0:00:07.481 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:33:24 +0000 (0:00:00.026) 0:00:07.508 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:33:24 +0000 (0:00:00.038) 0:00:07.547 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:33:24 +0000 (0:00:00.659) 0:00:08.206 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:33:25 +0000 (0:00:00.099) 0:00:08.306 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:33:25 +0000 (0:00:00.032) 0:00:08.338 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:33:25 +0000 (0:00:00.023) 0:00:08.362 *********** 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, c24826ac-f326-4176-a574-fdb5a3993d6e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:33:25 +0000 (0:00:00.667) 0:00:09.029 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:33:25 +0000 (0:00:00.025) 0:00:09.054 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c24826ac-f326-4176-a574-fdb5a3993d6e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:33:25 +0000 (0:00:00.036) 0:00:09.091 *********** 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, c24826ac-f326-4176-a574-fdb5a3993d6e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c24826ac-f326-4176-a574-fdb5a3993d6e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:33:25 +0000 (0:00:00.024) 0:00:09.116 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:33:25 +0000 (0:00:00.060) 0:00:09.176 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:33:26 +0000 (0:00:00.449) 0:00:09.626 *********** 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, c24826ac-f326-4176-a574-fdb5a3993d6e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c24826ac-f326-4176-a574-fdb5a3993d6e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:33:26 +0000 (0:00:00.029) 0:00:09.655 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:33:26 +0000 (0:00:00.095) 0:00:09.751 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:33:26 +0000 (0:00:00.098) 0:00:09.850 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:33:26 +0000 (0:00:00.041) 0:00:09.892 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:33:26 +0000 (0:00:00.272) 0:00:10.164 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:33:26 +0000 (0:00:00.030) 0:00:10.194 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022710", "end": "2024-06-17 14:33:27.214167", "rc": 0, "start": "2024-06-17 14:33:27.191457" } 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:33:27 +0000 (0:00:00.274) 0:00:10.469 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:33:27 +0000 (0:00:00.024) 0:00:10.494 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:33:27 +0000 (0:00:00.022) 0:00:10.516 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:33:27 +0000 (0:00:00.041) 0:00:10.558 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:33:27 +0000 (0:00:00.029) 0:00:10.588 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:33:27 +0000 (0:00:00.021) 0:00:10.609 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:33:27 +0000 (0:00:00.024) 0:00:10.634 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:33:27 +0000 (0:00:00.022) 0:00:10.657 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:33:27 +0000 (0:00:00.023) 0:00:10.681 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:33:27 +0000 (0:00:00.081) 0:00:10.762 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:33:27 +0000 (0:00:00.032) 0:00:10.795 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634805.7290244, "block_size": 4096, "blocks": 0, "ctime": 1718634805.7290244, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 44196, "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": 1718634805.7290244, "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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:33:27 +0000 (0:00:00.238) 0:00:11.034 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:33:27 +0000 (0:00:00.024) 0:00:11.058 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:33:27 +0000 (0:00:00.021) 0:00:11.080 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:33:27 +0000 (0:00:00.062) 0:00:11.142 *********** 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.064824", "end": "2024-06-17 14:33:28.213635", "rc": 1, "start": "2024-06-17 14:33:28.148811" } STDOUT: Connection 'statebr' (c24826ac-f326-4176-a574-fdb5a3993d6e) 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-tft-tests6kb378cw/tests/playbooks/tests_states.yml:45 Monday 17 June 2024 14:33:28 +0000 (0:00:00.341) 0:00:11.483 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:33:28 +0000 (0:00:00.060) 0:00:11.543 *********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:33:28 +0000 (0:00:00.053) 0:00:11.597 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:33:28 +0000 (0:00:00.057) 0:00:11.655 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:33:28 +0000 (0:00:00.054) 0:00:11.709 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:33:28 +0000 (0:00:00.109) 0:00:11.819 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003492", "end": "2024-06-17 14:33:28.816050", "rc": 0, "start": "2024-06-17 14:33:28.812558" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:33:28 +0000 (0:00:00.266) 0:00:12.085 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:33:28 +0000 (0:00:00.030) 0:00:12.116 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:33:28 +0000 (0:00:00.027) 0:00:12.143 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:33:28 +0000 (0:00:00.049) 0:00:12.193 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006463", "end": "2024-06-17 14:33:29.197864", "rc": 1, "start": "2024-06-17 14:33:29.191401" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:33:29 +0000 (0:00:00.276) 0:00:12.469 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:33:29 +0000 (0:00:00.041) 0:00:12.511 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:33:29 +0000 (0:00:00.260) 0:00:12.771 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:33:29 +0000 (0:00:00.022) 0:00:12.794 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 17 June 2024 14:33:29 +0000 (0:00:00.050) 0:00:12.844 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:29 +0000 (0:00:00.044) 0:00:12.889 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:29 +0000 (0:00:00.086) 0:00:12.976 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:29 +0000 (0:00:00.038) 0:00:13.015 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:29 +0000 (0:00:00.027) 0:00:13.042 *********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:29 +0000 (0:00:00.052) 0:00:13.095 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:33:32 +0000 (0:00:02.196) 0:00:15.291 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:33:32 +0000 (0:00:00.812) 0:00:16.103 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:33:32 +0000 (0:00:00.022) 0:00:16.126 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:33:32 +0000 (0:00:00.025) 0:00:16.151 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:33:32 +0000 (0:00:00.026) 0:00:16.177 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:33:32 +0000 (0:00:00.037) 0:00:16.215 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:33:33 +0000 (0:00:00.029) 0:00:16.245 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:33:33 +0000 (0:00:00.034) 0:00:16.279 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:33:33 +0000 (0:00:00.052) 0:00:16.332 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:33:33 +0000 (0:00:00.054) 0:00:16.387 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:33:33 +0000 (0:00:00.032) 0:00:16.420 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:33:33 +0000 (0:00:00.038) 0:00:16.458 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:33:33 +0000 (0:00:00.461) 0:00:16.920 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:33:33 +0000 (0:00:00.035) 0:00:16.955 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:33:33 +0000 (0:00:00.019) 0:00:16.974 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:33:33 +0000 (0:00:00.019) 0:00:16.994 *********** 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, 98727442-eb62-4470-8701-8f684687cc2f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:33:34 +0000 (0:00:00.426) 0:00:17.421 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:33:34 +0000 (0:00:00.023) 0:00:17.444 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98727442-eb62-4470-8701-8f684687cc2f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:33:34 +0000 (0:00:00.023) 0:00:17.468 *********** 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, 98727442-eb62-4470-8701-8f684687cc2f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98727442-eb62-4470-8701-8f684687cc2f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:33:34 +0000 (0:00:00.023) 0:00:17.492 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:33:34 +0000 (0:00:00.022) 0:00:17.515 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 17 June 2024 14:33:34 +0000 (0:00:00.245) 0:00:17.760 *********** 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, 98727442-eb62-4470-8701-8f684687cc2f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98727442-eb62-4470-8701-8f684687cc2f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:33:34 +0000 (0:00:00.022) 0:00:17.782 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:33:34 +0000 (0:00:00.064) 0:00:17.847 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:33:34 +0000 (0:00:00.031) 0:00:17.879 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:33:34 +0000 (0:00:00.238) 0:00:18.117 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:33:34 +0000 (0:00:00.022) 0:00:18.140 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:33:34 +0000 (0:00:00.034) 0:00:18.174 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:33:34 +0000 (0:00:00.020) 0:00:18.195 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:33:35 +0000 (0:00:00.260) 0:00:18.456 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:33:35 +0000 (0:00:00.026) 0:00:18.482 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022599", "end": "2024-06-17 14:33:35.504824", "rc": 0, "start": "2024-06-17 14:33:35.482225" } 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:33:35 +0000 (0:00:00.283) 0:00:18.766 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:33:35 +0000 (0:00:00.025) 0:00:18.792 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:33:35 +0000 (0:00:00.022) 0:00:18.814 *********** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:33:35 +0000 (0:00:00.022) 0:00:18.837 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:33:35 +0000 (0:00:00.021) 0:00:18.858 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:33:35 +0000 (0:00:00.023) 0:00:18.881 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:33:35 +0000 (0:00:00.033) 0:00:18.915 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:33:35 +0000 (0:00:00.075) 0:00:18.990 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:33:35 +0000 (0:00:00.042) 0:00:19.033 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:33:35 +0000 (0:00:00.041) 0:00:19.075 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:33:35 +0000 (0:00:00.039) 0:00:19.114 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:33:35 +0000 (0:00:00.038) 0:00:19.152 *********** 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.043674", "end": "2024-06-17 14:33:36.198531", "rc": 1, "start": "2024-06-17 14:33:36.154857" } STDOUT: Connection 'statebr' (98727442-eb62-4470-8701-8f684687cc2f) 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-tft-tests6kb378cw/tests/playbooks/tests_states.yml:65 Monday 17 June 2024 14:33:36 +0000 (0:00:00.306) 0:00:19.459 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:33:36 +0000 (0:00:00.036) 0:00:19.496 *********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:33:36 +0000 (0:00:00.021) 0:00:19.517 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:33:36 +0000 (0:00:00.043) 0:00:19.561 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:33:36 +0000 (0:00:00.040) 0:00:19.602 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:33:36 +0000 (0:00:00.057) 0:00:19.659 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003574", "end": "2024-06-17 14:33:36.707160", "rc": 0, "start": "2024-06-17 14:33:36.703586" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:33:36 +0000 (0:00:00.315) 0:00:19.975 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:33:36 +0000 (0:00:00.060) 0:00:20.035 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:33:36 +0000 (0:00:00.037) 0:00:20.073 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:33:36 +0000 (0:00:00.039) 0:00:20.112 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:36 +0000 (0:00:00.044) 0:00:20.157 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:36 +0000 (0:00:00.046) 0:00:20.203 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:37 +0000 (0:00:00.041) 0:00:20.245 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:37 +0000 (0:00:00.024) 0:00:20.270 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:37 +0000 (0:00:00.027) 0:00:20.297 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:33:39 +0000 (0:00:02.220) 0:00:22.518 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:33:40 +0000 (0:00:00.847) 0:00:23.365 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:33:40 +0000 (0:00:00.056) 0:00:23.422 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:33:40 +0000 (0:00:00.024) 0:00:23.446 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:33:40 +0000 (0:00:00.035) 0:00:23.482 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:33:40 +0000 (0:00:00.074) 0:00:23.557 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:33:40 +0000 (0:00:00.031) 0:00:23.588 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:33:40 +0000 (0:00:00.042) 0:00:23.631 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:33:40 +0000 (0:00:00.055) 0:00:23.687 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:33:40 +0000 (0:00:00.023) 0:00:23.710 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:33:40 +0000 (0:00:00.021) 0:00:23.732 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:33:40 +0000 (0:00:00.038) 0:00:23.770 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:33:41 +0000 (0:00:00.453) 0:00:24.223 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:33:41 +0000 (0:00:00.036) 0:00:24.260 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:33:41 +0000 (0:00:00.026) 0:00:24.287 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:33:41 +0000 (0:00:00.020) 0:00:24.307 *********** 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, 96695975-14d2-4d67-bd07-ad0e2fd625e1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:33:41 +0000 (0:00:00.508) 0:00:24.816 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:33:41 +0000 (0:00:00.024) 0:00:24.840 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96695975-14d2-4d67-bd07-ad0e2fd625e1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:33:41 +0000 (0:00:00.055) 0:00:24.896 *********** 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, 96695975-14d2-4d67-bd07-ad0e2fd625e1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96695975-14d2-4d67-bd07-ad0e2fd625e1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:33:41 +0000 (0:00:00.023) 0:00:24.919 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:33:41 +0000 (0:00:00.022) 0:00:24.942 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:33:41 +0000 (0:00:00.248) 0:00:25.190 *********** 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, 96695975-14d2-4d67-bd07-ad0e2fd625e1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 96695975-14d2-4d67-bd07-ad0e2fd625e1" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:33:41 +0000 (0:00:00.023) 0:00:25.214 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:33:42 +0000 (0:00:00.034) 0:00:25.248 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:42 +0000 (0:00:00.042) 0:00:25.291 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:42 +0000 (0:00:00.041) 0:00:25.332 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:42 +0000 (0:00:00.052) 0:00:25.384 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:42 +0000 (0:00:00.023) 0:00:25.408 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:42 +0000 (0:00:00.022) 0:00:25.431 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:33:44 +0000 (0:00:02.183) 0:00:27.614 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:33:45 +0000 (0:00:00.917) 0:00:28.532 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:33:45 +0000 (0:00:00.025) 0:00:28.557 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:33:45 +0000 (0:00:00.026) 0:00:28.583 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:33:45 +0000 (0:00:00.023) 0:00:28.607 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:33:45 +0000 (0:00:00.035) 0:00:28.643 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:33:45 +0000 (0:00:00.029) 0:00:28.672 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:33:45 +0000 (0:00:00.035) 0:00:28.708 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:33:45 +0000 (0:00:00.052) 0:00:28.761 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:33:45 +0000 (0:00:00.026) 0:00:28.787 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:33:45 +0000 (0:00:00.025) 0:00:28.813 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:33:45 +0000 (0:00:00.037) 0:00:28.850 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:33:46 +0000 (0:00:00.454) 0:00:29.305 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:33:46 +0000 (0:00:00.036) 0:00:29.342 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:33:46 +0000 (0:00:00.020) 0:00:29.362 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:33:46 +0000 (0:00:00.055) 0:00:29.417 *********** 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, 96695975-14d2-4d67-bd07-ad0e2fd625e1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:33:46 +0000 (0:00:00.424) 0:00:29.842 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:33:46 +0000 (0:00:00.023) 0:00:29.865 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 96695975-14d2-4d67-bd07-ad0e2fd625e1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:33:46 +0000 (0:00:00.022) 0:00:29.888 *********** 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, 96695975-14d2-4d67-bd07-ad0e2fd625e1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 96695975-14d2-4d67-bd07-ad0e2fd625e1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:33:46 +0000 (0:00:00.023) 0:00:29.912 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:33:46 +0000 (0:00:00.024) 0:00:29.936 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:33:46 +0000 (0:00:00.256) 0:00:30.193 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:33:47 +0000 (0:00:00.041) 0:00:30.234 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:33:47 +0000 (0:00:00.045) 0:00:30.279 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634821.5045137, "block_size": 4096, "blocks": 0, "ctime": 1718634821.5045137, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 44327, "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": 1718634821.5045137, "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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:33:47 +0000 (0:00:00.237) 0:00:30.517 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:33:47 +0000 (0:00:00.024) 0:00:30.541 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:33:47 +0000 (0:00:00.034) 0:00:30.575 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:33:47 +0000 (0:00:00.048) 0:00:30.624 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:33:47 +0000 (0:00:00.238) 0:00:30.863 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:33:47 +0000 (0:00:00.020) 0:00:30.883 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022512", "end": "2024-06-17 14:33:47.894519", "rc": 0, "start": "2024-06-17 14:33:47.872007" } 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:33:47 +0000 (0:00:00.264) 0:00:31.147 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:33:47 +0000 (0:00:00.024) 0:00:31.172 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:33:47 +0000 (0:00:00.021) 0:00:31.194 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:33:47 +0000 (0:00:00.021) 0:00:31.216 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:33:48 +0000 (0:00:00.024) 0:00:31.240 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:33:48 +0000 (0:00:00.020) 0:00:31.260 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:33:48 +0000 (0:00:00.024) 0:00:31.284 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:33:48 +0000 (0:00:00.024) 0:00:31.309 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:33:48 +0000 (0:00:00.022) 0:00:31.332 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:33:48 +0000 (0:00:00.028) 0:00:31.360 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:33:48 +0000 (0:00:00.023) 0:00:31.383 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:33:48 +0000 (0:00:00.040) 0:00:31.423 *********** 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.073430", "end": "2024-06-17 14:33:48.484763", "rc": 1, "start": "2024-06-17 14:33:48.411333" } STDOUT: Connection 'statebr' (96695975-14d2-4d67-bd07-ad0e2fd625e1) 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-tft-tests6kb378cw/tests/playbooks/tests_states.yml:83 Monday 17 June 2024 14:33:48 +0000 (0:00:00.348) 0:00:31.772 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:33:48 +0000 (0:00:00.038) 0:00:31.811 *********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:33:48 +0000 (0:00:00.025) 0:00:31.836 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:33:48 +0000 (0:00:00.048) 0:00:31.885 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:33:48 +0000 (0:00:00.032) 0:00:31.918 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:33:48 +0000 (0:00:00.036) 0:00:31.954 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003499", "end": "2024-06-17 14:33:48.946693", "rc": 0, "start": "2024-06-17 14:33:48.943194" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:33:48 +0000 (0:00:00.244) 0:00:32.199 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:33:49 +0000 (0:00:00.021) 0:00:32.221 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:33:49 +0000 (0:00:00.022) 0:00:32.243 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:33:49 +0000 (0:00:00.037) 0:00:32.280 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:49 +0000 (0:00:00.043) 0:00:32.324 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:49 +0000 (0:00:00.073) 0:00:32.397 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:49 +0000 (0:00:00.038) 0:00:32.435 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:49 +0000 (0:00:00.025) 0:00:32.461 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:49 +0000 (0:00:00.025) 0:00:32.487 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:33:51 +0000 (0:00:02.195) 0:00:34.683 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:33:52 +0000 (0:00:00.813) 0:00:35.496 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:33:52 +0000 (0:00:00.022) 0:00:35.519 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:33:52 +0000 (0:00:00.023) 0:00:35.542 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:33:52 +0000 (0:00:00.024) 0:00:35.566 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:33:52 +0000 (0:00:00.036) 0:00:35.603 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:33:52 +0000 (0:00:00.028) 0:00:35.631 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:33:52 +0000 (0:00:00.034) 0:00:35.665 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:33:52 +0000 (0:00:00.051) 0:00:35.717 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:33:52 +0000 (0:00:00.056) 0:00:35.773 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:33:52 +0000 (0:00:00.024) 0:00:35.797 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:33:52 +0000 (0:00:00.033) 0:00:35.831 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:33:53 +0000 (0:00:00.456) 0:00:36.288 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:33:53 +0000 (0:00:00.038) 0:00:36.326 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:33:53 +0000 (0:00:00.020) 0:00:36.346 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:33:53 +0000 (0:00:00.022) 0:00:36.369 *********** 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, 76f32887-539a-4dfe-a274-2a7ed81923c3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:33:53 +0000 (0:00:00.465) 0:00:36.834 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:33:53 +0000 (0:00:00.024) 0:00:36.858 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 76f32887-539a-4dfe-a274-2a7ed81923c3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:33:53 +0000 (0:00:00.023) 0:00:36.882 *********** 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, 76f32887-539a-4dfe-a274-2a7ed81923c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 76f32887-539a-4dfe-a274-2a7ed81923c3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:33:53 +0000 (0:00:00.025) 0:00:36.907 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:33:53 +0000 (0:00:00.022) 0:00:36.930 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:33:53 +0000 (0:00:00.248) 0:00:37.178 *********** 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, 76f32887-539a-4dfe-a274-2a7ed81923c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 76f32887-539a-4dfe-a274-2a7ed81923c3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:33:53 +0000 (0:00:00.022) 0:00:37.201 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:54 +0000 (0:00:00.072) 0:00:37.273 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:54 +0000 (0:00:00.039) 0:00:37.313 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:54 +0000 (0:00:00.034) 0:00:37.347 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:54 +0000 (0:00:00.023) 0:00:37.371 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:54 +0000 (0:00:00.022) 0:00:37.394 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:33:56 +0000 (0:00:02.227) 0:00:39.621 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:33:57 +0000 (0:00:00.829) 0:00:40.451 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:33:57 +0000 (0:00:00.024) 0:00:40.476 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:33:57 +0000 (0:00:00.023) 0:00:40.499 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:33:57 +0000 (0:00:00.023) 0:00:40.522 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:33:57 +0000 (0:00:00.035) 0:00:40.557 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:33:57 +0000 (0:00:00.029) 0:00:40.587 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:33:57 +0000 (0:00:00.071) 0:00:40.658 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:33:57 +0000 (0:00:00.055) 0:00:40.714 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:33:57 +0000 (0:00:00.024) 0:00:40.739 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:33:57 +0000 (0:00:00.027) 0:00:40.767 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:33:57 +0000 (0:00:00.037) 0:00:40.804 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:33:58 +0000 (0:00:00.466) 0:00:41.271 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:33:58 +0000 (0:00:00.045) 0:00:41.317 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:33:58 +0000 (0:00:00.021) 0:00:41.338 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:33:58 +0000 (0:00:00.031) 0:00:41.370 *********** 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, 76f32887-539a-4dfe-a274-2a7ed81923c3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:33:58 +0000 (0:00:00.425) 0:00:41.796 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:33:58 +0000 (0:00:00.036) 0:00:41.832 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 76f32887-539a-4dfe-a274-2a7ed81923c3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:33:58 +0000 (0:00:00.050) 0:00:41.882 *********** 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, 76f32887-539a-4dfe-a274-2a7ed81923c3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 76f32887-539a-4dfe-a274-2a7ed81923c3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:33:58 +0000 (0:00:00.027) 0:00:41.909 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:33:58 +0000 (0:00:00.027) 0:00:41.937 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:33:58 +0000 (0:00:00.249) 0:00:42.187 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:33:59 +0000 (0:00:00.071) 0:00:42.258 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:33:59 +0000 (0:00:00.044) 0:00:42.302 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:33:59 +0000 (0:00:00.041) 0:00:42.344 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:33:59 +0000 (0:00:00.035) 0:00:42.380 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:33:59 +0000 (0:00:00.031) 0:00:42.412 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:33:59 +0000 (0:00:00.024) 0:00:42.436 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:01 +0000 (0:00:02.202) 0:00:44.639 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:02 +0000 (0:00:00.827) 0:00:45.466 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:02 +0000 (0:00:00.026) 0:00:45.492 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:02 +0000 (0:00:00.025) 0:00:45.517 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:02 +0000 (0:00:00.023) 0:00:45.541 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:02 +0000 (0:00:00.069) 0:00:45.610 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:02 +0000 (0:00:00.029) 0:00:45.640 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:02 +0000 (0:00:00.033) 0:00:45.674 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:02 +0000 (0:00:00.055) 0:00:45.729 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:02 +0000 (0:00:00.024) 0:00:45.753 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:02 +0000 (0:00:00.022) 0:00:45.776 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:02 +0000 (0:00:00.036) 0:00:45.812 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:03 +0000 (0:00:00.456) 0:00:46.269 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:03 +0000 (0:00:00.035) 0:00:46.305 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:03 +0000 (0:00:00.020) 0:00:46.325 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:03 +0000 (0:00:00.021) 0:00:46.346 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:03 +0000 (0:00:00.450) 0:00:46.796 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:03 +0000 (0:00:00.022) 0:00:46.819 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:03 +0000 (0:00:00.023) 0:00:46.842 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:03 +0000 (0:00:00.022) 0:00:46.865 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:03 +0000 (0:00:00.022) 0:00:46.887 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:34:03 +0000 (0:00:00.290) 0:00:47.178 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:34:03 +0000 (0:00:00.040) 0:00:47.218 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:34:04 +0000 (0:00:00.035) 0:00:47.254 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634833.5307386, "block_size": 4096, "blocks": 0, "ctime": 1718634833.5307386, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 44458, "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": 1718634833.5307386, "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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:34:04 +0000 (0:00:00.244) 0:00:47.499 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:34:04 +0000 (0:00:00.035) 0:00:47.534 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:34:04 +0000 (0:00:00.040) 0:00:47.574 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:34:04 +0000 (0:00:00.044) 0:00:47.619 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:34:04 +0000 (0:00:00.245) 0:00:47.864 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:34:04 +0000 (0:00:00.023) 0:00:47.887 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023154", "end": "2024-06-17 14:34:04.901050", "rc": 1, "start": "2024-06-17 14:34:04.877896" } 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:34:04 +0000 (0:00:00.268) 0:00:48.155 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:34:04 +0000 (0:00:00.023) 0:00:48.179 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:34:04 +0000 (0:00:00.022) 0:00:48.201 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:34:05 +0000 (0:00:00.055) 0:00:48.257 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:34:05 +0000 (0:00:00.021) 0:00:48.279 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:34:05 +0000 (0:00:00.024) 0:00:48.303 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:34:05 +0000 (0:00:00.036) 0:00:48.339 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:34:05 +0000 (0:00:00.040) 0:00:48.380 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:34:05 +0000 (0:00:00.023) 0:00:48.404 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:34:05 +0000 (0:00:00.038) 0:00:48.443 *********** ok: [sut] => { "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.069282", "end": "2024-06-17 14:34:05.503282", "rc": 0, "start": "2024-06-17 14:34:05.434000" } STDOUT: Connection 'statebr' (76f32887-539a-4dfe-a274-2a7ed81923c3) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tests_states.yml:102 Monday 17 June 2024 14:34:05 +0000 (0:00:00.326) 0:00:48.770 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:34:05 +0000 (0:00:00.035) 0:00:48.805 *********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:34:05 +0000 (0:00:00.023) 0:00:48.829 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:34:05 +0000 (0:00:00.043) 0:00:48.872 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:34:05 +0000 (0:00:00.032) 0:00:48.904 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:34:05 +0000 (0:00:00.030) 0:00:48.935 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003610", "end": "2024-06-17 14:34:05.929781", "rc": 0, "start": "2024-06-17 14:34:05.926171" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:34:06 +0000 (0:00:00.289) 0:00:49.224 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:34:06 +0000 (0:00:00.024) 0:00:49.248 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:34:06 +0000 (0:00:00.027) 0:00:49.276 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:34:06 +0000 (0:00:00.042) 0:00:49.318 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:06 +0000 (0:00:00.045) 0:00:49.364 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:06 +0000 (0:00:00.041) 0:00:49.405 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:06 +0000 (0:00:00.033) 0:00:49.438 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:06 +0000 (0:00:00.022) 0:00:49.461 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:06 +0000 (0:00:00.022) 0:00:49.483 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:08 +0000 (0:00:02.202) 0:00:51.686 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:09 +0000 (0:00:00.887) 0:00:52.574 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:09 +0000 (0:00:00.024) 0:00:52.598 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:09 +0000 (0:00:00.023) 0:00:52.621 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:09 +0000 (0:00:00.025) 0:00:52.647 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:09 +0000 (0:00:00.037) 0:00:52.685 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:09 +0000 (0:00:00.028) 0:00:52.713 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:09 +0000 (0:00:00.036) 0:00:52.750 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:09 +0000 (0:00:00.054) 0:00:52.804 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:09 +0000 (0:00:00.024) 0:00:52.829 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:09 +0000 (0:00:00.024) 0:00:52.854 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:09 +0000 (0:00:00.034) 0:00:52.888 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:10 +0000 (0:00:00.456) 0:00:53.345 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:10 +0000 (0:00:00.034) 0:00:53.379 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:10 +0000 (0:00:00.019) 0:00:53.399 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:10 +0000 (0:00:00.019) 0:00:53.419 *********** 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, db38e432-3282-42dc-8de7-dc85faece4ec TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:10 +0000 (0:00:00.500) 0:00:53.919 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:10 +0000 (0:00:00.070) 0:00:53.989 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db38e432-3282-42dc-8de7-dc85faece4ec" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:10 +0000 (0:00:00.024) 0:00:54.014 *********** 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, db38e432-3282-42dc-8de7-dc85faece4ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db38e432-3282-42dc-8de7-dc85faece4ec" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:10 +0000 (0:00:00.023) 0:00:54.037 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:10 +0000 (0:00:00.023) 0:00:54.061 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:34:11 +0000 (0:00:00.252) 0:00:54.313 *********** 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, db38e432-3282-42dc-8de7-dc85faece4ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db38e432-3282-42dc-8de7-dc85faece4ec" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:34:11 +0000 (0:00:00.024) 0:00:54.338 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:11 +0000 (0:00:00.045) 0:00:54.383 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:11 +0000 (0:00:00.041) 0:00:54.424 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:11 +0000 (0:00:00.034) 0:00:54.458 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:11 +0000 (0:00:00.023) 0:00:54.481 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:11 +0000 (0:00:00.025) 0:00:54.507 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:13 +0000 (0:00:02.191) 0:00:56.699 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:14 +0000 (0:00:00.886) 0:00:57.585 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:14 +0000 (0:00:00.025) 0:00:57.610 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:14 +0000 (0:00:00.023) 0:00:57.633 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:14 +0000 (0:00:00.024) 0:00:57.658 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:14 +0000 (0:00:00.036) 0:00:57.694 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:14 +0000 (0:00:00.028) 0:00:57.723 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:14 +0000 (0:00:00.036) 0:00:57.759 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:14 +0000 (0:00:00.053) 0:00:57.812 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:14 +0000 (0:00:00.023) 0:00:57.836 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:14 +0000 (0:00:00.026) 0:00:57.862 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:14 +0000 (0:00:00.037) 0:00:57.900 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:15 +0000 (0:00:00.457) 0:00:58.358 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:15 +0000 (0:00:00.034) 0:00:58.392 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:15 +0000 (0:00:00.020) 0:00:58.412 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:15 +0000 (0:00:00.019) 0:00:58.432 *********** 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, db38e432-3282-42dc-8de7-dc85faece4ec skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:15 +0000 (0:00:00.496) 0:00:58.928 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:15 +0000 (0:00:00.025) 0:00:58.954 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db38e432-3282-42dc-8de7-dc85faece4ec skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:15 +0000 (0:00:00.025) 0:00:58.979 *********** 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, db38e432-3282-42dc-8de7-dc85faece4ec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db38e432-3282-42dc-8de7-dc85faece4ec skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:15 +0000 (0:00:00.026) 0:00:59.006 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:15 +0000 (0:00:00.026) 0:00:59.033 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:34:16 +0000 (0:00:00.250) 0:00:59.284 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:16 +0000 (0:00:00.042) 0:00:59.327 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:16 +0000 (0:00:00.038) 0:00:59.365 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:16 +0000 (0:00:00.034) 0:00:59.399 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:16 +0000 (0:00:00.022) 0:00:59.422 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:16 +0000 (0:00:00.023) 0:00:59.445 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:18 +0000 (0:00:02.183) 0:01:01.629 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:19 +0000 (0:00:00.886) 0:01:02.515 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:19 +0000 (0:00:00.024) 0:01:02.539 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:19 +0000 (0:00:00.025) 0:01:02.564 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:19 +0000 (0:00:00.022) 0:01:02.587 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:19 +0000 (0:00:00.037) 0:01:02.625 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:19 +0000 (0:00:00.029) 0:01:02.654 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:19 +0000 (0:00:00.034) 0:01:02.689 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:19 +0000 (0:00:00.055) 0:01:02.744 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:19 +0000 (0:00:00.025) 0:01:02.770 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:19 +0000 (0:00:00.024) 0:01:02.795 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:19 +0000 (0:00:00.037) 0:01:02.832 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:20 +0000 (0:00:00.456) 0:01:03.288 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:20 +0000 (0:00:00.035) 0:01:03.323 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:20 +0000 (0:00:00.019) 0:01:03.343 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:20 +0000 (0:00:00.054) 0:01:03.397 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:20 +0000 (0:00:00.447) 0:01:03.845 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:20 +0000 (0:00:00.024) 0:01:03.869 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:20 +0000 (0:00:00.023) 0:01:03.893 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:20 +0000 (0:00:00.022) 0:01:03.916 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:20 +0000 (0:00:00.023) 0:01:03.939 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:34:20 +0000 (0:00:00.244) 0:01:04.184 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:34:20 +0000 (0:00:00.036) 0:01:04.220 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:21 +0000 (0:00:00.042) 0:01:04.262 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:21 +0000 (0:00:00.040) 0:01:04.302 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:21 +0000 (0:00:00.033) 0:01:04.336 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:21 +0000 (0:00:00.025) 0:01:04.362 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:21 +0000 (0:00:00.073) 0:01:04.436 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:23 +0000 (0:00:02.207) 0:01:06.643 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:24 +0000 (0:00:00.823) 0:01:07.466 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:24 +0000 (0:00:00.025) 0:01:07.491 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:24 +0000 (0:00:00.024) 0:01:07.516 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:24 +0000 (0:00:00.025) 0:01:07.542 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:24 +0000 (0:00:00.050) 0:01:07.592 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:24 +0000 (0:00:00.053) 0:01:07.646 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:24 +0000 (0:00:00.056) 0:01:07.703 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:24 +0000 (0:00:00.055) 0:01:07.759 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:24 +0000 (0:00:00.025) 0:01:07.784 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:24 +0000 (0:00:00.023) 0:01:07.808 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:24 +0000 (0:00:00.036) 0:01:07.845 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:25 +0000 (0:00:00.456) 0:01:08.302 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:25 +0000 (0:00:00.117) 0:01:08.419 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:25 +0000 (0:00:00.021) 0:01:08.441 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:25 +0000 (0:00:00.020) 0:01:08.461 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:25 +0000 (0:00:00.519) 0:01:08.980 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:25 +0000 (0:00:00.026) 0:01:09.007 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:25 +0000 (0:00:00.025) 0:01:09.033 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:25 +0000 (0:00:00.034) 0:01:09.067 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:25 +0000 (0:00:00.032) 0:01:09.099 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:34:26 +0000 (0:00:00.250) 0:01:09.350 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:34:26 +0000 (0:00:00.038) 0:01:09.388 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:34:26 +0000 (0:00:00.037) 0:01:09.425 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:34:26 +0000 (0:00:00.022) 0:01:09.448 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:34:26 +0000 (0:00:00.236) 0:01:09.685 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:34:26 +0000 (0:00:00.059) 0:01:09.744 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021493", "end": "2024-06-17 14:34:26.754481", "rc": 1, "start": "2024-06-17 14:34:26.732988" } 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:34:26 +0000 (0:00:00.260) 0:01:10.005 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:34:26 +0000 (0:00:00.029) 0:01:10.034 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:34:26 +0000 (0:00:00.022) 0:01:10.057 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:34:26 +0000 (0:00:00.020) 0:01:10.078 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:34:26 +0000 (0:00:00.020) 0:01:10.098 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:34:26 +0000 (0:00:00.020) 0:01:10.119 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:34:26 +0000 (0:00:00.023) 0:01:10.142 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:34:26 +0000 (0:00:00.051) 0:01:10.193 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:34:27 +0000 (0:00:00.037) 0:01:10.231 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:34:27 +0000 (0:00:00.241) 0:01:10.473 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:34:27 +0000 (0:00:00.024) 0:01:10.497 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:34:27 +0000 (0:00:00.021) 0:01:10.519 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:34:27 +0000 (0:00:00.069) 0:01:10.589 *********** 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.041702", "end": "2024-06-17 14:34:27.618320", "rc": 1, "start": "2024-06-17 14:34:27.576618" } 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-tft-tests6kb378cw/tests/playbooks/tests_states.yml:124 Monday 17 June 2024 14:34:27 +0000 (0:00:00.280) 0:01:10.869 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:34:27 +0000 (0:00:00.034) 0:01:10.904 *********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:34:27 +0000 (0:00:00.021) 0:01:10.925 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:34:27 +0000 (0:00:00.039) 0:01:10.965 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:34:27 +0000 (0:00:00.032) 0:01:10.997 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:34:27 +0000 (0:00:00.030) 0:01:11.028 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2024-06-17 14:34:28.018516", "rc": 0, "start": "2024-06-17 14:34:28.015112" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:34:28 +0000 (0:00:00.240) 0:01:11.269 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:34:28 +0000 (0:00:00.022) 0:01:11.291 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:34:28 +0000 (0:00:00.022) 0:01:11.314 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:34:28 +0000 (0:00:00.039) 0:01:11.353 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:28 +0000 (0:00:00.078) 0:01:11.432 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:28 +0000 (0:00:00.040) 0:01:11.472 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:28 +0000 (0:00:00.035) 0:01:11.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:28 +0000 (0:00:00.024) 0:01:11.532 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:28 +0000 (0:00:00.025) 0:01:11.557 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:30 +0000 (0:00:02.220) 0:01:13.778 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:31 +0000 (0:00:00.820) 0:01:14.598 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:31 +0000 (0:00:00.024) 0:01:14.623 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:31 +0000 (0:00:00.024) 0:01:14.647 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:31 +0000 (0:00:00.023) 0:01:14.670 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:31 +0000 (0:00:00.041) 0:01:14.712 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:31 +0000 (0:00:00.031) 0:01:14.744 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:31 +0000 (0:00:00.035) 0:01:14.779 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:31 +0000 (0:00:00.153) 0:01:14.933 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:31 +0000 (0:00:00.025) 0:01:14.958 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:31 +0000 (0:00:00.023) 0:01:14.982 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:31 +0000 (0:00:00.043) 0:01:15.025 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:32 +0000 (0:00:00.457) 0:01:15.483 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:32 +0000 (0:00:00.038) 0:01:15.521 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:32 +0000 (0:00:00.027) 0:01:15.548 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:32 +0000 (0:00:00.033) 0:01:15.582 *********** 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, a359de88-583d-4e94-882f-86403d56f24e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:32 +0000 (0:00:00.494) 0:01:16.077 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:32 +0000 (0:00:00.038) 0:01:16.116 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a359de88-583d-4e94-882f-86403d56f24e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:32 +0000 (0:00:00.025) 0:01:16.141 *********** 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, a359de88-583d-4e94-882f-86403d56f24e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a359de88-583d-4e94-882f-86403d56f24e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:32 +0000 (0:00:00.024) 0:01:16.166 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:32 +0000 (0:00:00.026) 0:01:16.192 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:34:33 +0000 (0:00:00.246) 0:01:16.439 *********** 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, a359de88-583d-4e94-882f-86403d56f24e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a359de88-583d-4e94-882f-86403d56f24e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:34:33 +0000 (0:00:00.023) 0:01:16.463 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:33 +0000 (0:00:00.107) 0:01:16.570 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:33 +0000 (0:00:00.048) 0:01:16.618 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:33 +0000 (0:00:00.037) 0:01:16.656 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:33 +0000 (0:00:00.023) 0:01:16.680 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:33 +0000 (0:00:00.024) 0:01:16.704 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:35 +0000 (0:00:02.198) 0:01:18.902 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:36 +0000 (0:00:00.818) 0:01:19.721 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:36 +0000 (0:00:00.025) 0:01:19.747 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:36 +0000 (0:00:00.031) 0:01:19.779 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:36 +0000 (0:00:00.027) 0:01:19.806 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:36 +0000 (0:00:00.041) 0:01:19.848 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:36 +0000 (0:00:00.086) 0:01:19.934 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:36 +0000 (0:00:00.040) 0:01:19.975 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:36 +0000 (0:00:00.054) 0:01:20.029 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:36 +0000 (0:00:00.024) 0:01:20.054 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:36 +0000 (0:00:00.022) 0:01:20.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:36 +0000 (0:00:00.036) 0:01:20.113 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:37 +0000 (0:00:00.457) 0:01:20.570 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:37 +0000 (0:00:00.049) 0:01:20.620 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:37 +0000 (0:00:00.035) 0:01:20.655 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:37 +0000 (0:00:00.025) 0:01:20.681 *********** 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, a359de88-583d-4e94-882f-86403d56f24e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:37 +0000 (0:00:00.428) 0:01:21.110 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:37 +0000 (0:00:00.032) 0:01:21.142 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a359de88-583d-4e94-882f-86403d56f24e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:37 +0000 (0:00:00.025) 0:01:21.167 *********** 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, a359de88-583d-4e94-882f-86403d56f24e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a359de88-583d-4e94-882f-86403d56f24e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:37 +0000 (0:00:00.025) 0:01:21.193 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:37 +0000 (0:00:00.026) 0:01:21.220 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:34:38 +0000 (0:00:00.246) 0:01:21.466 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:38 +0000 (0:00:00.118) 0:01:21.585 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:38 +0000 (0:00:00.052) 0:01:21.638 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:38 +0000 (0:00:00.049) 0:01:21.687 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:38 +0000 (0:00:00.026) 0:01:21.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:38 +0000 (0:00:00.028) 0:01:21.743 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:40 +0000 (0:00:02.182) 0:01:23.925 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:41 +0000 (0:00:00.818) 0:01:24.744 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:41 +0000 (0:00:00.023) 0:01:24.768 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:41 +0000 (0:00:00.025) 0:01:24.793 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:41 +0000 (0:00:00.024) 0:01:24.817 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:41 +0000 (0:00:00.037) 0:01:24.855 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:41 +0000 (0:00:00.069) 0:01:24.924 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:41 +0000 (0:00:00.036) 0:01:24.961 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:41 +0000 (0:00:00.053) 0:01:25.014 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:41 +0000 (0:00:00.025) 0:01:25.040 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:41 +0000 (0:00:00.026) 0:01:25.066 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:41 +0000 (0:00:00.035) 0:01:25.102 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:42 +0000 (0:00:00.455) 0:01:25.558 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:42 +0000 (0:00:00.035) 0:01:25.593 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:42 +0000 (0:00:00.019) 0:01:25.613 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:42 +0000 (0:00:00.019) 0:01:25.633 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:42 +0000 (0:00:00.521) 0:01:26.155 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:42 +0000 (0:00:00.023) 0:01:26.178 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:42 +0000 (0:00:00.023) 0:01:26.202 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:43 +0000 (0:00:00.023) 0:01:26.225 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:43 +0000 (0:00:00.022) 0:01:26.248 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:34:43 +0000 (0:00:00.282) 0:01:26.530 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:34:43 +0000 (0:00:00.036) 0:01:26.567 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:34:43 +0000 (0:00:00.043) 0:01:26.610 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:34:43 +0000 (0:00:00.039) 0:01:26.649 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:34:43 +0000 (0:00:00.034) 0:01:26.683 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:34:43 +0000 (0:00:00.022) 0:01:26.706 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:34:43 +0000 (0:00:00.023) 0:01:26.729 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:34:45 +0000 (0:00:02.189) 0:01:28.919 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:34:46 +0000 (0:00:00.819) 0:01:29.738 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:34:46 +0000 (0:00:00.026) 0:01:29.765 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:34:46 +0000 (0:00:00.082) 0:01:29.848 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:34:46 +0000 (0:00:00.063) 0:01:29.912 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:34:46 +0000 (0:00:00.048) 0:01:29.960 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:34:46 +0000 (0:00:00.033) 0:01:29.994 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:34:46 +0000 (0:00:00.038) 0:01:30.032 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:34:46 +0000 (0:00:00.066) 0:01:30.099 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:34:46 +0000 (0:00:00.040) 0:01:30.140 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:34:46 +0000 (0:00:00.028) 0:01:30.169 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:34:46 +0000 (0:00:00.038) 0:01:30.207 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:34:47 +0000 (0:00:00.458) 0:01:30.666 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:34:47 +0000 (0:00:00.037) 0:01:30.703 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:34:47 +0000 (0:00:00.023) 0:01:30.726 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:34:47 +0000 (0:00:00.023) 0:01:30.750 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:34:47 +0000 (0:00:00.469) 0:01:31.219 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:34:48 +0000 (0:00:00.028) 0:01:31.248 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:34:48 +0000 (0:00:00.027) 0:01:31.275 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:34:48 +0000 (0:00:00.028) 0:01:31.303 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:34:48 +0000 (0:00:00.160) 0:01:31.464 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:34:48 +0000 (0:00:00.256) 0:01:31.720 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:34:48 +0000 (0:00:00.044) 0:01:31.765 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:34:48 +0000 (0:00:00.037) 0:01:31.802 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:34:48 +0000 (0:00:00.022) 0:01:31.824 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:34:48 +0000 (0:00:00.238) 0:01:32.063 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:34:48 +0000 (0:00:00.019) 0:01:32.083 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021654", "end": "2024-06-17 14:34:49.092841", "rc": 1, "start": "2024-06-17 14:34:49.071187" } 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:34:49 +0000 (0:00:00.262) 0:01:32.345 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:34:49 +0000 (0:00:00.021) 0:01:32.366 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:34:49 +0000 (0:00:00.020) 0:01:32.387 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:34:49 +0000 (0:00:00.020) 0:01:32.407 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:34:49 +0000 (0:00:00.020) 0:01:32.428 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:34:49 +0000 (0:00:00.021) 0:01:32.450 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 17 June 2024 14:34:49 +0000 (0:00:00.068) 0:01:32.518 *********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.363582", "end": "2024-06-17 14:34:49.870235", "rc": 0, "start": "2024-06-17 14:34:49.506653" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 17 June 2024 14:34:49 +0000 (0:00:00.605) 0:01:33.124 *********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 17 June 2024 14:34:49 +0000 (0:00:00.023) 0:01:33.147 *********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:34:49 +0000 (0:00:00.022) 0:01:33.169 *********** included: /WORKDIR/git-tft-tests6kb378cw/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-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:34:49 +0000 (0:00:00.048) 0:01:33.218 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:34:50 +0000 (0:00:00.035) 0:01:33.253 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:34:50 +0000 (0:00:00.239) 0:01:33.492 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:34:50 +0000 (0:00:00.023) 0:01:33.516 *********** 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-tft-tests6kb378cw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:34:50 +0000 (0:00:00.023) 0:01:33.539 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:34:50 +0000 (0:00:00.042) 0:01:33.581 *********** 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.042351", "end": "2024-06-17 14:34:50.613224", "rc": 1, "start": "2024-06-17 14:34:50.570873" } 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-tft-tests6kb378cw/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:34:50 +0000 (0:00:00.284) 0:01:33.865 *********** 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.009275", "end": "2024-06-17 14:34:50.864069", "rc": 0, "start": "2024-06-17 14:34:50.854794" } 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:06:f2:4c:50:db brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.10.64/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 1922sec preferred_lft 1922sec inet6 fe80::ee47:66c6:3eaf:a70a/64 scope link noprefixroute valid_lft forever preferred_lft forever 38: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 96:3a:e9:c9:5b:bf brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.64 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.64 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:34:50 +0000 (0:00:00.261) 0:01:34.126 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=298 rescued=0 ignored=10 Monday 17 June 2024 14:34:51 +0000 (0:00:00.152) 0:01:34.279 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-tft-tests6kb378cw/.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.23s /WORKDIR/git-tft-tests6kb378cw/.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.22s /WORKDIR/git-tft-tests6kb378cw/.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.22s /WORKDIR/git-tft-tests6kb378cw/.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.21s /WORKDIR/git-tft-tests6kb378cw/.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.20s /WORKDIR/git-tft-tests6kb378cw/.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.20s /WORKDIR/git-tft-tests6kb378cw/.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.20s /WORKDIR/git-tft-tests6kb378cw/.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.20s /WORKDIR/git-tft-tests6kb378cw/.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.20s /WORKDIR/git-tft-tests6kb378cw/.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.19s /WORKDIR/git-tft-tests6kb378cw/.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.19s /WORKDIR/git-tft-tests6kb378cw/.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.18s /WORKDIR/git-tft-tests6kb378cw/.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.18s /WORKDIR/git-tft-tests6kb378cw/.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.18s /WORKDIR/git-tft-tests6kb378cw/.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.06s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.05s /WORKDIR/git-tft-tests6kb378cw/tests/tests_states_nm.yml:6 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-tft-tests6kb378cw/.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. ---^---^---^---^---^---