# 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-testsux2sg6yw/.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-testsux2sg6yw/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/tests_states_nm.yml:6 Monday 17 June 2024 14:27:42 +0000 (0:00:00.011) 0:00:00.011 *********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/tests_states_nm.yml:9 Monday 17 June 2024 14:27:45 +0000 (0:00:02.518) 0:00:02.530 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:27:45 +0000 (0:00:00.011) 0:00:02.542 *********** skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/tasks/el_repo_setup.yml:17 Monday 17 June 2024 14:27:45 +0000 (0:00:00.039) 0:00:02.581 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/tasks/el_repo_setup.yml:22 Monday 17 June 2024 14:27:45 +0000 (0:00:00.293) 0:00:02.875 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/tasks/el_repo_setup.yml:26 Monday 17 June 2024 14:27:45 +0000 (0:00:00.014) 0:00:02.889 *********** 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-testsux2sg6yw/tests/tasks/el_repo_setup.yml:51 Monday 17 June 2024 14:27:45 +0000 (0:00:00.027) 0:00:02.917 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 40] ********************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:27:45 +0000 (0:00:00.035) 0:00:02.952 *********** 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-testsux2sg6yw/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:27:45 +0000 (0:00:00.008) 0:00:02.960 *********** 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-testsux2sg6yw/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:27:45 +0000 (0:00:00.009) 0:00:02.969 *********** 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-testsux2sg6yw/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:27:45 +0000 (0:00:00.007) 0:00:02.977 *********** 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-testsux2sg6yw/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:27:45 +0000 (0:00:00.017) 0:00:02.995 *********** 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-testsux2sg6yw/tests/tests_states_nm.yml:11 Monday 17 June 2024 14:27:45 +0000 (0:00:00.009) 0:00:03.005 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tests_states.yml:3 Monday 17 June 2024 14:27:45 +0000 (0:00:00.025) 0:00:03.031 *********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tests_states.yml:11 Monday 17 June 2024 14:27:47 +0000 (0:00:02.233) 0:00:05.264 *********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tests_states.yml:22 Monday 17 June 2024 14:27:47 +0000 (0:00:00.011) 0:00:05.275 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:27:47 +0000 (0:00:00.014) 0:00:05.290 *********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:27:47 +0000 (0:00:00.016) 0:00:05.306 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:27:48 +0000 (0:00:00.044) 0:00:05.351 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.012) 0:00:05.363 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.010) 0:00:05.374 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003720", "end": "2024-06-17 14:27:48.328652", "rc": 0, "start": "2024-06-17 14:27:48.324932" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:27:48 +0000 (0:00:00.301) 0:00:05.676 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:27:48 +0000 (0:00:00.010) 0:00:05.687 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:27:48 +0000 (0:00:00.009) 0:00:05.697 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.017) 0:00:05.714 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009073", "end": "2024-06-17 14:27:48.612161", "rc": 1, "start": "2024-06-17 14:27:48.603088" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.244) 0:00:05.958 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.014) 0:00:05.973 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:27:48 +0000 (0:00:00.228) 0:00:06.202 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:27:48 +0000 (0:00:00.010) 0:00:06.212 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.014) 0:00:06.227 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:27:48 +0000 (0:00:00.024) 0:00:06.252 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:27:48 +0000 (0:00:00.025) 0:00:06.277 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:27:48 +0000 (0:00:00.021) 0:00:06.298 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:27:48 +0000 (0:00:00.014) 0:00:06.313 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:27:49 +0000 (0:00:00.014) 0:00:06.327 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:27:51 +0000 (0:00:02.725) 0:00:09.052 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:27:52 +0000 (0:00:01.000) 0:00:10.053 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:27:52 +0000 (0:00:00.022) 0:00:10.075 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:27:52 +0000 (0:00:00.027) 0:00:10.102 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:27:52 +0000 (0:00:00.023) 0:00:10.125 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:27:52 +0000 (0:00:00.037) 0:00:10.163 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:27:52 +0000 (0:00:00.028) 0:00:10.191 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:27:52 +0000 (0:00:00.034) 0:00:10.225 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:27:52 +0000 (0:00:00.096) 0:00:10.322 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:27:53 +0000 (0:00:00.023) 0:00:10.345 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:27:53 +0000 (0:00:00.023) 0:00:10.368 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:27:53 +0000 (0:00:00.034) 0:00:10.403 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:27:53 +0000 (0:00:00.626) 0:00:11.030 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:27:53 +0000 (0:00:00.034) 0:00:11.064 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:27:53 +0000 (0:00:00.019) 0:00:11.083 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:27:53 +0000 (0:00:00.019) 0:00:11.103 *********** 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, 51911418-8c8f-4e5c-9f79-da0af394feb1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:27:54 +0000 (0:00:00.613) 0:00:11.716 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:27:54 +0000 (0:00:00.025) 0:00:11.742 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51911418-8c8f-4e5c-9f79-da0af394feb1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:27:54 +0000 (0:00:00.024) 0:00:11.766 *********** 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, 51911418-8c8f-4e5c-9f79-da0af394feb1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51911418-8c8f-4e5c-9f79-da0af394feb1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:27:54 +0000 (0:00:00.025) 0:00:11.792 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:27:54 +0000 (0:00:00.025) 0:00:11.817 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:27:54 +0000 (0:00:00.388) 0:00:12.206 *********** 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, 51911418-8c8f-4e5c-9f79-da0af394feb1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51911418-8c8f-4e5c-9f79-da0af394feb1" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:27:54 +0000 (0:00:00.045) 0:00:12.252 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:27:55 +0000 (0:00:00.089) 0:00:12.341 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:27:55 +0000 (0:00:00.038) 0:00:12.380 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:27:55 +0000 (0:00:00.023) 0:00:12.403 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:27:55 +0000 (0:00:00.272) 0:00:12.676 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:27:55 +0000 (0:00:00.030) 0:00:12.706 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021592", "end": "2024-06-17 14:27:55.635758", "rc": 0, "start": "2024-06-17 14:27:55.614166" } 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:27:55 +0000 (0:00:00.288) 0:00:12.994 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:27:55 +0000 (0:00:00.033) 0:00:13.028 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:27:55 +0000 (0:00:00.029) 0:00:13.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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:27:55 +0000 (0:00:00.032) 0:00:13.090 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:27:55 +0000 (0:00:00.020) 0:00:13.110 *********** 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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:27:55 +0000 (0:00:00.022) 0:00:13.133 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:27:55 +0000 (0:00:00.023) 0:00:13.157 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:27:55 +0000 (0:00:00.023) 0:00:13.181 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:27:55 +0000 (0:00:00.021) 0:00:13.203 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:27:55 +0000 (0:00:00.077) 0:00:13.280 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:27:55 +0000 (0:00:00.035) 0:00:13.315 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634474.290644, "block_size": 4096, "blocks": 0, "ctime": 1718634474.290644, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43237, "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": 1718634474.290644, "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-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:27:56 +0000 (0:00:00.304) 0:00:13.620 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:27:56 +0000 (0:00:00.047) 0:00:13.667 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:27:56 +0000 (0:00:00.034) 0:00:13.702 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:27:56 +0000 (0:00:00.065) 0:00:13.767 *********** 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.068466", "end": "2024-06-17 14:27:56.730238", "rc": 1, "start": "2024-06-17 14:27:56.661772" } STDOUT: Connection 'statebr' (51911418-8c8f-4e5c-9f79-da0af394feb1) 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-testsux2sg6yw/tests/playbooks/tests_states.yml:45 Monday 17 June 2024 14:27:56 +0000 (0:00:00.344) 0:00:14.111 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:27:56 +0000 (0:00:00.090) 0:00:14.202 *********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:27:56 +0000 (0:00:00.044) 0:00:14.246 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:27:56 +0000 (0:00:00.045) 0:00:14.291 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:27:57 +0000 (0:00:00.057) 0:00:14.349 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:27:57 +0000 (0:00:00.077) 0:00:14.426 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003624", "end": "2024-06-17 14:27:57.316193", "rc": 0, "start": "2024-06-17 14:27:57.312569" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:27:57 +0000 (0:00:00.248) 0:00:14.675 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:27:57 +0000 (0:00:00.027) 0:00:14.702 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:27:57 +0000 (0:00:00.024) 0:00:14.726 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:27:57 +0000 (0:00:00.040) 0:00:14.767 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007045", "end": "2024-06-17 14:27:57.696542", "rc": 1, "start": "2024-06-17 14:27:57.689497" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:27:57 +0000 (0:00:00.289) 0:00:15.056 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:27:57 +0000 (0:00:00.033) 0:00:15.090 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:27:58 +0000 (0:00:00.251) 0:00:15.342 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:27:58 +0000 (0:00:00.028) 0:00:15.371 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 17 June 2024 14:27:58 +0000 (0:00:00.040) 0:00:15.411 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:27:58 +0000 (0:00:00.055) 0:00:15.466 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:27:58 +0000 (0:00:00.087) 0:00:15.553 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:27:58 +0000 (0:00:00.035) 0:00:15.589 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:27:58 +0000 (0:00:00.023) 0:00:15.613 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:27:58 +0000 (0:00:00.029) 0:00:15.642 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:00 +0000 (0:00:02.528) 0:00:18.171 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:01 +0000 (0:00:01.013) 0:00:19.185 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:01 +0000 (0:00:00.061) 0:00:19.246 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:01 +0000 (0:00:00.042) 0:00:19.289 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:01 +0000 (0:00:00.032) 0:00:19.321 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:02 +0000 (0:00:00.040) 0:00:19.362 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:02 +0000 (0:00:00.039) 0:00:19.402 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:02 +0000 (0:00:00.035) 0:00:19.438 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:02 +0000 (0:00:00.060) 0:00:19.498 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:02 +0000 (0:00:00.097) 0:00:19.595 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:02 +0000 (0:00:00.032) 0:00:19.627 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:02 +0000 (0:00:00.040) 0:00:19.667 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:02 +0000 (0:00:00.514) 0:00:20.182 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:02 +0000 (0:00:00.051) 0:00:20.233 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:02 +0000 (0:00:00.022) 0:00:20.256 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:02 +0000 (0:00:00.024) 0:00:20.280 *********** 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, 9fe7f2c8-d6af-44f9-8049-753c4b521c71 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:03 +0000 (0:00:00.420) 0:00:20.701 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:03 +0000 (0:00:00.023) 0:00:20.724 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9fe7f2c8-d6af-44f9-8049-753c4b521c71" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:03 +0000 (0:00:00.023) 0:00:20.747 *********** 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, 9fe7f2c8-d6af-44f9-8049-753c4b521c71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9fe7f2c8-d6af-44f9-8049-753c4b521c71" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:03 +0000 (0:00:00.023) 0:00:20.771 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:03 +0000 (0:00:00.022) 0:00:20.794 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 17 June 2024 14:28:03 +0000 (0:00:00.239) 0:00:21.033 *********** 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, 9fe7f2c8-d6af-44f9-8049-753c4b521c71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9fe7f2c8-d6af-44f9-8049-753c4b521c71" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:28:03 +0000 (0:00:00.021) 0:00:21.055 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:28:03 +0000 (0:00:00.063) 0:00:21.119 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:28:03 +0000 (0:00:00.032) 0:00:21.151 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:28:04 +0000 (0:00:00.238) 0:00:21.389 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:28:04 +0000 (0:00:00.025) 0:00:21.415 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:28:04 +0000 (0:00:00.036) 0:00:21.451 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:28:04 +0000 (0:00:00.022) 0:00:21.474 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:28:04 +0000 (0:00:00.232) 0:00:21.706 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:28:04 +0000 (0:00:00.019) 0:00:21.726 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020571", "end": "2024-06-17 14:28:04.623640", "rc": 0, "start": "2024-06-17 14:28:04.603069" } 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:28:04 +0000 (0:00:00.253) 0:00:21.979 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:28:04 +0000 (0:00:00.022) 0:00:22.002 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:28:04 +0000 (0:00:00.020) 0:00:22.023 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:28:04 +0000 (0:00:00.020) 0:00:22.043 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:28:04 +0000 (0:00:00.021) 0:00:22.065 *********** 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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:28:04 +0000 (0:00:00.020) 0:00:22.085 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:28:04 +0000 (0:00:00.023) 0:00:22.108 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:28:04 +0000 (0:00:00.049) 0:00:22.158 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:28:04 +0000 (0:00:00.022) 0:00:22.181 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:28:04 +0000 (0:00:00.028) 0:00:22.210 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:28:04 +0000 (0:00:00.021) 0:00:22.232 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:28:04 +0000 (0:00:00.036) 0:00:22.269 *********** 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.041133", "end": "2024-06-17 14:28:05.187900", "rc": 1, "start": "2024-06-17 14:28:05.146767" } STDOUT: Connection 'statebr' (9fe7f2c8-d6af-44f9-8049-753c4b521c71) 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-testsux2sg6yw/tests/playbooks/tests_states.yml:65 Monday 17 June 2024 14:28:05 +0000 (0:00:00.275) 0:00:22.544 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:28:05 +0000 (0:00:00.036) 0:00:22.581 *********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:28:05 +0000 (0:00:00.024) 0:00:22.605 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:28:05 +0000 (0:00:00.040) 0:00:22.646 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:28:05 +0000 (0:00:00.032) 0:00:22.679 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:28:05 +0000 (0:00:00.031) 0:00:22.710 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2024-06-17 14:28:05.592150", "rc": 0, "start": "2024-06-17 14:28:05.588579" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:28:05 +0000 (0:00:00.252) 0:00:22.963 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:28:05 +0000 (0:00:00.053) 0:00:23.016 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:28:05 +0000 (0:00:00.023) 0:00:23.040 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:28:05 +0000 (0:00:00.074) 0:00:23.115 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:05 +0000 (0:00:00.085) 0:00:23.201 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:05 +0000 (0:00:00.075) 0:00:23.276 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:05 +0000 (0:00:00.043) 0:00:23.320 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:06 +0000 (0:00:00.041) 0:00:23.361 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:06 +0000 (0:00:00.027) 0:00:23.389 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:08 +0000 (0:00:02.484) 0:00:25.873 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:09 +0000 (0:00:00.835) 0:00:26.709 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:09 +0000 (0:00:00.056) 0:00:26.766 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:09 +0000 (0:00:00.024) 0:00:26.790 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:09 +0000 (0:00:00.022) 0:00:26.812 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:09 +0000 (0:00:00.037) 0:00:26.850 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:09 +0000 (0:00:00.030) 0:00:26.880 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:09 +0000 (0:00:00.035) 0:00:26.916 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:09 +0000 (0:00:00.062) 0:00:26.979 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:09 +0000 (0:00:00.028) 0:00:27.007 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:09 +0000 (0:00:00.029) 0:00:27.036 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:09 +0000 (0:00:00.041) 0:00:27.078 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:10 +0000 (0:00:00.463) 0:00:27.541 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:10 +0000 (0:00:00.037) 0:00:27.579 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:10 +0000 (0:00:00.020) 0:00:27.600 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:10 +0000 (0:00:00.020) 0:00:27.620 *********** 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, c9c7d729-a49d-4639-a27d-225d818d7858 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:10 +0000 (0:00:00.495) 0:00:28.116 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:10 +0000 (0:00:00.024) 0:00:28.140 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9c7d729-a49d-4639-a27d-225d818d7858" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:10 +0000 (0:00:00.054) 0:00:28.195 *********** 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, c9c7d729-a49d-4639-a27d-225d818d7858\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9c7d729-a49d-4639-a27d-225d818d7858" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:10 +0000 (0:00:00.024) 0:00:28.220 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:10 +0000 (0:00:00.024) 0:00:28.244 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:28:11 +0000 (0:00:00.250) 0:00:28.494 *********** 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, c9c7d729-a49d-4639-a27d-225d818d7858\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9c7d729-a49d-4639-a27d-225d818d7858" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:28:11 +0000 (0:00:00.023) 0:00:28.518 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:28:11 +0000 (0:00:00.039) 0:00:28.557 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:11 +0000 (0:00:00.043) 0:00:28.601 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:11 +0000 (0:00:00.044) 0:00:28.645 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:11 +0000 (0:00:00.052) 0:00:28.698 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:11 +0000 (0:00:00.026) 0:00:28.724 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:11 +0000 (0:00:00.041) 0:00:28.766 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:14 +0000 (0:00:02.568) 0:00:31.335 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:14 +0000 (0:00:00.829) 0:00:32.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:14 +0000 (0:00:00.024) 0:00:32.189 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:14 +0000 (0:00:00.024) 0:00:32.213 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:14 +0000 (0:00:00.023) 0:00:32.236 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:14 +0000 (0:00:00.037) 0:00:32.273 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:14 +0000 (0:00:00.030) 0:00:32.304 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:15 +0000 (0:00:00.037) 0:00:32.342 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:15 +0000 (0:00:00.082) 0:00:32.424 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:15 +0000 (0:00:00.046) 0:00:32.471 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:15 +0000 (0:00:00.049) 0:00:32.520 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:15 +0000 (0:00:00.056) 0:00:32.576 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:15 +0000 (0:00:00.465) 0:00:33.041 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:15 +0000 (0:00:00.035) 0:00:33.077 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:15 +0000 (0:00:00.065) 0:00:33.142 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:15 +0000 (0:00:00.030) 0:00:33.173 *********** 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, c9c7d729-a49d-4639-a27d-225d818d7858 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:16 +0000 (0:00:00.451) 0:00:33.624 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:16 +0000 (0:00:00.026) 0:00:33.651 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9c7d729-a49d-4639-a27d-225d818d7858 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:16 +0000 (0:00:00.025) 0:00:33.676 *********** 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, c9c7d729-a49d-4639-a27d-225d818d7858 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9c7d729-a49d-4639-a27d-225d818d7858 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:16 +0000 (0:00:00.027) 0:00:33.703 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:16 +0000 (0:00:00.025) 0:00:33.729 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:28:16 +0000 (0:00:00.287) 0:00:34.017 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:28:16 +0000 (0:00:00.055) 0:00:34.073 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:28:16 +0000 (0:00:00.037) 0:00:34.110 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634490.7058554, "block_size": 4096, "blocks": 0, "ctime": 1718634490.7058554, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43368, "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": 1718634490.7058554, "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-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:28:17 +0000 (0:00:00.277) 0:00:34.388 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:28:17 +0000 (0:00:00.025) 0:00:34.413 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:28:17 +0000 (0:00:00.071) 0:00:34.485 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:28:17 +0000 (0:00:00.022) 0:00:34.508 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:28:17 +0000 (0:00:00.260) 0:00:34.768 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:28:17 +0000 (0:00:00.021) 0:00:34.790 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021820", "end": "2024-06-17 14:28:17.695715", "rc": 0, "start": "2024-06-17 14:28:17.673895" } 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:28:17 +0000 (0:00:00.265) 0:00:35.055 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:28:17 +0000 (0:00:00.024) 0:00:35.080 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:28:17 +0000 (0:00:00.023) 0:00:35.104 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:28:17 +0000 (0:00:00.035) 0:00:35.140 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:28:17 +0000 (0:00:00.023) 0:00:35.163 *********** 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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:28:17 +0000 (0:00:00.026) 0:00:35.190 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:28:17 +0000 (0:00:00.024) 0:00:35.215 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:28:17 +0000 (0:00:00.024) 0:00:35.240 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:28:17 +0000 (0:00:00.023) 0:00:35.263 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:28:17 +0000 (0:00:00.027) 0:00:35.291 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:28:17 +0000 (0:00:00.026) 0:00:35.317 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:28:18 +0000 (0:00:00.037) 0:00:35.355 *********** 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.073594", "end": "2024-06-17 14:28:18.313484", "rc": 1, "start": "2024-06-17 14:28:18.239890" } STDOUT: Connection 'statebr' (c9c7d729-a49d-4639-a27d-225d818d7858) 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-testsux2sg6yw/tests/playbooks/tests_states.yml:83 Monday 17 June 2024 14:28:18 +0000 (0:00:00.356) 0:00:35.711 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:28:18 +0000 (0:00:00.034) 0:00:35.746 *********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:28:18 +0000 (0:00:00.021) 0:00:35.767 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:28:18 +0000 (0:00:00.040) 0:00:35.808 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:28:18 +0000 (0:00:00.033) 0:00:35.842 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:28:18 +0000 (0:00:00.033) 0:00:35.875 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003599", "end": "2024-06-17 14:28:18.762780", "rc": 0, "start": "2024-06-17 14:28:18.759181" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:28:18 +0000 (0:00:00.242) 0:00:36.118 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:28:18 +0000 (0:00:00.022) 0:00:36.140 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:28:18 +0000 (0:00:00.022) 0:00:36.163 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:28:18 +0000 (0:00:00.043) 0:00:36.206 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:18 +0000 (0:00:00.076) 0:00:36.283 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:19 +0000 (0:00:00.041) 0:00:36.324 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:19 +0000 (0:00:00.035) 0:00:36.360 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:19 +0000 (0:00:00.023) 0:00:36.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 : Check which services are running] **** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:19 +0000 (0:00:00.024) 0:00:36.408 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:21 +0000 (0:00:02.631) 0:00:39.039 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:22 +0000 (0:00:00.827) 0:00:39.867 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:22 +0000 (0:00:00.023) 0:00:39.891 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:22 +0000 (0:00:00.023) 0:00:39.914 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:22 +0000 (0:00:00.022) 0:00:39.937 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:22 +0000 (0:00:00.036) 0:00:39.974 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:22 +0000 (0:00:00.028) 0:00:40.003 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:22 +0000 (0:00:00.034) 0:00:40.037 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:22 +0000 (0:00:00.125) 0:00:40.163 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:22 +0000 (0:00:00.024) 0:00:40.188 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:22 +0000 (0:00:00.024) 0:00:40.213 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:22 +0000 (0:00:00.036) 0:00:40.249 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:23 +0000 (0:00:00.469) 0:00:40.719 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:23 +0000 (0:00:00.035) 0:00:40.754 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:23 +0000 (0:00:00.020) 0:00:40.774 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:23 +0000 (0:00:00.020) 0:00:40.795 *********** 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, d482b7dd-f8a7-4d1b-a933-fad8956286f7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:23 +0000 (0:00:00.523) 0:00:41.319 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:24 +0000 (0:00:00.025) 0:00:41.344 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d482b7dd-f8a7-4d1b-a933-fad8956286f7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:24 +0000 (0:00:00.041) 0:00:41.386 *********** 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, d482b7dd-f8a7-4d1b-a933-fad8956286f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d482b7dd-f8a7-4d1b-a933-fad8956286f7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:24 +0000 (0:00:00.026) 0:00:41.412 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:24 +0000 (0:00:00.037) 0:00:41.449 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:28:24 +0000 (0:00:00.254) 0:00:41.704 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d482b7dd-f8a7-4d1b-a933-fad8956286f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d482b7dd-f8a7-4d1b-a933-fad8956286f7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:28:24 +0000 (0:00:00.026) 0:00:41.730 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:24 +0000 (0:00:00.081) 0:00:41.812 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:24 +0000 (0:00:00.042) 0:00:41.854 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:24 +0000 (0:00:00.038) 0:00:41.892 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:24 +0000 (0:00:00.024) 0:00:41.917 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:24 +0000 (0:00:00.025) 0:00:41.942 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:27 +0000 (0:00:02.635) 0:00:44.578 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:28 +0000 (0:00:00.827) 0:00:45.405 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:28 +0000 (0:00:00.024) 0:00:45.429 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:28 +0000 (0:00:00.025) 0:00:45.455 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:28 +0000 (0:00:00.023) 0:00:45.479 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:28 +0000 (0:00:00.048) 0:00:45.527 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:28 +0000 (0:00:00.069) 0:00:45.597 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:28 +0000 (0:00:00.036) 0:00:45.633 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:28 +0000 (0:00:00.055) 0:00:45.688 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:28 +0000 (0:00:00.024) 0:00:45.713 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:28 +0000 (0:00:00.023) 0:00:45.736 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:28 +0000 (0:00:00.035) 0:00:45.772 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:28 +0000 (0:00:00.466) 0:00:46.238 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:28 +0000 (0:00:00.035) 0:00:46.274 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:28 +0000 (0:00:00.020) 0:00:46.294 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:28 +0000 (0:00:00.020) 0:00:46.315 *********** 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, d482b7dd-f8a7-4d1b-a933-fad8956286f7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:29 +0000 (0:00:00.428) 0:00:46.743 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:29 +0000 (0:00:00.027) 0:00:46.770 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d482b7dd-f8a7-4d1b-a933-fad8956286f7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:29 +0000 (0:00:00.026) 0:00:46.797 *********** 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, d482b7dd-f8a7-4d1b-a933-fad8956286f7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d482b7dd-f8a7-4d1b-a933-fad8956286f7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:29 +0000 (0:00:00.023) 0:00:46.821 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:29 +0000 (0:00:00.024) 0:00:46.845 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:28:29 +0000 (0:00:00.253) 0:00:47.098 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:28:29 +0000 (0:00:00.074) 0:00:47.173 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:29 +0000 (0:00:00.045) 0:00:47.218 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:29 +0000 (0:00:00.043) 0:00:47.261 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:29 +0000 (0:00:00.035) 0:00:47.297 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:29 +0000 (0:00:00.026) 0:00:47.324 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:30 +0000 (0:00:00.027) 0:00:47.351 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:32 +0000 (0:00:02.678) 0:00:50.029 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:33 +0000 (0:00:00.821) 0:00:50.851 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:33 +0000 (0:00:00.023) 0:00:50.874 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:33 +0000 (0:00:00.022) 0:00:50.897 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:33 +0000 (0:00:00.053) 0:00:50.951 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:33 +0000 (0:00:00.037) 0:00:50.989 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:33 +0000 (0:00:00.028) 0:00:51.017 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:33 +0000 (0:00:00.037) 0:00:51.055 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:33 +0000 (0:00:00.053) 0:00:51.108 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:33 +0000 (0:00:00.023) 0:00:51.131 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:33 +0000 (0:00:00.023) 0:00:51.155 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:33 +0000 (0:00:00.034) 0:00:51.190 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:34 +0000 (0:00:00.462) 0:00:51.652 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:34 +0000 (0:00:00.038) 0:00:51.691 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:34 +0000 (0:00:00.021) 0:00:51.712 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:34 +0000 (0:00:00.021) 0:00:51.733 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:34 +0000 (0:00:00.452) 0:00:52.185 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:34 +0000 (0:00:00.024) 0:00:52.210 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:34 +0000 (0:00:00.047) 0:00:52.257 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:34 +0000 (0:00:00.028) 0:00:52.286 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:35 +0000 (0:00:00.068) 0:00:52.355 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:28:35 +0000 (0:00:00.263) 0:00:52.618 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:28:35 +0000 (0:00:00.041) 0:00:52.659 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:28:35 +0000 (0:00:00.032) 0:00:52.692 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634503.8642063, "block_size": 4096, "blocks": 0, "ctime": 1718634503.8642063, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43499, "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": 1718634503.8642063, "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-testsux2sg6yw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:28:35 +0000 (0:00:00.245) 0:00:52.937 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:28:35 +0000 (0:00:00.023) 0:00:52.960 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:28:35 +0000 (0:00:00.035) 0:00:52.995 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:28:35 +0000 (0:00:00.022) 0:00:53.017 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:28:35 +0000 (0:00:00.244) 0:00:53.262 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:28:35 +0000 (0:00:00.020) 0:00:53.283 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022116", "end": "2024-06-17 14:28:36.190216", "rc": 1, "start": "2024-06-17 14:28:36.168100" } 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:28:36 +0000 (0:00:00.263) 0:00:53.546 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:28:36 +0000 (0:00:00.022) 0:00:53.568 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:28:36 +0000 (0:00:00.052) 0:00:53.621 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:28:36 +0000 (0:00:00.021) 0:00:53.642 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:28:36 +0000 (0:00:00.020) 0:00:53.663 *********** 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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:28:36 +0000 (0:00:00.020) 0:00:53.684 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:28:36 +0000 (0:00:00.022) 0:00:53.707 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:28:36 +0000 (0:00:00.036) 0:00:53.743 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:28:36 +0000 (0:00:00.035) 0:00:53.778 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:28:36 +0000 (0:00:00.053) 0:00:53.832 *********** 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.083788", "end": "2024-06-17 14:28:36.801683", "rc": 0, "start": "2024-06-17 14:28:36.717895" } STDOUT: Connection 'statebr' (d482b7dd-f8a7-4d1b-a933-fad8956286f7) 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-testsux2sg6yw/tests/playbooks/tests_states.yml:102 Monday 17 June 2024 14:28:36 +0000 (0:00:00.343) 0:00:54.175 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:28:36 +0000 (0:00:00.033) 0:00:54.208 *********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:28:36 +0000 (0:00:00.022) 0:00:54.231 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:28:36 +0000 (0:00:00.039) 0:00:54.271 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:28:36 +0000 (0:00:00.032) 0:00:54.303 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:28:37 +0000 (0:00:00.066) 0:00:54.370 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-06-17 14:28:37.263964", "rc": 0, "start": "2024-06-17 14:28:37.260300" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:28:37 +0000 (0:00:00.250) 0:00:54.621 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:28:37 +0000 (0:00:00.023) 0:00:54.645 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:28:37 +0000 (0:00:00.021) 0:00:54.667 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:28:37 +0000 (0:00:00.040) 0:00:54.707 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:37 +0000 (0:00:00.043) 0:00:54.751 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:37 +0000 (0:00:00.042) 0:00:54.794 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:37 +0000 (0:00:00.034) 0:00:54.829 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:37 +0000 (0:00:00.033) 0:00:54.862 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:37 +0000 (0:00:00.028) 0:00:54.891 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:40 +0000 (0:00:02.656) 0:00:57.548 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:41 +0000 (0:00:00.915) 0:00:58.463 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:41 +0000 (0:00:00.025) 0:00:58.488 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:41 +0000 (0:00:00.045) 0:00:58.534 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:41 +0000 (0:00:00.046) 0:00:58.581 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:41 +0000 (0:00:00.038) 0:00:58.619 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:41 +0000 (0:00:00.029) 0:00:58.649 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:41 +0000 (0:00:00.035) 0:00:58.685 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:41 +0000 (0:00:00.053) 0:00:58.738 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:41 +0000 (0:00:00.023) 0:00:58.761 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:41 +0000 (0:00:00.025) 0:00:58.787 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:41 +0000 (0:00:00.037) 0:00:58.825 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:41 +0000 (0:00:00.466) 0:00:59.292 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:42 +0000 (0:00:00.041) 0:00:59.333 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:42 +0000 (0:00:00.021) 0:00:59.355 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:42 +0000 (0:00:00.022) 0:00:59.377 *********** 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, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:42 +0000 (0:00:00.580) 0:00:59.958 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:42 +0000 (0:00:00.027) 0:00:59.986 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:42 +0000 (0:00:00.025) 0:01:00.011 *********** 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, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:42 +0000 (0:00:00.028) 0:01:00.039 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:42 +0000 (0:00:00.027) 0:01:00.067 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:28:43 +0000 (0:00:00.269) 0:01:00.336 *********** 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, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:28:43 +0000 (0:00:00.031) 0:01:00.368 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:43 +0000 (0:00:00.053) 0:01:00.421 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:43 +0000 (0:00:00.045) 0:01:00.467 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:43 +0000 (0:00:00.038) 0:01:00.505 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:43 +0000 (0:00:00.024) 0:01:00.530 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:43 +0000 (0:00:00.033) 0:01:00.564 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:45 +0000 (0:00:02.724) 0:01:03.289 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:46 +0000 (0:00:00.826) 0:01:04.115 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:46 +0000 (0:00:00.026) 0:01:04.142 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:46 +0000 (0:00:00.024) 0:01:04.166 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:46 +0000 (0:00:00.026) 0:01:04.193 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:46 +0000 (0:00:00.038) 0:01:04.232 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:46 +0000 (0:00:00.030) 0:01:04.263 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:46 +0000 (0:00:00.038) 0:01:04.301 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:47 +0000 (0:00:00.054) 0:01:04.355 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:47 +0000 (0:00:00.024) 0:01:04.380 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:47 +0000 (0:00:00.025) 0:01:04.405 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:47 +0000 (0:00:00.035) 0:01:04.441 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:47 +0000 (0:00:00.471) 0:01:04.912 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:47 +0000 (0:00:00.047) 0:01:04.960 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:47 +0000 (0:00:00.060) 0:01:05.020 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:47 +0000 (0:00:00.021) 0:01:05.041 *********** 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, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:48 +0000 (0:00:00.435) 0:01:05.476 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:48 +0000 (0:00:00.049) 0:01:05.526 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:48 +0000 (0:00:00.029) 0:01:05.555 *********** 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, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6af7a73-1bd2-4ba6-b962-46bf58aefd1a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:48 +0000 (0:00:00.038) 0:01:05.594 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:48 +0000 (0:00:00.048) 0:01:05.642 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:28:48 +0000 (0:00:00.340) 0:01:05.983 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:48 +0000 (0:00:00.058) 0:01:06.041 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:48 +0000 (0:00:00.054) 0:01:06.095 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:48 +0000 (0:00:00.036) 0:01:06.132 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:48 +0000 (0:00:00.024) 0:01:06.156 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:48 +0000 (0:00:00.022) 0:01:06.179 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:51 +0000 (0:00:02.766) 0:01:08.946 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:52 +0000 (0:00:00.835) 0:01:09.781 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:52 +0000 (0:00:00.024) 0:01:09.806 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:52 +0000 (0:00:00.026) 0:01:09.832 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:52 +0000 (0:00:00.027) 0:01:09.859 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:52 +0000 (0:00:00.040) 0:01:09.900 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:52 +0000 (0:00:00.031) 0:01:09.931 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:52 +0000 (0:00:00.038) 0:01:09.970 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:52 +0000 (0:00:00.055) 0:01:10.025 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:52 +0000 (0:00:00.025) 0:01:10.051 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:52 +0000 (0:00:00.023) 0:01:10.075 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:52 +0000 (0:00:00.037) 0:01:10.112 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:53 +0000 (0:00:00.476) 0:01:10.588 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:53 +0000 (0:00:00.037) 0:01:10.626 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:53 +0000 (0:00:00.063) 0:01:10.689 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:53 +0000 (0:00:00.022) 0:01:10.711 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:53 +0000 (0:00:00.462) 0:01:11.174 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:53 +0000 (0:00:00.026) 0:01:11.200 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:53 +0000 (0:00:00.024) 0:01:11.225 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:53 +0000 (0:00:00.023) 0:01:11.248 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:53 +0000 (0:00:00.025) 0:01:11.274 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:28:54 +0000 (0:00:00.256) 0:01:11.530 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:28:54 +0000 (0:00:00.036) 0:01:11.567 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:28:54 +0000 (0:00:00.042) 0:01:11.610 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:28:54 +0000 (0:00:00.039) 0:01:11.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:28:54 +0000 (0:00:00.068) 0:01:11.718 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:28:54 +0000 (0:00:00.024) 0:01:11.742 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:28:54 +0000 (0:00:00.025) 0:01:11.768 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:28:57 +0000 (0:00:02.699) 0:01:14.468 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:28:57 +0000 (0:00:00.834) 0:01:15.302 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:28:58 +0000 (0:00:00.023) 0:01:15.326 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:28:58 +0000 (0:00:00.024) 0:01:15.350 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:28:58 +0000 (0:00:00.023) 0:01:15.373 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:28:58 +0000 (0:00:00.037) 0:01:15.410 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:28:58 +0000 (0:00:00.033) 0:01:15.444 *********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:28:58 +0000 (0:00:00.037) 0:01:15.481 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:28:58 +0000 (0:00:00.056) 0:01:15.538 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:28:58 +0000 (0:00:00.026) 0:01:15.565 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:28:58 +0000 (0:00:00.023) 0:01:15.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:28:58 +0000 (0:00:00.081) 0:01:15.670 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:28:58 +0000 (0:00:00.479) 0:01:16.150 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:28:58 +0000 (0:00:00.037) 0:01:16.188 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:28:58 +0000 (0:00:00.027) 0:01:16.215 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:28:58 +0000 (0:00:00.028) 0:01:16.244 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:28:59 +0000 (0:00:00.572) 0:01:16.817 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:28:59 +0000 (0:00:00.024) 0:01:16.841 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:28:59 +0000 (0:00:00.023) 0:01:16.864 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:28:59 +0000 (0:00:00.023) 0:01:16.887 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:28:59 +0000 (0:00:00.023) 0:01:16.911 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:28:59 +0000 (0:00:00.255) 0:01:17.166 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:28:59 +0000 (0:00:00.038) 0:01:17.205 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:28:59 +0000 (0:00:00.034) 0:01:17.239 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:28:59 +0000 (0:00:00.062) 0:01:17.301 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:29:00 +0000 (0:00:00.245) 0:01:17.547 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:29:00 +0000 (0:00:00.022) 0:01:17.569 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020626", "end": "2024-06-17 14:29:00.478555", "rc": 1, "start": "2024-06-17 14:29:00.457929" } 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:29:00 +0000 (0:00:00.266) 0:01:17.836 *********** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:29:00 +0000 (0:00:00.021) 0:01:17.857 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:29:00 +0000 (0:00:00.021) 0:01:17.878 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:29:00 +0000 (0:00:00.022) 0:01:17.901 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:29:00 +0000 (0:00:00.027) 0:01:17.928 *********** 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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:29:00 +0000 (0:00:00.032) 0:01:17.960 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:29:00 +0000 (0:00:00.027) 0:01:17.988 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:29:00 +0000 (0:00:00.054) 0:01:18.042 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:29:00 +0000 (0:00:00.032) 0:01:18.075 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:29:01 +0000 (0:00:00.248) 0:01:18.324 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:29:01 +0000 (0:00:00.023) 0:01:18.348 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:29:01 +0000 (0:00:00.021) 0:01:18.370 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:29:01 +0000 (0:00:00.071) 0:01:18.441 *********** 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.042756", "end": "2024-06-17 14:29:01.373128", "rc": 1, "start": "2024-06-17 14:29:01.330372" } 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-testsux2sg6yw/tests/playbooks/tests_states.yml:124 Monday 17 June 2024 14:29:01 +0000 (0:00:00.289) 0:01:18.730 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:29:01 +0000 (0:00:00.034) 0:01:18.764 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:29:01 +0000 (0:00:00.023) 0:01:18.788 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:29:01 +0000 (0:00:00.041) 0:01:18.829 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:29:01 +0000 (0:00:00.034) 0:01:18.863 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:29:01 +0000 (0:00:00.032) 0:01:18.896 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003760", "end": "2024-06-17 14:29:01.791520", "rc": 0, "start": "2024-06-17 14:29:01.787760" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:29:01 +0000 (0:00:00.253) 0:01:19.149 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:29:01 +0000 (0:00:00.024) 0:01:19.173 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:29:01 +0000 (0:00:00.022) 0:01:19.195 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:29:01 +0000 (0:00:00.041) 0:01:19.237 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:29:02 +0000 (0:00:00.097) 0:01:19.334 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:29:02 +0000 (0:00:00.042) 0:01:19.376 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:29:02 +0000 (0:00:00.040) 0:01:19.417 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:29:02 +0000 (0:00:00.026) 0:01:19.443 *********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:29:02 +0000 (0:00:00.024) 0:01:19.468 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:29:04 +0000 (0:00:02.701) 0:01:22.169 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:29:05 +0000 (0:00:00.833) 0:01:23.003 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:29:05 +0000 (0:00:00.023) 0:01:23.026 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:29:05 +0000 (0:00:00.025) 0:01:23.052 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:29:05 +0000 (0:00:00.024) 0:01:23.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:29:05 +0000 (0:00:00.037) 0:01:23.114 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:29:05 +0000 (0:00:00.068) 0:01:23.183 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:29:05 +0000 (0:00:00.036) 0:01:23.219 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:29:05 +0000 (0:00:00.053) 0:01:23.272 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:29:05 +0000 (0:00:00.024) 0:01:23.297 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:29:05 +0000 (0:00:00.026) 0:01:23.323 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:29:06 +0000 (0:00:00.069) 0:01:23.393 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:29:06 +0000 (0:00:00.487) 0:01:23.881 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:29:06 +0000 (0:00:00.037) 0:01:23.919 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:29:06 +0000 (0:00:00.024) 0:01:23.943 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:29:06 +0000 (0:00:00.022) 0:01:23.966 *********** 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, a597f17e-a2f2-47c7-92fe-52d20e6446b4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:29:07 +0000 (0:00:00.525) 0:01:24.491 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:29:07 +0000 (0:00:00.028) 0:01:24.520 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a597f17e-a2f2-47c7-92fe-52d20e6446b4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:29:07 +0000 (0:00:00.030) 0:01:24.550 *********** 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, a597f17e-a2f2-47c7-92fe-52d20e6446b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a597f17e-a2f2-47c7-92fe-52d20e6446b4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:29:07 +0000 (0:00:00.027) 0:01:24.577 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:29:07 +0000 (0:00:00.027) 0:01:24.605 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:29:07 +0000 (0:00:00.294) 0:01:24.900 *********** 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, a597f17e-a2f2-47c7-92fe-52d20e6446b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a597f17e-a2f2-47c7-92fe-52d20e6446b4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:29:07 +0000 (0:00:00.023) 0:01:24.923 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:29:07 +0000 (0:00:00.042) 0:01:24.966 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:29:07 +0000 (0:00:00.040) 0:01:25.007 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:29:07 +0000 (0:00:00.036) 0:01:25.043 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:29:07 +0000 (0:00:00.024) 0:01:25.068 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:29:07 +0000 (0:00:00.023) 0:01:25.092 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:29:10 +0000 (0:00:02.675) 0:01:27.767 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:29:11 +0000 (0:00:00.842) 0:01:28.609 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:29:11 +0000 (0:00:00.033) 0:01:28.643 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:29:11 +0000 (0:00:00.032) 0:01:28.675 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:29:11 +0000 (0:00:00.071) 0:01:28.746 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:29:11 +0000 (0:00:00.036) 0:01:28.783 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:29:11 +0000 (0:00:00.029) 0:01:28.812 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:29:11 +0000 (0:00:00.035) 0:01:28.847 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:29:11 +0000 (0:00:00.052) 0:01:28.899 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:29:11 +0000 (0:00:00.023) 0:01:28.923 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:29:11 +0000 (0:00:00.023) 0:01:28.947 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:29:11 +0000 (0:00:00.034) 0:01:28.981 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:29:12 +0000 (0:00:00.471) 0:01:29.452 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:29:12 +0000 (0:00:00.035) 0:01:29.488 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:29:12 +0000 (0:00:00.020) 0:01:29.508 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:29:12 +0000 (0:00:00.019) 0:01:29.528 *********** 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, a597f17e-a2f2-47c7-92fe-52d20e6446b4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:29:12 +0000 (0:00:00.434) 0:01:29.962 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:29:12 +0000 (0:00:00.025) 0:01:29.987 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a597f17e-a2f2-47c7-92fe-52d20e6446b4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:29:12 +0000 (0:00:00.025) 0:01:30.013 *********** 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, a597f17e-a2f2-47c7-92fe-52d20e6446b4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a597f17e-a2f2-47c7-92fe-52d20e6446b4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:29:12 +0000 (0:00:00.028) 0:01:30.041 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:29:12 +0000 (0:00:00.032) 0:01:30.073 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:29:13 +0000 (0:00:00.321) 0:01:30.395 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:29:13 +0000 (0:00:00.050) 0:01:30.446 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:29:13 +0000 (0:00:00.040) 0:01:30.487 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:29:13 +0000 (0:00:00.034) 0:01:30.521 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:29:13 +0000 (0:00:00.023) 0:01:30.544 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:29:13 +0000 (0:00:00.024) 0:01:30.568 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:29:15 +0000 (0:00:02.647) 0:01:33.216 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:29:16 +0000 (0:00:00.818) 0:01:34.035 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:29:16 +0000 (0:00:00.025) 0:01:34.060 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:29:16 +0000 (0:00:00.033) 0:01:34.094 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:29:16 +0000 (0:00:00.076) 0:01:34.171 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:29:16 +0000 (0:00:00.038) 0:01:34.209 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:29:16 +0000 (0:00:00.030) 0:01:34.240 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:29:16 +0000 (0:00:00.036) 0:01:34.277 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:29:17 +0000 (0:00:00.054) 0:01:34.331 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:29:17 +0000 (0:00:00.024) 0:01:34.356 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:29:17 +0000 (0:00:00.027) 0:01:34.383 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:29:17 +0000 (0:00:00.035) 0:01:34.419 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:29:17 +0000 (0:00:00.472) 0:01:34.892 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:29:17 +0000 (0:00:00.035) 0:01:34.928 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:29:17 +0000 (0:00:00.020) 0:01:34.948 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:29:17 +0000 (0:00:00.020) 0:01:34.969 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:29:18 +0000 (0:00:00.553) 0:01:35.523 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:29:18 +0000 (0:00:00.024) 0:01:35.547 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:29:18 +0000 (0:00:00.023) 0:01:35.571 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:29:18 +0000 (0:00:00.023) 0:01:35.594 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:29:18 +0000 (0:00:00.069) 0:01:35.664 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:29:18 +0000 (0:00:00.257) 0:01:35.921 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:29:18 +0000 (0:00:00.039) 0:01:35.960 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:29:18 +0000 (0:00:00.043) 0:01:36.004 *********** included: /WORKDIR/git-tft-testsux2sg6yw/.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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:29:18 +0000 (0:00:00.042) 0:01:36.047 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:29:18 +0000 (0:00:00.041) 0:01:36.088 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:29:18 +0000 (0:00:00.024) 0:01:36.113 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:29:18 +0000 (0:00:00.024) 0:01:36.137 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:29:21 +0000 (0:00:02.615) 0:01:38.753 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:29:22 +0000 (0:00:00.911) 0:01:39.664 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:29:22 +0000 (0:00:00.026) 0:01:39.690 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:29:22 +0000 (0:00:00.025) 0:01:39.715 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:29:22 +0000 (0:00:00.025) 0:01:39.741 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:29:22 +0000 (0:00:00.038) 0:01:39.780 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:29:22 +0000 (0:00:00.031) 0:01:39.811 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:29:22 +0000 (0:00:00.036) 0:01:39.848 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:29:22 +0000 (0:00:00.057) 0:01:39.905 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:29:22 +0000 (0:00:00.026) 0:01:39.932 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:29:22 +0000 (0:00:00.024) 0:01:39.957 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:29:22 +0000 (0:00:00.036) 0:01:39.993 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:29:23 +0000 (0:00:00.463) 0:01:40.457 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:29:23 +0000 (0:00:00.037) 0:01:40.495 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:29:23 +0000 (0:00:00.020) 0:01:40.515 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:29:23 +0000 (0:00:00.019) 0:01:40.534 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:29:23 +0000 (0:00:00.486) 0:01:41.021 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:29:23 +0000 (0:00:00.066) 0:01:41.087 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:29:23 +0000 (0:00:00.024) 0:01:41.112 *********** 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-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:29:23 +0000 (0:00:00.024) 0:01:41.136 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:29:23 +0000 (0:00:00.023) 0:01:41.160 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:29:24 +0000 (0:00:00.270) 0:01:41.431 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:29:24 +0000 (0:00:00.048) 0:01:41.480 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:29:24 +0000 (0:00:00.047) 0:01:41.527 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:29:24 +0000 (0:00:00.051) 0:01:41.579 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:29:24 +0000 (0:00:00.257) 0:01:41.837 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:29:24 +0000 (0:00:00.023) 0:01:41.860 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020200", "end": "2024-06-17 14:29:24.770892", "rc": 1, "start": "2024-06-17 14:29:24.750692" } 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:29:24 +0000 (0:00:00.267) 0:01:42.128 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:29:24 +0000 (0:00:00.024) 0:01:42.152 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:29:24 +0000 (0:00:00.022) 0:01:42.175 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:29:24 +0000 (0:00:00.023) 0:01:42.198 *********** 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-testsux2sg6yw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:29:24 +0000 (0:00:00.068) 0:01:42.267 *********** 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-testsux2sg6yw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:29:24 +0000 (0:00:00.024) 0:01:42.291 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 17 June 2024 14:29:24 +0000 (0:00:00.023) 0:01:42.315 *********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.365851", "end": "2024-06-17 14:29:25.568279", "rc": 0, "start": "2024-06-17 14:29:25.202428" } STDOUT: NetworkManager-1.46.0-2.fc40 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 17 June 2024 14:29:25 +0000 (0:00:00.610) 0:01:42.925 *********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.46.0-2.fc40" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 17 June 2024 14:29:25 +0000 (0:00:00.022) 0:01:42.947 *********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.46.0-2.fc40" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:29:25 +0000 (0:00:00.021) 0:01:42.969 *********** included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:29:25 +0000 (0:00:00.049) 0:01:43.018 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:29:25 +0000 (0:00:00.033) 0:01:43.052 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:29:25 +0000 (0:00:00.242) 0:01:43.294 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:29:25 +0000 (0:00:00.023) 0:01:43.318 *********** 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-testsux2sg6yw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:29:26 +0000 (0:00:00.021) 0:01:43.340 *********** included: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-tft-testsux2sg6yw/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-testsux2sg6yw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:29:26 +0000 (0:00:00.040) 0:01:43.381 *********** 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.043192", "end": "2024-06-17 14:29:26.313714", "rc": 1, "start": "2024-06-17 14:29:26.270522" } 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-testsux2sg6yw/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:29:26 +0000 (0:00:00.288) 0:01:43.669 *********** 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.010129", "end": "2024-06-17 14:29:26.567009", "rc": 0, "start": "2024-06-17 14:29:26.556880" } 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 0e:f4:a3:c5:03:f5 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.206/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2200sec preferred_lft 2200sec inet6 fe80::cf4:a3ff:fec5:3f5/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.206 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.206 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:29:26 +0000 (0:00:00.291) 0:01:43.961 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=317 changed=10 unreachable=0 failed=0 skipped=299 rescued=0 ignored=10 Monday 17 June 2024 14:29:26 +0000 (0:00:00.057) 0:01:44.018 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.77s /WORKDIR/git-tft-testsux2sg6yw/.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.73s /WORKDIR/git-tft-testsux2sg6yw/.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.72s /WORKDIR/git-tft-testsux2sg6yw/.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.70s /WORKDIR/git-tft-testsux2sg6yw/.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.70s /WORKDIR/git-tft-testsux2sg6yw/.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.68s /WORKDIR/git-tft-testsux2sg6yw/.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.68s /WORKDIR/git-tft-testsux2sg6yw/.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.66s /WORKDIR/git-tft-testsux2sg6yw/.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.65s /WORKDIR/git-tft-testsux2sg6yw/.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.64s /WORKDIR/git-tft-testsux2sg6yw/.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.63s /WORKDIR/git-tft-testsux2sg6yw/.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.62s /WORKDIR/git-tft-testsux2sg6yw/.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.57s /WORKDIR/git-tft-testsux2sg6yw/.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.53s /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.52s /WORKDIR/git-tft-testsux2sg6yw/tests/tests_states_nm.yml:6 -------------------- fedora.linux_system_roles.network : Check which services are running ---- 2.48s /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.23s /WORKDIR/git-tft-testsux2sg6yw/tests/playbooks/tests_states.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-tft-testsux2sg6yw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-tft-testsux2sg6yw/.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.92s /WORKDIR/git-tft-testsux2sg6yw/.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. ---^---^---^---^---^---