# 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_typel_zicrds/.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_typel_zicrds/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/tests_states_nm.yml:5 Tuesday 02 January 2024 19:30:25 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typel_zicrds/tests/tests_states_nm.yml:9 Tuesday 02 January 2024 19:30:26 +0000 (0:00:00.773) 0:00:00.785 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:30:26 +0000 (0:00:00.011) 0:00:00.797 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/el_repo_setup.yml:17 Tuesday 02 January 2024 19:30:26 +0000 (0:00:00.336) 0:00:01.133 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/el_repo_setup.yml:22 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.261) 0:00:01.395 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/el_repo_setup.yml:26 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.013) 0:00:01.409 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/el_repo_setup.yml:51 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.009) 0:00:01.418 ******* included: /WORKDIR/git-route_typel_zicrds/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.020) 0:00:01.439 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.007) 0:00:01.446 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.007) 0:00:01.454 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.007) 0:00:01.461 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.007) 0:00:01.468 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/tests_states_nm.yml:11 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.008) 0:00:01.477 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:3 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.014) 0:00:01.491 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:11 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.592) 0:00:02.083 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:22 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.009) 0:00:02.092 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.012) 0:00:02.105 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.009) 0:00:02.115 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.027) 0:00:02.143 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.011) 0:00:02.154 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:27 +0000 (0:00:00.010) 0:00:02.165 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003376", "end": "2024-01-02 19:30:28.070654", "rc": 0, "start": "2024-01-02 19:30:28.067278" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.247) 0:00:02.412 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.010) 0:00:02.423 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.009) 0:00:02.433 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.017) 0:00:02.450 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007841", "end": "2024-01-02 19:30:28.304679", "rc": 1, "start": "2024-01-02 19:30:28.296838" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.197) 0:00:02.648 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.012) 0:00:02.660 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.189) 0:00:02.850 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.011) 0:00:02.861 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.016) 0:00:02.877 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.024) 0:00:02.902 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.020) 0:00:02.923 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.021) 0:00:02.944 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.014) 0:00:02.958 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:30:28 +0000 (0:00:00.014) 0:00:02.973 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:30:30 +0000 (0:00:01.574) 0:00:04.547 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:31 +0000 (0:00:01.147) 0:00:05.695 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.023) 0:00:05.719 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.022) 0:00:05.741 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.021) 0:00:05.762 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.052) 0:00:05.815 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.021) 0:00:05.837 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.022) 0:00:05.859 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:30:31 +0000 (0:00:00.034) 0:00:05.893 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.609) 0:00:06.503 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.078) 0:00:06.581 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.019) 0:00:06.601 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.019) 0:00:06.620 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006006c2-8d56-470d-809a-97724b525f56 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.565) 0:00:07.186 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.021) 0:00:07.208 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006006c2-8d56-470d-809a-97724b525f56" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.021) 0:00:07.230 ******* 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, 006006c2-8d56-470d-809a-97724b525f56\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006006c2-8d56-470d-809a-97724b525f56" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.021) 0:00:07.251 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:30:32 +0000 (0:00:00.024) 0:00:07.276 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.260) 0:00:07.536 ******* 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, 006006c2-8d56-470d-809a-97724b525f56\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006006c2-8d56-470d-809a-97724b525f56" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.021) 0:00:07.557 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.038) 0:00:07.595 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.031) 0:00:07.627 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.020) 0:00:07.647 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.194) 0:00:07.841 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.018) 0:00:07.859 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021491", "end": "2024-01-02 19:30:33.727507", "rc": 0, "start": "2024-01-02 19:30:33.706016" } 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.247) 0:00:08.107 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.022) 0:00:08.130 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.025) 0:00:08.155 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.021) 0:00:08.177 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.019) 0:00:08.196 ******* 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_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.018) 0:00:08.214 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.021) 0:00:08.236 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.021) 0:00:08.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.020) 0:00:08.278 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:30:33 +0000 (0:00:00.044) 0:00:08.322 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.029) 0:00:08.352 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223832.7723703, "block_size": 4096, "blocks": 0, "ctime": 1704223832.7723703, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31986, "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": 1704223832.7723703, "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_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.194) 0:00:08.547 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.022) 0:00:08.569 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.020) 0:00:08.590 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.035) 0:00:08.625 ******* 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.067686", "end": "2024-01-02 19:30:34.537884", "rc": 1, "start": "2024-01-02 19:30:34.470198" } STDOUT: Connection 'statebr' (006006c2-8d56-470d-809a-97724b525f56) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:45 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.262) 0:00:08.887 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.053) 0:00:08.941 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.020) 0:00:08.961 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.038) 0:00:09.000 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.029) 0:00:09.029 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.028) 0:00:09.058 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003236", "end": "2024-01-02 19:30:34.909865", "rc": 0, "start": "2024-01-02 19:30:34.906629" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.201) 0:00:09.259 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.023) 0:00:09.283 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:30:34 +0000 (0:00:00.023) 0:00:09.307 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.038) 0:00:09.345 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006459", "end": "2024-01-02 19:30:35.197674", "rc": 1, "start": "2024-01-02 19:30:35.191215" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.201) 0:00:09.547 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.029) 0:00:09.576 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.199) 0:00:09.776 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.021) 0:00:09.797 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.060) 0:00:09.858 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.039) 0:00:09.898 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.038) 0:00:09.936 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.032) 0:00:09.969 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.022) 0:00:09.992 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:30:35 +0000 (0:00:00.023) 0:00:10.015 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:30:37 +0000 (0:00:01.436) 0:00:11.451 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.956) 0:00:12.407 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.024) 0:00:12.432 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.029) 0:00:12.461 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.022) 0:00:12.484 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.059) 0:00:12.543 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.025) 0:00:12.568 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.055) 0:00:12.624 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.036) 0:00:12.660 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.395) 0:00:13.055 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.050) 0:00:13.106 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.035) 0:00:13.142 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:30:38 +0000 (0:00:00.026) 0:00:13.168 ******* 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, f47e413e-1e32-4889-8d4a-fcd040861196 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.386) 0:00:13.555 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.024) 0:00:13.579 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f47e413e-1e32-4889-8d4a-fcd040861196" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.024) 0:00:13.603 ******* 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, f47e413e-1e32-4889-8d4a-fcd040861196\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f47e413e-1e32-4889-8d4a-fcd040861196" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.025) 0:00:13.629 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.023) 0:00:13.653 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.210) 0:00:13.863 ******* 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, f47e413e-1e32-4889-8d4a-fcd040861196\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f47e413e-1e32-4889-8d4a-fcd040861196" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.023) 0:00:13.887 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.038) 0:00:13.925 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.046) 0:00:13.971 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.279) 0:00:14.251 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.021) 0:00:14.273 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:30:39 +0000 (0:00:00.032) 0:00:14.305 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.020) 0:00:14.325 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.197) 0:00:14.523 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.019) 0:00:14.542 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021209", "end": "2024-01-02 19:30:40.411508", "rc": 0, "start": "2024-01-02 19:30:40.390299" } 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.220) 0:00:14.762 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.021) 0:00:14.783 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.019) 0:00:14.803 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.019) 0:00:14.823 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.019) 0:00:14.842 ******* 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_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.020) 0:00:14.863 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.022) 0:00:14.885 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.023) 0:00:14.908 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.022) 0:00:14.931 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.028) 0:00:14.959 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.021) 0:00:14.981 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.064) 0:00:15.045 ******* 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.041442", "end": "2024-01-02 19:30:40.933176", "rc": 1, "start": "2024-01-02 19:30:40.891734" } STDOUT: Connection 'statebr' (f47e413e-1e32-4889-8d4a-fcd040861196) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:65 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.238) 0:00:15.284 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:40 +0000 (0:00:00.033) 0:00:15.317 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.022) 0:00:15.339 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.039) 0:00:15.379 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.031) 0:00:15.410 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.030) 0:00:15.440 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003394", "end": "2024-01-02 19:30:41.290588", "rc": 0, "start": "2024-01-02 19:30:41.287194" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.202) 0:00:15.642 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.021) 0:00:15.664 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.021) 0:00:15.685 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.033) 0:00:15.718 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.040) 0:00:15.758 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.063) 0:00:15.822 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.035) 0:00:15.857 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.023) 0:00:15.880 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:30:41 +0000 (0:00:00.023) 0:00:15.903 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:30:43 +0000 (0:00:01.444) 0:00:17.347 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:43 +0000 (0:00:00.929) 0:00:18.277 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:43 +0000 (0:00:00.025) 0:00:18.302 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.035) 0:00:18.338 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.026) 0:00:18.364 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.087) 0:00:18.452 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.036) 0:00:18.489 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.065) 0:00:18.554 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.071) 0:00:18.625 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.468) 0:00:19.094 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.039) 0:00:19.134 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.031) 0:00:19.166 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:30:44 +0000 (0:00:00.100) 0:00:19.266 ******* 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, b819bf56-bc45-404f-84a8-d04337fa6f08 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.445) 0:00:19.712 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.056) 0:00:19.769 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b819bf56-bc45-404f-84a8-d04337fa6f08" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.037) 0:00:19.806 ******* 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, b819bf56-bc45-404f-84a8-d04337fa6f08\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b819bf56-bc45-404f-84a8-d04337fa6f08" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.033) 0:00:19.840 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.042) 0:00:19.882 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.218) 0:00:20.101 ******* 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, b819bf56-bc45-404f-84a8-d04337fa6f08\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b819bf56-bc45-404f-84a8-d04337fa6f08" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.025) 0:00:20.127 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.059) 0:00:20.186 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.060) 0:00:20.246 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.041) 0:00:20.288 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:30:45 +0000 (0:00:00.035) 0:00:20.323 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.027) 0:00:20.350 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:30:46 +0000 (0:00:00.029) 0:00:20.379 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:30:47 +0000 (0:00:01.555) 0:00:21.935 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.943) 0:00:22.879 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.022) 0:00:22.901 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.022) 0:00:22.924 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.023) 0:00:22.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.053) 0:00:23.000 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.023) 0:00:23.023 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.024) 0:00:23.048 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:30:48 +0000 (0:00:00.034) 0:00:23.082 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.384) 0:00:23.467 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.039) 0:00:23.506 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.024) 0:00:23.531 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.022) 0:00:23.554 ******* 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, b819bf56-bc45-404f-84a8-d04337fa6f08 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.354) 0:00:23.908 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.022) 0:00:23.930 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b819bf56-bc45-404f-84a8-d04337fa6f08 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.022) 0:00:23.952 ******* 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, b819bf56-bc45-404f-84a8-d04337fa6f08 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b819bf56-bc45-404f-84a8-d04337fa6f08 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.062) 0:00:24.015 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.029) 0:00:24.044 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.211) 0:00:24.256 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:30:49 +0000 (0:00:00.040) 0:00:24.296 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.030) 0:00:24.327 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223845.2856474, "block_size": 4096, "blocks": 0, "ctime": 1704223845.2856474, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32117, "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": 1704223845.2856474, "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_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.196) 0:00:24.524 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.022) 0:00:24.546 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.034) 0:00:24.580 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.021) 0:00:24.602 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.197) 0:00:24.800 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.019) 0:00:24.819 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021904", "end": "2024-01-02 19:30:50.687806", "rc": 0, "start": "2024-01-02 19:30:50.665902" } 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.220) 0:00:25.040 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.022) 0:00:25.062 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.031) 0:00:25.094 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.067) 0:00:25.161 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.021) 0:00:25.182 ******* 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_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.023) 0:00:25.206 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.032) 0:00:25.238 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.033) 0:00:25.271 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:30:50 +0000 (0:00:00.023) 0:00:25.295 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.030) 0:00:25.325 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.021) 0:00:25.347 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.037) 0:00:25.384 ******* 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.065871", "end": "2024-01-02 19:30:51.296249", "rc": 1, "start": "2024-01-02 19:30:51.230378" } STDOUT: Connection 'statebr' (b819bf56-bc45-404f-84a8-d04337fa6f08) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:83 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.269) 0:00:25.653 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.038) 0:00:25.691 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.024) 0:00:25.716 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.039) 0:00:25.756 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.031) 0:00:25.787 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.030) 0:00:25.818 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2024-01-02 19:30:51.668119", "rc": 0, "start": "2024-01-02 19:30:51.664878" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.252) 0:00:26.070 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.021) 0:00:26.091 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.021) 0:00:26.113 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.038) 0:00:26.151 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.039) 0:00:26.191 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.036) 0:00:26.227 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.036) 0:00:26.264 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.023) 0:00:26.287 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:30:51 +0000 (0:00:00.024) 0:00:26.312 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:30:53 +0000 (0:00:01.448) 0:00:27.760 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.930) 0:00:28.690 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.022) 0:00:28.713 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.065) 0:00:28.779 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.024) 0:00:28.803 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.055) 0:00:28.859 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.025) 0:00:28.884 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.023) 0:00:28.908 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:30:54 +0000 (0:00:00.039) 0:00:28.947 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.402) 0:00:29.350 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.045) 0:00:29.396 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.024) 0:00:29.421 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.022) 0:00:29.443 ******* 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, 9c92230c-8f4c-4e98-a88a-88374ab1a032 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.422) 0:00:29.865 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.025) 0:00:29.891 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c92230c-8f4c-4e98-a88a-88374ab1a032" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.025) 0:00:29.916 ******* 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, 9c92230c-8f4c-4e98-a88a-88374ab1a032\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c92230c-8f4c-4e98-a88a-88374ab1a032" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.027) 0:00:29.944 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.025) 0:00:29.969 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.206) 0:00:30.175 ******* 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, 9c92230c-8f4c-4e98-a88a-88374ab1a032\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c92230c-8f4c-4e98-a88a-88374ab1a032" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.024) 0:00:30.200 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.077) 0:00:30.277 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:30:55 +0000 (0:00:00.042) 0:00:30.319 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:30:56 +0000 (0:00:00.036) 0:00:30.356 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:30:56 +0000 (0:00:00.025) 0:00:30.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:30:56 +0000 (0:00:00.030) 0:00:30.412 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:30:57 +0000 (0:00:01.460) 0:00:31.872 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.938) 0:00:32.810 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.024) 0:00:32.835 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.026) 0:00:32.861 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.027) 0:00:32.889 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.061) 0:00:32.951 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.025) 0:00:32.976 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.025) 0:00:33.001 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:30:58 +0000 (0:00:00.044) 0:00:33.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.483) 0:00:33.529 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.040) 0:00:33.570 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.031) 0:00:33.601 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.020) 0:00:33.622 ******* 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, 9c92230c-8f4c-4e98-a88a-88374ab1a032 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.365) 0:00:33.988 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.030) 0:00:34.018 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c92230c-8f4c-4e98-a88a-88374ab1a032 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.025) 0:00:34.043 ******* 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, 9c92230c-8f4c-4e98-a88a-88374ab1a032 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c92230c-8f4c-4e98-a88a-88374ab1a032 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.025) 0:00:34.069 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.031) 0:00:34.100 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:30:59 +0000 (0:00:00.211) 0:00:34.312 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.035) 0:00:34.347 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.040) 0:00:34.387 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.040) 0:00:34.428 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.034) 0:00:34.463 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.078) 0:00:34.541 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:00 +0000 (0:00:00.027) 0:00:34.569 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:01 +0000 (0:00:01.482) 0:00:36.051 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.934) 0:00:36.985 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.023) 0:00:37.008 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.023) 0:00:37.031 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.025) 0:00:37.056 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.054) 0:00:37.111 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.024) 0:00:37.135 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.025) 0:00:37.161 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:02 +0000 (0:00:00.043) 0:00:37.205 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.403) 0:00:37.608 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.036) 0:00:37.645 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.019) 0:00:37.664 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.020) 0:00:37.685 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.423) 0:00:38.108 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.059) 0:00:38.168 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.023) 0:00:38.192 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.024) 0:00:38.216 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:03 +0000 (0:00:00.024) 0:00:38.240 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.216) 0:00:38.457 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.044) 0:00:38.501 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.034) 0:00:38.536 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223855.4602368, "block_size": 4096, "blocks": 0, "ctime": 1704223855.4602368, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32248, "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": 1704223855.4602368, "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_typel_zicrds/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.209) 0:00:38.746 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.024) 0:00:38.771 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.035) 0:00:38.806 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.025) 0:00:38.832 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.211) 0:00:39.043 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.023) 0:00:39.066 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021948", "end": "2024-01-02 19:31:04.934448", "rc": 1, "start": "2024-01-02 19:31:04.912500" } 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.220) 0:00:39.287 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:04 +0000 (0:00:00.020) 0:00:39.307 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.049) 0:00:39.356 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.020) 0:00:39.377 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.019) 0:00:39.396 ******* 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_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.019) 0:00:39.416 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.021) 0:00:39.437 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.027) 0:00:39.464 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.021) 0:00:39.486 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.034) 0:00:39.520 ******* 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.230560", "end": "2024-01-02 19:31:05.597168", "rc": 1, "start": "2024-01-02 19:31:05.366608" } STDOUT: Connection 'statebr' (9c92230c-8f4c-4e98-a88a-88374ab1a032) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:102 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.428) 0:00:39.949 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.033) 0:00:39.982 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.021) 0:00:40.003 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.041) 0:00:40.045 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.032) 0:00:40.077 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:05 +0000 (0:00:00.030) 0:00:40.107 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003360", "end": "2024-01-02 19:31:05.957480", "rc": 0, "start": "2024-01-02 19:31:05.954120" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.250) 0:00:40.358 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.024) 0:00:40.382 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.040) 0:00:40.423 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.039) 0:00:40.462 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.041) 0:00:40.504 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.037) 0:00:40.542 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.037) 0:00:40.580 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.024) 0:00:40.604 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:06 +0000 (0:00:00.023) 0:00:40.628 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:07 +0000 (0:00:01.441) 0:00:42.069 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.929) 0:00:42.999 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.022) 0:00:43.022 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.061) 0:00:43.084 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.023) 0:00:43.107 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.074) 0:00:43.182 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.027) 0:00:43.210 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.023) 0:00:43.234 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:08 +0000 (0:00:00.034) 0:00:43.268 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.380) 0:00:43.649 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.037) 0:00:43.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.019) 0:00:43.705 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.019) 0:00:43.725 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.418) 0:00:44.143 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.025) 0:00:44.169 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.024) 0:00:44.193 ******* 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, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.025) 0:00:44.218 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:09 +0000 (0:00:00.023) 0:00:44.242 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.218) 0:00:44.460 ******* 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, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.027) 0:00:44.488 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.101) 0:00:44.590 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.054) 0:00:44.644 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.054) 0:00:44.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.031) 0:00:44.731 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:10 +0000 (0:00:00.027) 0:00:44.758 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:11 +0000 (0:00:01.466) 0:00:46.225 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.958) 0:00:47.183 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.027) 0:00:47.210 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.027) 0:00:47.237 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.030) 0:00:47.268 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:12 +0000 (0:00:00.054) 0:00:47.323 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.027) 0:00:47.350 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.040) 0:00:47.391 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.042) 0:00:47.433 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.451) 0:00:47.884 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.036) 0:00:47.921 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.022) 0:00:47.944 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:13 +0000 (0:00:00.020) 0:00:47.965 ******* 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, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.366) 0:00:48.332 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.033) 0:00:48.365 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.030) 0:00:48.396 ******* 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, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1da5fd7b-bc9f-4e92-8994-f62cbdc8fd69 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.027) 0:00:48.423 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.025) 0:00:48.449 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.215) 0:00:48.664 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.044) 0:00:48.709 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.039) 0:00:48.748 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.033) 0:00:48.782 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.023) 0:00:48.806 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:14 +0000 (0:00:00.025) 0:00:48.831 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:16 +0000 (0:00:01.501) 0:00:50.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.952) 0:00:51.286 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:16 +0000 (0:00:00.029) 0:00:51.315 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.035) 0:00:51.351 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.028) 0:00:51.379 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.060) 0:00:51.440 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.027) 0:00:51.468 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.025) 0:00:51.494 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.034) 0:00:51.529 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.395) 0:00:51.924 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.041) 0:00:51.966 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.025) 0:00:51.992 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:17 +0000 (0:00:00.045) 0:00:52.037 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.410) 0:00:52.448 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.030) 0:00:52.479 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.024) 0:00:52.503 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.101) 0:00:52.605 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.026) 0:00:52.632 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.236) 0:00:52.869 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.044) 0:00:52.913 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.067) 0:00:52.980 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.052) 0:00:53.033 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.065) 0:00:53.098 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.034) 0:00:53.132 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:18 +0000 (0:00:00.053) 0:00:53.186 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:20 +0000 (0:00:01.441) 0:00:54.628 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.988) 0:00:55.617 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.078) 0:00:55.695 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.042) 0:00:55.738 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.023) 0:00:55.762 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.076) 0:00:55.839 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.061) 0:00:55.900 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.038) 0:00:55.939 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:21 +0000 (0:00:00.040) 0:00:55.980 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.397) 0:00:56.378 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.047) 0:00:56.425 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.022) 0:00:56.448 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.028) 0:00:56.476 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.454) 0:00:56.931 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.024) 0:00:56.955 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.027) 0:00:56.983 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.026) 0:00:57.009 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.029) 0:00:57.039 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:22 +0000 (0:00:00.205) 0:00:57.245 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.095) 0:00:57.340 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.046) 0:00:57.387 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.040) 0:00:57.427 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.216) 0:00:57.643 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.024) 0:00:57.668 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020622", "end": "2024-01-02 19:31:23.553899", "rc": 1, "start": "2024-01-02 19:31:23.533277" } 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.237) 0:00:57.905 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.024) 0:00:57.929 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.023) 0:00:57.952 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.022) 0:00:57.975 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.034) 0:00:58.009 ******* 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_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.022) 0:00:58.032 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.024) 0:00:58.056 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.054) 0:00:58.110 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:23 +0000 (0:00:00.041) 0:00:58.151 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.217) 0:00:58.369 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.090) 0:00:58.460 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.025) 0:00:58.485 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.048) 0:00:58.534 ******* 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.039667", "end": "2024-01-02 19:31:24.418630", "rc": 1, "start": "2024-01-02 19:31:24.378963" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tests_states.yml:124 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.235) 0:00:58.770 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/run_test.yml:5 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.035) 0:00:58.805 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:9 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.026) 0:00:58.831 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:21 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.050) 0:00:58.882 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.033) 0:00:58.916 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.033) 0:00:58.949 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003381", "end": "2024-01-02 19:31:24.801913", "rc": 0, "start": "2024-01-02 19:31:24.798532" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.203) 0:00:59.153 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.023) 0:00:59.176 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:24 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.023) 0:00:59.199 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 02 January 2024 19:31:24 +0000 (0:00:00.049) 0:00:59.248 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:25 +0000 (0:00:00.101) 0:00:59.350 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:25 +0000 (0:00:00.042) 0:00:59.392 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:25 +0000 (0:00:00.034) 0:00:59.427 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:25 +0000 (0:00:00.024) 0:00:59.451 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:25 +0000 (0:00:00.024) 0:00:59.475 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:26 +0000 (0:00:01.435) 0:01:00.911 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.942) 0:01:01.854 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.024) 0:01:01.879 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.025) 0:01:01.904 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.024) 0:01:01.928 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.055) 0:01:01.984 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.023) 0:01:02.007 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.028) 0:01:02.036 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:27 +0000 (0:00:00.035) 0:01:02.072 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.474) 0:01:02.546 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.035) 0:01:02.582 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.020) 0:01:02.603 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.023) 0:01:02.627 ******* 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, 593bef78-c598-4fff-9d9c-1c5931344e58 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.421) 0:01:03.048 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.028) 0:01:03.076 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 593bef78-c598-4fff-9d9c-1c5931344e58" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.032) 0:01:03.108 ******* 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, 593bef78-c598-4fff-9d9c-1c5931344e58\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 593bef78-c598-4fff-9d9c-1c5931344e58" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.026) 0:01:03.134 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:28 +0000 (0:00:00.026) 0:01:03.161 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.225) 0:01:03.387 ******* 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, 593bef78-c598-4fff-9d9c-1c5931344e58\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 593bef78-c598-4fff-9d9c-1c5931344e58" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.031) 0:01:03.418 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.054) 0:01:03.472 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.053) 0:01:03.526 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.071) 0:01:03.598 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.025) 0:01:03.623 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:29 +0000 (0:00:00.090) 0:01:03.714 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:30 +0000 (0:00:01.439) 0:01:05.153 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.932) 0:01:06.085 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.023) 0:01:06.109 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.024) 0:01:06.133 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.023) 0:01:06.157 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.056) 0:01:06.213 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.028) 0:01:06.241 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:31 +0000 (0:00:00.033) 0:01:06.275 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.074) 0:01:06.350 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.406) 0:01:06.757 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.038) 0:01:06.795 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.020) 0:01:06.815 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.020) 0:01:06.836 ******* 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, 593bef78-c598-4fff-9d9c-1c5931344e58 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.392) 0:01:07.228 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:32 +0000 (0:00:00.023) 0:01:07.251 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 593bef78-c598-4fff-9d9c-1c5931344e58 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.074) 0:01:07.326 ******* 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, 593bef78-c598-4fff-9d9c-1c5931344e58 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 593bef78-c598-4fff-9d9c-1c5931344e58 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.024) 0:01:07.351 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.024) 0:01:07.375 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.207) 0:01:07.582 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.043) 0:01:07.626 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.040) 0:01:07.666 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.033) 0:01:07.700 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.023) 0:01:07.724 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:33 +0000 (0:00:00.023) 0:01:07.748 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:34 +0000 (0:00:01.434) 0:01:09.182 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.949) 0:01:10.132 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.031) 0:01:10.164 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.067) 0:01:10.232 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.023) 0:01:10.255 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:35 +0000 (0:00:00.054) 0:01:10.310 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.023) 0:01:10.333 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.024) 0:01:10.357 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.036) 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.386) 0:01:10.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.037) 0:01:10.819 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.020) 0:01:10.840 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:36 +0000 (0:00:00.022) 0:01:10.862 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.462) 0:01:11.325 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.034) 0:01:11.359 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.027) 0:01:11.387 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.023) 0:01:11.410 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.026) 0:01:11.436 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:30 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.210) 0:01:11.647 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.037) 0:01:11.684 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.080) 0:01:11.765 ******* included: /WORKDIR/git-route_typel_zicrds/.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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.039) 0:01:11.804 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.040) 0:01:11.844 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.024) 0:01:11.869 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 02 January 2024 19:31:37 +0000 (0:00:00.026) 0:01:11.895 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 02 January 2024 19:31:39 +0000 (0:00:01.444) 0:01:13.340 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.946) 0:01:14.287 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:39 +0000 (0:00:00.022) 0:01:14.310 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.022) 0:01:14.333 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.023) 0:01:14.356 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.053) 0:01:14.410 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.023) 0:01:14.433 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.023) 0:01:14.457 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.083) 0:01:14.540 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.385) 0:01:14.925 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.039) 0:01:14.965 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.023) 0:01:14.988 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 02 January 2024 19:31:40 +0000 (0:00:00.020) 0:01:15.009 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.376) 0:01:15.385 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.025) 0:01:15.410 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.026) 0:01:15.436 ******* 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_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.027) 0:01:15.464 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.024) 0:01:15.489 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:36 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.212) 0:01:15.701 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.043) 0:01:15.745 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.035) 0:01:15.781 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.022) 0:01:15.803 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.206) 0:01:16.009 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:31:41 +0000 (0:00:00.022) 0:01:16.032 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020924", "end": "2024-01-02 19:31:41.901863", "rc": 1, "start": "2024-01-02 19:31:41.880939" } 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.296) 0:01:16.328 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.024) 0:01:16.353 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.029) 0:01:16.383 ******* 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_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.024) 0:01:16.407 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.022) 0:01:16.430 ******* 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_typel_zicrds/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.021) 0:01:16.451 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.025) 0:01:16.477 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.561466", "end": "2024-01-02 19:31:42.892804", "rc": 0, "start": "2024-01-02 19:31:42.331338" } STDOUT: NetworkManager-1.45.9-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.788) 0:01:17.265 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 02 January 2024 19:31:42 +0000 (0:00:00.034) 0:01:17.300 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/run_test.yml:42 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.034) 0:01:17.334 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.061) 0:01:17.395 ******* included: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.037) 0:01:17.433 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typel_zicrds/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.216) 0:01:17.650 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:47 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.026) 0:01:17.676 ******* 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_typel_zicrds/tests/playbooks/tasks/run_test.yml:66 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.022) 0:01:17.699 ******* included: /WORKDIR/git-route_typel_zicrds/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_typel_zicrds/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 02 January 2024 19:31:43 +0000 (0:00:00.089) 0:01:17.789 ******* 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.038966", "end": "2024-01-02 19:31:43.674767", "rc": 1, "start": "2024-01-02 19:31:43.635801" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): '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 02 January 2024 19:31:43 +0000 (0:00:00.267) 0:01:18.057 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.57s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.43s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-route_typel_zicrds/.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.99s /WORKDIR/git-route_typel_zicrds/.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.96s /WORKDIR/git-route_typel_zicrds/.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.96s /WORKDIR/git-route_typel_zicrds/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-route_typel_zicrds/.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. ---^---^---^---^---^---