# 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-route_type3fvatds8/.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-route_type3fvatds8/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 19:44:03 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type3fvatds8/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.886) 0:00:00.897 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.011) 0:00:00.909 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.355) 0:00:01.264 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type3fvatds8/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.265) 0:00:01.529 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.014) 0:00:01.544 ******* 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-route_type3fvatds8/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.013) 0:00:01.557 ******* included: /WORKDIR/git-route_type3fvatds8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.023) 0:00:01.581 ******* 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-route_type3fvatds8/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.007) 0:00:01.589 ******* 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-route_type3fvatds8/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.007) 0:00:01.596 ******* 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-route_type3fvatds8/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.006) 0:00:01.602 ******* 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-route_type3fvatds8/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.006) 0:00:01.609 ******* 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-route_type3fvatds8/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.007) 0:00:01.616 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:44:04 +0000 (0:00:00.015) 0:00:01.632 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.733) 0:00:02.365 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.010) 0:00:02.376 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.013) 0:00:02.389 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.010) 0:00:02.399 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.027) 0:00:02.426 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.012) 0:00:02.439 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:44:05 +0000 (0:00:00.010) 0:00:02.450 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003676", "end": "2024-01-09 19:44:06.052608", "rc": 0, "start": "2024-01-09 19:44:06.048932" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.265) 0:00:02.716 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.011) 0:00:02.727 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.011) 0:00:02.739 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.019) 0:00:02.759 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007816", "end": "2024-01-09 19:44:06.311243", "rc": 1, "start": "2024-01-09 19:44:06.303427" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.212) 0:00:02.971 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.013) 0:00:02.985 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.200) 0:00:03.185 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.010) 0:00:03.196 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.014) 0:00:03.211 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.022) 0:00:03.233 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.020) 0:00:03.254 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.019) 0:00:03.273 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.013) 0:00:03.286 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:06 +0000 (0:00:00.011) 0:00:03.298 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:08 +0000 (0:00:02.311) 0:00:05.609 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:09 +0000 (0:00:00.963) 0:00:06.572 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:09 +0000 (0:00:00.021) 0:00:06.594 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:09 +0000 (0:00:00.022) 0:00:06.616 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:09 +0000 (0:00:00.021) 0:00:06.637 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.054) 0:00:06.691 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.022) 0:00:06.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.022) 0:00:06.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.052) 0:00:06.789 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.570) 0:00:07.359 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.034) 0:00:07.394 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.018) 0:00:07.412 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:10 +0000 (0:00:00.019) 0:00:07.432 ******* 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, e3403666-e5d1-4529-b192-b48d8f1c90dc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.558) 0:00:07.990 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.023) 0:00:08.014 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3403666-e5d1-4529-b192-b48d8f1c90dc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.024) 0:00:08.038 ******* 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, e3403666-e5d1-4529-b192-b48d8f1c90dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3403666-e5d1-4529-b192-b48d8f1c90dc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.022) 0:00:08.060 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.023) 0:00:08.083 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.305) 0:00:08.389 ******* 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, e3403666-e5d1-4529-b192-b48d8f1c90dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3403666-e5d1-4529-b192-b48d8f1c90dc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.021) 0:00:08.410 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.035) 0:00:08.446 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.056) 0:00:08.502 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:44:11 +0000 (0:00:00.020) 0:00:08.523 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.209) 0:00:08.732 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.019) 0:00:08.752 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023068", "end": "2024-01-09 19:44:12.316389", "rc": 0, "start": "2024-01-09 19:44:12.293321" } 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.236) 0:00:08.988 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.022) 0:00:09.011 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.020) 0:00:09.031 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.020) 0:00:09.051 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.019) 0:00:09.071 ******* 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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.020) 0:00:09.092 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.022) 0:00:09.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.022) 0:00:09.136 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.022) 0:00:09.159 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.045) 0:00:09.204 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.061) 0:00:09.266 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829451.2575371, "block_size": 4096, "blocks": 0, "ctime": 1704829451.2575371, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35606, "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": 1704829451.2575371, "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-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.212) 0:00:09.478 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.021) 0:00:09.500 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.020) 0:00:09.520 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:44:12 +0000 (0:00:00.035) 0:00:09.556 ******* 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.066473", "end": "2024-01-09 19:44:13.164303", "rc": 1, "start": "2024-01-09 19:44:13.097830" } STDOUT: Connection 'statebr' (e3403666-e5d1-4529-b192-b48d8f1c90dc) 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-route_type3fvatds8/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.280) 0:00:09.837 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.032) 0:00:09.869 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.023) 0:00:09.893 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.059) 0:00:09.952 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.035) 0:00:09.988 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.030) 0:00:10.019 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003697", "end": "2024-01-09 19:44:13.564807", "rc": 0, "start": "2024-01-09 19:44:13.561110" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.216) 0:00:10.235 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.019) 0:00:10.255 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.042) 0:00:10.298 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.035) 0:00:10.333 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006388", "end": "2024-01-09 19:44:13.880329", "rc": 1, "start": "2024-01-09 19:44:13.873941" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.218) 0:00:10.551 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:44:13 +0000 (0:00:00.030) 0:00:10.582 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.209) 0:00:10.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.021) 0:00:10.813 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.034) 0:00:10.847 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.039) 0:00:10.887 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.037) 0:00:10.924 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.037) 0:00:10.961 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.025) 0:00:10.986 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:14 +0000 (0:00:00.049) 0:00:11.036 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:16 +0000 (0:00:02.221) 0:00:13.257 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.758) 0:00:14.015 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.030) 0:00:14.046 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.034) 0:00:14.080 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.022) 0:00:14.103 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.055) 0:00:14.158 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.025) 0:00:14.184 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.027) 0:00:14.212 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:17 +0000 (0:00:00.046) 0:00:14.258 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.409) 0:00:14.668 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.033) 0:00:14.702 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.019) 0:00:14.722 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.048) 0:00:14.770 ******* 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, d4e8d1c8-17b3-479b-a2aa-7286c2800b00 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.394) 0:00:15.164 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.023) 0:00:15.187 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4e8d1c8-17b3-479b-a2aa-7286c2800b00" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.022) 0:00:15.210 ******* 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, d4e8d1c8-17b3-479b-a2aa-7286c2800b00\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4e8d1c8-17b3-479b-a2aa-7286c2800b00" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.022) 0:00:15.233 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.022) 0:00:15.255 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.219) 0:00:15.475 ******* 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, d4e8d1c8-17b3-479b-a2aa-7286c2800b00\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4e8d1c8-17b3-479b-a2aa-7286c2800b00" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.021) 0:00:15.497 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.037) 0:00:15.535 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:44:18 +0000 (0:00:00.030) 0:00:15.565 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.211) 0:00:15.777 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.021) 0:00:15.798 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.032) 0:00:15.830 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.042) 0:00:15.873 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.215) 0:00:16.088 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.019) 0:00:16.107 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022728", "end": "2024-01-09 19:44:19.671446", "rc": 0, "start": "2024-01-09 19:44:19.648718" } 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.237) 0:00:16.345 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.022) 0:00:16.367 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.019) 0:00:16.386 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.019) 0:00:16.406 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.019) 0:00:16.426 ******* 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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.019) 0:00:16.445 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.021) 0:00:16.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.022) 0:00:16.490 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.021) 0:00:16.511 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.027) 0:00:16.539 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.020) 0:00:16.560 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:44:19 +0000 (0:00:00.036) 0:00:16.596 ******* 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.044189", "end": "2024-01-09 19:44:20.181604", "rc": 1, "start": "2024-01-09 19:44:20.137415" } STDOUT: Connection 'statebr' (d4e8d1c8-17b3-479b-a2aa-7286c2800b00) 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-route_type3fvatds8/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.283) 0:00:16.880 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.032) 0:00:16.912 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.021) 0:00:16.934 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.038) 0:00:16.972 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.031) 0:00:17.003 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.030) 0:00:17.034 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003639", "end": "2024-01-09 19:44:20.579108", "rc": 0, "start": "2024-01-09 19:44:20.575469" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.217) 0:00:17.251 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.023) 0:00:17.275 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.022) 0:00:17.298 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.036) 0:00:17.335 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.043) 0:00:17.378 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.111) 0:00:17.489 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.050) 0:00:17.540 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.033) 0:00:17.573 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:20 +0000 (0:00:00.035) 0:00:17.609 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:23 +0000 (0:00:02.249) 0:00:19.858 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:23 +0000 (0:00:00.770) 0:00:20.628 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.032) 0:00:20.661 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.025) 0:00:20.686 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.027) 0:00:20.714 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.054) 0:00:20.768 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.023) 0:00:20.792 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.022) 0:00:20.815 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.033) 0:00:20.848 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.470) 0:00:21.319 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.036) 0:00:21.356 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.022) 0:00:21.379 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:24 +0000 (0:00:00.021) 0:00:21.401 ******* 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, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.422) 0:00:21.823 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.024) 0:00:21.847 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.022) 0:00:21.870 ******* 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, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.025) 0:00:21.895 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.023) 0:00:21.919 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.222) 0:00:22.142 ******* 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, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.025) 0:00:22.167 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.038) 0:00:22.205 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.040) 0:00:22.246 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.071) 0:00:22.318 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.035) 0:00:22.354 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.027) 0:00:22.381 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:25 +0000 (0:00:00.025) 0:00:22.406 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:27 +0000 (0:00:02.231) 0:00:24.637 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.760) 0:00:25.398 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.033) 0:00:25.431 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.023) 0:00:25.455 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.023) 0:00:25.478 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.055) 0:00:25.534 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.029) 0:00:25.563 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:28 +0000 (0:00:00.023) 0:00:25.587 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.062) 0:00:25.650 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.409) 0:00:26.059 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.034) 0:00:26.093 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.019) 0:00:26.113 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.019) 0:00:26.132 ******* 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, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.392) 0:00:26.525 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.023) 0:00:26.548 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.023) 0:00:26.572 ******* 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, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 603f079e-ccb6-4a0e-8c9a-1b4528fd88dc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.027) 0:00:26.600 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:29 +0000 (0:00:00.025) 0:00:26.625 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.221) 0:00:26.847 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.038) 0:00:26.885 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.032) 0:00:26.917 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829465.1013618, "block_size": 4096, "blocks": 0, "ctime": 1704829465.1013618, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35737, "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": 1704829465.1013618, "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-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.240) 0:00:27.158 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.022) 0:00:27.180 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.036) 0:00:27.216 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.020) 0:00:27.237 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.213) 0:00:27.451 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:44:30 +0000 (0:00:00.019) 0:00:27.471 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022872", "end": "2024-01-09 19:44:31.034377", "rc": 0, "start": "2024-01-09 19:44:31.011505" } 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.237) 0:00:27.708 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.029) 0:00:27.737 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.022) 0:00:27.760 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.019) 0:00:27.780 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.019) 0:00:27.800 ******* 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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.021) 0:00:27.821 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.023) 0:00:27.845 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.022) 0:00:27.867 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.021) 0:00:27.889 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.025) 0:00:27.915 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.046) 0:00:27.962 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.036) 0:00:27.998 ******* 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.070370", "end": "2024-01-09 19:44:31.626511", "rc": 1, "start": "2024-01-09 19:44:31.556141" } STDOUT: Connection 'statebr' (603f079e-ccb6-4a0e-8c9a-1b4528fd88dc) 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-route_type3fvatds8/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.301) 0:00:28.299 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.035) 0:00:28.335 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.021) 0:00:28.357 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.038) 0:00:28.395 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.032) 0:00:28.427 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:44:31 +0000 (0:00:00.030) 0:00:28.458 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003596", "end": "2024-01-09 19:44:32.002236", "rc": 0, "start": "2024-01-09 19:44:31.998640" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.217) 0:00:28.675 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.024) 0:00:28.699 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.022) 0:00:28.722 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.075) 0:00:28.797 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.041) 0:00:28.838 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.038) 0:00:28.877 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.034) 0:00:28.911 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.024) 0:00:28.935 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:32 +0000 (0:00:00.023) 0:00:28.958 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:34 +0000 (0:00:02.210) 0:00:31.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.777) 0:00:31.946 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.031) 0:00:31.977 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.026) 0:00:32.004 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.026) 0:00:32.031 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.088) 0:00:32.119 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.022) 0:00:32.142 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.023) 0:00:32.166 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.037) 0:00:32.204 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:35 +0000 (0:00:00.423) 0:00:32.627 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.058) 0:00:32.686 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.022) 0:00:32.708 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.020) 0:00:32.729 ******* 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, 85a3b803-3ea7-49c3-8670-784cea9c04ef TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.451) 0:00:33.180 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.036) 0:00:33.217 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85a3b803-3ea7-49c3-8670-784cea9c04ef" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.038) 0:00:33.256 ******* 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, 85a3b803-3ea7-49c3-8670-784cea9c04ef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85a3b803-3ea7-49c3-8670-784cea9c04ef" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.043) 0:00:33.299 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.024) 0:00:33.323 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.243) 0:00:33.567 ******* 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, 85a3b803-3ea7-49c3-8670-784cea9c04ef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85a3b803-3ea7-49c3-8670-784cea9c04ef" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:44:36 +0000 (0:00:00.038) 0:00:33.606 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:37 +0000 (0:00:00.104) 0:00:33.710 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:37 +0000 (0:00:00.041) 0:00:33.751 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:37 +0000 (0:00:00.036) 0:00:33.787 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:37 +0000 (0:00:00.036) 0:00:33.824 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:37 +0000 (0:00:00.043) 0:00:33.867 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:39 +0000 (0:00:02.237) 0:00:36.104 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.777) 0:00:36.881 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.024) 0:00:36.905 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.025) 0:00:36.931 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.025) 0:00:36.957 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.065) 0:00:37.023 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.027) 0:00:37.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.060) 0:00:37.111 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.035) 0:00:37.147 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.406) 0:00:37.553 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.036) 0:00:37.590 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.020) 0:00:37.610 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:40 +0000 (0:00:00.019) 0:00:37.630 ******* 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, 85a3b803-3ea7-49c3-8670-784cea9c04ef skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.390) 0:00:38.020 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.025) 0:00:38.046 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85a3b803-3ea7-49c3-8670-784cea9c04ef skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.023) 0:00:38.069 ******* 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, 85a3b803-3ea7-49c3-8670-784cea9c04ef skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85a3b803-3ea7-49c3-8670-784cea9c04ef skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.024) 0:00:38.093 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.034) 0:00:38.128 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.218) 0:00:38.346 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.037) 0:00:38.384 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.085) 0:00:38.470 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.042) 0:00:38.513 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.036) 0:00:38.550 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.029) 0:00:38.579 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:41 +0000 (0:00:00.026) 0:00:38.605 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:44 +0000 (0:00:02.243) 0:00:40.849 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:44 +0000 (0:00:00.755) 0:00:41.604 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:44 +0000 (0:00:00.022) 0:00:41.626 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.023) 0:00:41.649 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.022) 0:00:41.672 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.052) 0:00:41.724 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.023) 0:00:41.747 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.054) 0:00:41.802 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.041) 0:00:41.843 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.412) 0:00:42.256 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.035) 0:00:42.291 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.020) 0:00:42.311 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:45 +0000 (0:00:00.019) 0:00:42.331 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.408) 0:00:42.739 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.025) 0:00:42.765 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.022) 0:00:42.788 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.023) 0:00:42.811 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.026) 0:00:42.837 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.221) 0:00:43.059 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.041) 0:00:43.101 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.067) 0:00:43.168 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829476.4494817, "block_size": 4096, "blocks": 0, "ctime": 1704829476.4494817, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35868, "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": 1704829476.4494817, "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-route_type3fvatds8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.213) 0:00:43.382 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.025) 0:00:43.408 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.035) 0:00:43.443 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:44:46 +0000 (0:00:00.024) 0:00:43.467 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.215) 0:00:43.682 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.035) 0:00:43.717 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022992", "end": "2024-01-09 19:44:47.284498", "rc": 1, "start": "2024-01-09 19:44:47.261506" } 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.239) 0:00:43.957 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.020) 0:00:43.977 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.020) 0:00:43.998 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.022) 0:00:44.020 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.021) 0:00:44.042 ******* 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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.032) 0:00:44.075 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.025) 0:00:44.101 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.038) 0:00:44.139 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.034) 0:00:44.174 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.076) 0:00:44.250 ******* 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.069422", "end": "2024-01-09 19:44:47.863436", "rc": 1, "start": "2024-01-09 19:44:47.794014" } STDOUT: Connection 'statebr' (85a3b803-3ea7-49c3-8670-784cea9c04ef) 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-route_type3fvatds8/tests/playbooks/tests_states.yml:102 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.290) 0:00:44.541 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.033) 0:00:44.575 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.021) 0:00:44.596 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:44:47 +0000 (0:00:00.040) 0:00:44.636 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.032) 0:00:44.669 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.033) 0:00:44.702 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003707", "end": "2024-01-09 19:44:48.249918", "rc": 0, "start": "2024-01-09 19:44:48.246211" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.220) 0:00:44.922 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.022) 0:00:44.944 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.024) 0:00:44.968 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.050) 0:00:45.019 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.070) 0:00:45.089 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.040) 0:00:45.130 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.034) 0:00:45.165 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.022) 0:00:45.188 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:48 +0000 (0:00:00.023) 0:00:45.211 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:50 +0000 (0:00:02.271) 0:00:47.482 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.759) 0:00:48.242 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.023) 0:00:48.265 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.023) 0:00:48.288 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.022) 0:00:48.311 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.053) 0:00:48.365 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.055) 0:00:48.421 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.024) 0:00:48.445 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:51 +0000 (0:00:00.038) 0:00:48.483 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.410) 0:00:48.893 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.036) 0:00:48.929 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.020) 0:00:48.950 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.020) 0:00:48.970 ******* 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, 4d8b3717-364c-4528-b5bf-97f6ee73d983 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.436) 0:00:49.407 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.028) 0:00:49.436 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4d8b3717-364c-4528-b5bf-97f6ee73d983" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.044) 0:00:49.480 ******* 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, 4d8b3717-364c-4528-b5bf-97f6ee73d983\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4d8b3717-364c-4528-b5bf-97f6ee73d983" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.037) 0:00:49.518 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:52 +0000 (0:00:00.027) 0:00:49.545 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.237) 0:00:49.782 ******* 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, 4d8b3717-364c-4528-b5bf-97f6ee73d983\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4d8b3717-364c-4528-b5bf-97f6ee73d983" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.024) 0:00:49.807 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.094) 0:00:49.902 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.041) 0:00:49.944 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.036) 0:00:49.980 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.040) 0:00:50.020 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:53 +0000 (0:00:00.025) 0:00:50.046 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:44:55 +0000 (0:00:02.274) 0:00:52.320 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.761) 0:00:53.082 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.034) 0:00:53.116 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.024) 0:00:53.140 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.022) 0:00:53.163 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.054) 0:00:53.217 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.028) 0:00:53.245 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.025) 0:00:53.271 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:44:56 +0000 (0:00:00.073) 0:00:53.345 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.436) 0:00:53.781 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.036) 0:00:53.818 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.021) 0:00:53.839 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.020) 0:00:53.859 ******* 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, 4d8b3717-364c-4528-b5bf-97f6ee73d983 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.396) 0:00:54.256 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.030) 0:00:54.287 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4d8b3717-364c-4528-b5bf-97f6ee73d983 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.024) 0:00:54.311 ******* 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, 4d8b3717-364c-4528-b5bf-97f6ee73d983 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4d8b3717-364c-4528-b5bf-97f6ee73d983 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.023) 0:00:54.334 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.023) 0:00:54.358 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.222) 0:00:54.580 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:44:57 +0000 (0:00:00.054) 0:00:54.635 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:44:58 +0000 (0:00:00.042) 0:00:54.678 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:44:58 +0000 (0:00:00.106) 0:00:54.784 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:44:58 +0000 (0:00:00.029) 0:00:54.813 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:44:58 +0000 (0:00:00.028) 0:00:54.841 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:45:00 +0000 (0:00:02.252) 0:00:57.094 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.782) 0:00:57.877 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.022) 0:00:57.899 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.023) 0:00:57.923 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.023) 0:00:57.947 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.051) 0:00:57.998 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.023) 0:00:58.022 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.025) 0:00:58.047 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.036) 0:00:58.083 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.431) 0:00:58.514 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:45:01 +0000 (0:00:00.109) 0:00:58.624 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.024) 0:00:58.648 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.031) 0:00:58.680 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.518) 0:00:59.199 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.026) 0:00:59.225 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.024) 0:00:59.249 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.031) 0:00:59.281 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.024) 0:00:59.305 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.249) 0:00:59.554 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:45:02 +0000 (0:00:00.044) 0:00:59.598 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:03 +0000 (0:00:00.048) 0:00:59.647 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:03 +0000 (0:00:00.068) 0:00:59.715 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:45:03 +0000 (0:00:00.103) 0:00:59.819 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:45:03 +0000 (0:00:00.033) 0:00:59.852 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:45:03 +0000 (0:00:00.025) 0:00:59.878 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:45:05 +0000 (0:00:02.240) 0:01:02.118 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.762) 0:01:02.881 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.032) 0:01:02.913 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.030) 0:01:02.943 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.026) 0:01:02.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.138) 0:01:03.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.062) 0:01:03.171 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.027) 0:01:03.199 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:45:06 +0000 (0:00:00.090) 0:01:03.290 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.548) 0:01:03.838 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.042) 0:01:03.881 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.110) 0:01:03.991 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.037) 0:01:04.028 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.509) 0:01:04.537 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.042) 0:01:04.580 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:45:07 +0000 (0:00:00.050) 0:01:04.631 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.041) 0:01:04.673 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.044) 0:01:04.717 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.283) 0:01:05.001 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.040) 0:01:05.041 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.036) 0:01:05.077 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.022) 0:01:05.099 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.215) 0:01:05.315 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.019) 0:01:05.334 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021614", "end": "2024-01-09 19:45:08.901124", "rc": 1, "start": "2024-01-09 19:45:08.879510" } 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.269) 0:01:05.604 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:45:08 +0000 (0:00:00.022) 0:01:05.627 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.021) 0:01:05.648 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.025) 0:01:05.674 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.020) 0:01:05.694 ******* 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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.022) 0:01:05.716 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.029) 0:01:05.746 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.049) 0:01:05.795 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.034) 0:01:05.829 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.211) 0:01:06.041 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.027) 0:01:06.068 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.030) 0:01:06.098 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.038) 0:01:06.137 ******* 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.041481", "end": "2024-01-09 19:45:09.721798", "rc": 1, "start": "2024-01-09 19:45:09.680317" } 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-route_type3fvatds8/tests/playbooks/tests_states.yml:124 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.304) 0:01:06.441 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.037) 0:01:06.478 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.026) 0:01:06.504 ******* 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.046) 0:01:06.551 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.046) 0:01:06.597 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:45:09 +0000 (0:00:00.036) 0:01:06.634 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003544", "end": "2024-01-09 19:45:10.187070", "rc": 0, "start": "2024-01-09 19:45:10.183526" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.225) 0:01:06.859 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.021) 0:01:06.881 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.024) 0:01:06.906 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.040) 0:01:06.947 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.041) 0:01:06.988 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.071) 0:01:07.060 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.035) 0:01:07.096 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.024) 0:01:07.120 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:45:10 +0000 (0:00:00.023) 0:01:07.143 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:45:12 +0000 (0:00:02.234) 0:01:09.378 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.775) 0:01:10.154 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.025) 0:01:10.179 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.031) 0:01:10.210 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.024) 0:01:10.235 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.057) 0:01:10.292 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.029) 0:01:10.322 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.029) 0:01:10.352 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:45:13 +0000 (0:00:00.041) 0:01:10.394 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.555) 0:01:10.949 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.049) 0:01:10.999 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.032) 0:01:11.031 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.027) 0:01:11.058 ******* 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, 1a6c49a2-b566-44e1-9582-f96978e5f43f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.430) 0:01:11.489 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.025) 0:01:11.514 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a6c49a2-b566-44e1-9582-f96978e5f43f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.024) 0:01:11.538 ******* 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, 1a6c49a2-b566-44e1-9582-f96978e5f43f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a6c49a2-b566-44e1-9582-f96978e5f43f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.026) 0:01:11.564 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:45:14 +0000 (0:00:00.025) 0:01:11.589 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.223) 0:01:11.813 ******* 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, 1a6c49a2-b566-44e1-9582-f96978e5f43f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a6c49a2-b566-44e1-9582-f96978e5f43f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.024) 0:01:11.837 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.040) 0:01:11.878 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.037) 0:01:11.916 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.110) 0:01:12.026 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.026) 0:01:12.053 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:45:15 +0000 (0:00:00.024) 0:01:12.077 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:45:17 +0000 (0:00:02.255) 0:01:14.333 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.764) 0:01:15.097 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.026) 0:01:15.124 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.024) 0:01:15.148 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.025) 0:01:15.174 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.056) 0:01:15.231 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.024) 0:01:15.255 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.023) 0:01:15.279 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:45:18 +0000 (0:00:00.035) 0:01:15.314 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.412) 0:01:15.727 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.074) 0:01:15.802 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.020) 0:01:15.823 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.022) 0:01:15.845 ******* 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, 1a6c49a2-b566-44e1-9582-f96978e5f43f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.384) 0:01:16.230 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.025) 0:01:16.255 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1a6c49a2-b566-44e1-9582-f96978e5f43f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.027) 0:01:16.282 ******* 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, 1a6c49a2-b566-44e1-9582-f96978e5f43f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1a6c49a2-b566-44e1-9582-f96978e5f43f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.027) 0:01:16.310 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.025) 0:01:16.335 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.225) 0:01:16.560 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:19 +0000 (0:00:00.042) 0:01:16.602 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:20 +0000 (0:00:00.039) 0:01:16.642 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:45:20 +0000 (0:00:00.033) 0:01:16.676 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:45:20 +0000 (0:00:00.023) 0:01:16.699 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:45:20 +0000 (0:00:00.061) 0:01:16.761 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:45:22 +0000 (0:00:02.228) 0:01:18.989 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.772) 0:01:19.762 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.030) 0:01:19.792 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.026) 0:01:19.819 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.031) 0:01:19.850 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.057) 0:01:19.907 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.027) 0:01:19.935 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.028) 0:01:19.963 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.045) 0:01:20.008 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.424) 0:01:20.432 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.039) 0:01:20.472 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.023) 0:01:20.496 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:45:23 +0000 (0:00:00.022) 0:01:20.518 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.576) 0:01:21.094 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.030) 0:01:21.125 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.029) 0:01:21.155 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.048) 0:01:21.204 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.031) 0:01:21.235 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.227) 0:01:21.462 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.039) 0:01:21.502 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.048) 0:01:21.550 ******* included: /WORKDIR/git-route_type3fvatds8/.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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:24 +0000 (0:00:00.058) 0:01:21.609 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:45:25 +0000 (0:00:00.055) 0:01:21.664 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:45:25 +0000 (0:00:00.030) 0:01:21.694 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:45:25 +0000 (0:00:00.046) 0:01:21.741 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:45:27 +0000 (0:00:02.307) 0:01:24.048 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.785) 0:01:24.833 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.026) 0:01:24.860 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.027) 0:01:24.888 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.026) 0:01:24.914 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.056) 0:01:24.970 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.028) 0:01:24.998 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.029) 0:01:25.028 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.058) 0:01:25.086 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.421) 0:01:25.507 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.038) 0:01:25.545 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.020) 0:01:25.566 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.021) 0:01:25.587 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.510) 0:01:26.097 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.024) 0:01:26.122 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.024) 0:01:26.146 ******* 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-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.025) 0:01:26.172 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.024) 0:01:26.196 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.222) 0:01:26.419 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.039) 0:01:26.459 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.034) 0:01:26.494 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:45:29 +0000 (0:00:00.021) 0:01:26.515 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.214) 0:01:26.729 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.020) 0:01:26.750 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021928", "end": "2024-01-09 19:45:30.313416", "rc": 1, "start": "2024-01-09 19:45:30.291488" } 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.234) 0:01:26.985 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.020) 0:01:27.006 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.020) 0:01:27.026 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.072) 0:01:27.098 ******* 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-route_type3fvatds8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.022) 0:01:27.121 ******* 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-route_type3fvatds8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.020) 0:01:27.141 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.023) 0:01:27.165 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.359498", "end": "2024-01-09 19:45:31.065598", "rc": 0, "start": "2024-01-09 19:45:30.706100" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.576) 0:01:27.741 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.040) 0:01:27.781 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.026) 0:01:27.808 ******* included: /WORKDIR/git-route_type3fvatds8/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-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.059) 0:01:27.867 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.037) 0:01:27.905 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.215) 0:01:28.120 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.030) 0:01:28.150 ******* 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-route_type3fvatds8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.035) 0:01:28.186 ******* included: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type3fvatds8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.039) 0:01:28.226 ******* 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.042808", "end": "2024-01-09 19:45:31.811814", "rc": 1, "start": "2024-01-09 19:45:31.769006" } 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 PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.349) 0:01:28.575 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.31s /WORKDIR/git-route_type3fvatds8/.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.31s /WORKDIR/git-route_type3fvatds8/.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.27s /WORKDIR/git-route_type3fvatds8/.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.27s /WORKDIR/git-route_type3fvatds8/.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.26s /WORKDIR/git-route_type3fvatds8/.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.25s /WORKDIR/git-route_type3fvatds8/.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.25s /WORKDIR/git-route_type3fvatds8/.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.24s /WORKDIR/git-route_type3fvatds8/.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.24s /WORKDIR/git-route_type3fvatds8/.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.24s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.22s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.21s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-route_type3fvatds8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_type3fvatds8/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /WORKDIR/git-route_type3fvatds8/.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.78s /WORKDIR/git-route_type3fvatds8/.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.78s /WORKDIR/git-route_type3fvatds8/.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. ---^---^---^---^---^---