# 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_type5j824erd/.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_type5j824erd/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/tests_states_nm.yml:6 Monday 08 January 2024 14:17:35 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type5j824erd/tests/tests_states_nm.yml:9 Monday 08 January 2024 14:17:35 +0000 (0:00:00.757) 0:00:00.769 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:17:35 +0000 (0:00:00.016) 0:00:00.785 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:17 Monday 08 January 2024 14:17:36 +0000 (0:00:00.387) 0:00:01.173 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:22 Monday 08 January 2024 14:17:36 +0000 (0:00:00.273) 0:00:01.447 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:26 Monday 08 January 2024 14:17:36 +0000 (0:00:00.014) 0:00:01.461 ******** 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_type5j824erd/tests/tasks/el_repo_setup.yml:51 Monday 08 January 2024 14:17:36 +0000 (0:00:00.008) 0:00:01.470 ******** included: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:17:36 +0000 (0:00:00.020) 0:00:01.491 ******** 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_type5j824erd/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:17:36 +0000 (0:00:00.008) 0:00:01.499 ******** 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_type5j824erd/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:17:36 +0000 (0:00:00.007) 0:00:01.507 ******** 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_type5j824erd/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:17:36 +0000 (0:00:00.007) 0:00:01.514 ******** 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_type5j824erd/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:17:36 +0000 (0:00:00.017) 0:00:01.531 ******** 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_type5j824erd/tests/tests_states_nm.yml:11 Monday 08 January 2024 14:17:36 +0000 (0:00:00.029) 0:00:01.561 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_states.yml:3 Monday 08 January 2024 14:17:36 +0000 (0:00:00.017) 0:00:01.578 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_states.yml:11 Monday 08 January 2024 14:17:37 +0000 (0:00:00.640) 0:00:02.218 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_states.yml:22 Monday 08 January 2024 14:17:37 +0000 (0:00:00.024) 0:00:02.243 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:17:37 +0000 (0:00:00.023) 0:00:02.267 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:17:37 +0000 (0:00:00.034) 0:00:02.301 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:17:37 +0000 (0:00:00.035) 0:00:02.337 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:17:37 +0000 (0:00:00.014) 0:00:02.351 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:17:37 +0000 (0:00:00.014) 0:00:02.366 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003405", "end": "2024-01-08 14:17:37.635275", "rc": 0, "start": "2024-01-08 14:17:37.631870" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:17:37 +0000 (0:00:00.272) 0:00:02.638 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:17:37 +0000 (0:00:00.012) 0:00:02.651 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:17:37 +0000 (0:00:00.012) 0:00:02.663 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:17:37 +0000 (0:00:00.035) 0:00:02.698 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007736", "end": "2024-01-08 14:17:37.895643", "rc": 1, "start": "2024-01-08 14:17:37.887907" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:17:37 +0000 (0:00:00.199) 0:00:02.898 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:17:37 +0000 (0:00:00.028) 0:00:02.927 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:17:38 +0000 (0:00:00.230) 0:00:03.157 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:17:38 +0000 (0:00:00.014) 0:00:03.171 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:17:38 +0000 (0:00:00.027) 0:00:03.199 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:17:38 +0000 (0:00:00.045) 0:00:03.244 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:17:38 +0000 (0:00:00.041) 0:00:03.285 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:17:38 +0000 (0:00:00.019) 0:00:03.305 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:17:38 +0000 (0:00:00.012) 0:00:03.317 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:17:38 +0000 (0:00:00.011) 0:00:03.329 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:17:39 +0000 (0:00:01.545) 0:00:04.874 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:17:41 +0000 (0:00:01.125) 0:00:06.000 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:17:41 +0000 (0:00:00.027) 0:00:06.028 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:17:41 +0000 (0:00:00.024) 0:00:06.052 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:17:41 +0000 (0:00:00.060) 0:00:06.112 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:17:41 +0000 (0:00:00.109) 0:00:06.221 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:17:41 +0000 (0:00:00.023) 0:00:06.245 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:17:41 +0000 (0:00:00.053) 0:00:06.298 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:17:41 +0000 (0:00:00.053) 0:00:06.352 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:17:41 +0000 (0:00:00.618) 0:00:06.970 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:17:42 +0000 (0:00:00.130) 0:00:07.101 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:17:42 +0000 (0:00:00.031) 0:00:07.133 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:17:42 +0000 (0:00:00.019) 0:00:07.152 ******** 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, 802cb616-4bbb-40ef-a558-e9fd4b0746fb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:17:42 +0000 (0:00:00.638) 0:00:07.791 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:17:42 +0000 (0:00:00.042) 0:00:07.833 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 802cb616-4bbb-40ef-a558-e9fd4b0746fb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:17:42 +0000 (0:00:00.031) 0:00:07.864 ******** 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, 802cb616-4bbb-40ef-a558-e9fd4b0746fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 802cb616-4bbb-40ef-a558-e9fd4b0746fb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:17:42 +0000 (0:00:00.042) 0:00:07.906 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:17:42 +0000 (0:00:00.029) 0:00:07.935 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:17:43 +0000 (0:00:00.309) 0:00:08.245 ******** 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, 802cb616-4bbb-40ef-a558-e9fd4b0746fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 802cb616-4bbb-40ef-a558-e9fd4b0746fb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:17:43 +0000 (0:00:00.021) 0:00:08.267 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:17:43 +0000 (0:00:00.032) 0:00:08.299 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:17:43 +0000 (0:00:00.030) 0:00:08.330 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:17:43 +0000 (0:00:00.021) 0:00:08.351 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:17:43 +0000 (0:00:00.197) 0:00:08.549 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:17:43 +0000 (0:00:00.017) 0:00:08.566 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021808", "end": "2024-01-08 14:17:43.776915", "rc": 0, "start": "2024-01-08 14:17:43.755107" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:17:43 +0000 (0:00:00.253) 0:00:08.820 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:17:43 +0000 (0:00:00.024) 0:00:08.844 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:17:43 +0000 (0:00:00.023) 0:00:08.868 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:17:43 +0000 (0:00:00.020) 0:00:08.888 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:17:43 +0000 (0:00:00.022) 0:00:08.911 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:17:43 +0000 (0:00:00.020) 0:00:08.931 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:17:43 +0000 (0:00:00.021) 0:00:08.953 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:17:43 +0000 (0:00:00.021) 0:00:08.975 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:17:44 +0000 (0:00:00.023) 0:00:08.998 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:17:44 +0000 (0:00:00.046) 0:00:09.045 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:17:44 +0000 (0:00:00.036) 0:00:09.082 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723462.707871, "block_size": 4096, "blocks": 0, "ctime": 1704723462.707871, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32022, "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": 1704723462.707871, "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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:17:44 +0000 (0:00:00.202) 0:00:09.284 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:17:44 +0000 (0:00:00.021) 0:00:09.305 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:17:44 +0000 (0:00:00.020) 0:00:09.326 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:17:44 +0000 (0:00:00.035) 0:00:09.361 ******** 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.070912", "end": "2024-01-08 14:17:44.623185", "rc": 1, "start": "2024-01-08 14:17:44.552273" } STDOUT: Connection 'statebr' (802cb616-4bbb-40ef-a558-e9fd4b0746fb) 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_type5j824erd/tests/playbooks/tests_states.yml:45 Monday 08 January 2024 14:17:44 +0000 (0:00:00.272) 0:00:09.634 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:17:44 +0000 (0:00:00.061) 0:00:09.695 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:17:44 +0000 (0:00:00.033) 0:00:09.728 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:17:44 +0000 (0:00:00.049) 0:00:09.778 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:17:44 +0000 (0:00:00.034) 0:00:09.813 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:17:44 +0000 (0:00:00.030) 0:00:09.843 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003449", "end": "2024-01-08 14:17:45.036836", "rc": 0, "start": "2024-01-08 14:17:45.033387" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:17:45 +0000 (0:00:00.208) 0:00:10.052 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:17:45 +0000 (0:00:00.031) 0:00:10.084 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:17:45 +0000 (0:00:00.024) 0:00:10.108 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:17:45 +0000 (0:00:00.036) 0:00:10.145 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006075", "end": "2024-01-08 14:17:45.374878", "rc": 1, "start": "2024-01-08 14:17:45.368803" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:17:45 +0000 (0:00:00.253) 0:00:10.398 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:17:45 +0000 (0:00:00.048) 0:00:10.447 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:17:45 +0000 (0:00:00.213) 0:00:10.660 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:17:45 +0000 (0:00:00.025) 0:00:10.686 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 08 January 2024 14:17:45 +0000 (0:00:00.071) 0:00:10.757 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:17:45 +0000 (0:00:00.047) 0:00:10.805 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:17:45 +0000 (0:00:00.050) 0:00:10.855 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:17:45 +0000 (0:00:00.047) 0:00:10.902 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:17:45 +0000 (0:00:00.048) 0:00:10.951 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:17:46 +0000 (0:00:00.041) 0:00:10.993 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:17:47 +0000 (0:00:01.507) 0:00:12.500 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:17:48 +0000 (0:00:00.964) 0:00:13.465 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:17:48 +0000 (0:00:00.024) 0:00:13.489 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:17:48 +0000 (0:00:00.026) 0:00:13.515 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:17:48 +0000 (0:00:00.023) 0:00:13.539 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:17:48 +0000 (0:00:00.055) 0:00:13.595 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:17:48 +0000 (0:00:00.029) 0:00:13.624 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:17:48 +0000 (0:00:00.052) 0:00:13.676 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:17:48 +0000 (0:00:00.033) 0:00:13.710 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:17:49 +0000 (0:00:00.396) 0:00:14.106 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:17:49 +0000 (0:00:00.037) 0:00:14.144 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:17:49 +0000 (0:00:00.029) 0:00:14.173 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:17:49 +0000 (0:00:00.060) 0:00:14.233 ******** 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, 62995379-a7d3-41fd-bfe4-d4f600debb23 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:17:49 +0000 (0:00:00.420) 0:00:14.653 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:17:49 +0000 (0:00:00.049) 0:00:14.703 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62995379-a7d3-41fd-bfe4-d4f600debb23" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:17:49 +0000 (0:00:00.073) 0:00:14.776 ******** 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, 62995379-a7d3-41fd-bfe4-d4f600debb23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62995379-a7d3-41fd-bfe4-d4f600debb23" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:17:49 +0000 (0:00:00.030) 0:00:14.807 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:17:49 +0000 (0:00:00.034) 0:00:14.841 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 08 January 2024 14:17:50 +0000 (0:00:00.245) 0:00:15.087 ******** 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, 62995379-a7d3-41fd-bfe4-d4f600debb23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62995379-a7d3-41fd-bfe4-d4f600debb23" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:17:50 +0000 (0:00:00.023) 0:00:15.110 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:17:50 +0000 (0:00:00.036) 0:00:15.147 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:17:50 +0000 (0:00:00.029) 0:00:15.177 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:17:50 +0000 (0:00:00.231) 0:00:15.408 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:17:50 +0000 (0:00:00.021) 0:00:15.430 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:17:50 +0000 (0:00:00.034) 0:00:15.464 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:17:50 +0000 (0:00:00.028) 0:00:15.493 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:17:50 +0000 (0:00:00.213) 0:00:15.706 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:17:50 +0000 (0:00:00.029) 0:00:15.736 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022802", "end": "2024-01-08 14:17:50.956390", "rc": 0, "start": "2024-01-08 14:17:50.933588" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:17:50 +0000 (0:00:00.233) 0:00:15.970 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:17:51 +0000 (0:00:00.021) 0:00:15.991 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:17:51 +0000 (0:00:00.019) 0:00:16.010 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:17:51 +0000 (0:00:00.023) 0:00:16.034 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:17:51 +0000 (0:00:00.021) 0:00:16.055 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:17:51 +0000 (0:00:00.021) 0:00:16.077 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:17:51 +0000 (0:00:00.024) 0:00:16.101 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:17:51 +0000 (0:00:00.024) 0:00:16.126 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:17:51 +0000 (0:00:00.023) 0:00:16.149 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:17:51 +0000 (0:00:00.047) 0:00:16.197 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:17:51 +0000 (0:00:00.028) 0:00:16.225 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:17:51 +0000 (0:00:00.070) 0:00:16.296 ******** 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.043436", "end": "2024-01-08 14:17:51.551076", "rc": 1, "start": "2024-01-08 14:17:51.507640" } STDOUT: Connection 'statebr' (62995379-a7d3-41fd-bfe4-d4f600debb23) 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_type5j824erd/tests/playbooks/tests_states.yml:65 Monday 08 January 2024 14:17:51 +0000 (0:00:00.274) 0:00:16.570 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:17:51 +0000 (0:00:00.043) 0:00:16.614 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:17:51 +0000 (0:00:00.027) 0:00:16.641 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:17:51 +0000 (0:00:00.041) 0:00:16.683 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:17:51 +0000 (0:00:00.030) 0:00:16.713 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:17:51 +0000 (0:00:00.029) 0:00:16.742 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003462", "end": "2024-01-08 14:17:51.946590", "rc": 0, "start": "2024-01-08 14:17:51.943128" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:17:51 +0000 (0:00:00.221) 0:00:16.964 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:17:52 +0000 (0:00:00.021) 0:00:16.985 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:17:52 +0000 (0:00:00.019) 0:00:17.005 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:17:52 +0000 (0:00:00.032) 0:00:17.037 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:17:52 +0000 (0:00:00.039) 0:00:17.076 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:17:52 +0000 (0:00:00.065) 0:00:17.141 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:17:52 +0000 (0:00:00.037) 0:00:17.179 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:17:52 +0000 (0:00:00.033) 0:00:17.212 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:17:52 +0000 (0:00:00.024) 0:00:17.237 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:17:53 +0000 (0:00:01.512) 0:00:18.749 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:17:54 +0000 (0:00:00.962) 0:00:19.711 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:17:54 +0000 (0:00:00.024) 0:00:19.736 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:17:54 +0000 (0:00:00.044) 0:00:19.780 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:17:54 +0000 (0:00:00.032) 0:00:19.813 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:17:54 +0000 (0:00:00.069) 0:00:19.882 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:17:54 +0000 (0:00:00.033) 0:00:19.916 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:17:54 +0000 (0:00:00.025) 0:00:19.942 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:17:54 +0000 (0:00:00.038) 0:00:19.981 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:17:55 +0000 (0:00:00.394) 0:00:20.375 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:17:55 +0000 (0:00:00.049) 0:00:20.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:17:55 +0000 (0:00:00.026) 0:00:20.451 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:17:55 +0000 (0:00:00.072) 0:00:20.524 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e9296a2-9313-46c9-bc24-f46daaaf17f8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:17:55 +0000 (0:00:00.435) 0:00:20.960 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:17:56 +0000 (0:00:00.024) 0:00:20.984 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e9296a2-9313-46c9-bc24-f46daaaf17f8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:17:56 +0000 (0:00:00.032) 0:00:21.017 ******** 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, 6e9296a2-9313-46c9-bc24-f46daaaf17f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e9296a2-9313-46c9-bc24-f46daaaf17f8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:17:56 +0000 (0:00:00.049) 0:00:21.066 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:17:56 +0000 (0:00:00.025) 0:00:21.091 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:17:56 +0000 (0:00:00.227) 0:00:21.318 ******** 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, 6e9296a2-9313-46c9-bc24-f46daaaf17f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6e9296a2-9313-46c9-bc24-f46daaaf17f8" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:17:56 +0000 (0:00:00.023) 0:00:21.342 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:17:56 +0000 (0:00:00.034) 0:00:21.376 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:17:56 +0000 (0:00:00.040) 0:00:21.416 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:17:56 +0000 (0:00:00.038) 0:00:21.454 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:17:56 +0000 (0:00:00.033) 0:00:21.488 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:17:56 +0000 (0:00:00.022) 0:00:21.510 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:17:56 +0000 (0:00:00.023) 0:00:21.533 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:17:58 +0000 (0:00:01.590) 0:00:23.124 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:17:59 +0000 (0:00:00.971) 0:00:24.096 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:17:59 +0000 (0:00:00.028) 0:00:24.125 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:17:59 +0000 (0:00:00.029) 0:00:24.155 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:17:59 +0000 (0:00:00.029) 0:00:24.184 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:17:59 +0000 (0:00:00.054) 0:00:24.238 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:17:59 +0000 (0:00:00.026) 0:00:24.265 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:17:59 +0000 (0:00:00.023) 0:00:24.289 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:17:59 +0000 (0:00:00.036) 0:00:24.325 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:17:59 +0000 (0:00:00.403) 0:00:24.729 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:17:59 +0000 (0:00:00.049) 0:00:24.779 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:17:59 +0000 (0:00:00.030) 0:00:24.809 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:17:59 +0000 (0:00:00.025) 0:00:24.835 ******** 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, 6e9296a2-9313-46c9-bc24-f46daaaf17f8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:00 +0000 (0:00:00.364) 0:00:25.200 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:00 +0000 (0:00:00.023) 0:00:25.224 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e9296a2-9313-46c9-bc24-f46daaaf17f8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:00 +0000 (0:00:00.022) 0:00:25.247 ******** 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, 6e9296a2-9313-46c9-bc24-f46daaaf17f8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6e9296a2-9313-46c9-bc24-f46daaaf17f8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:00 +0000 (0:00:00.051) 0:00:25.298 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:00 +0000 (0:00:00.027) 0:00:25.325 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:18:00 +0000 (0:00:00.226) 0:00:25.552 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:18:00 +0000 (0:00:00.037) 0:00:25.589 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:18:00 +0000 (0:00:00.029) 0:00:25.619 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723475.8780375, "block_size": 4096, "blocks": 0, "ctime": 1704723475.8780375, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32153, "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": 1704723475.8780375, "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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:18:00 +0000 (0:00:00.205) 0:00:25.824 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:18:00 +0000 (0:00:00.021) 0:00:25.845 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:18:00 +0000 (0:00:00.037) 0:00:25.883 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:18:00 +0000 (0:00:00.020) 0:00:25.904 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:18:01 +0000 (0:00:00.209) 0:00:26.113 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:18:01 +0000 (0:00:00.020) 0:00:26.133 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022828", "end": "2024-01-08 14:18:01.352871", "rc": 0, "start": "2024-01-08 14:18:01.330043" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:18:01 +0000 (0:00:00.240) 0:00:26.374 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:18:01 +0000 (0:00:00.021) 0:00:26.395 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:18:01 +0000 (0:00:00.019) 0:00:26.415 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:18:01 +0000 (0:00:00.071) 0:00:26.486 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:18:01 +0000 (0:00:00.039) 0:00:26.526 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:18:01 +0000 (0:00:00.027) 0:00:26.554 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:18:01 +0000 (0:00:00.023) 0:00:26.577 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:18:01 +0000 (0:00:00.023) 0:00:26.601 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:18:01 +0000 (0:00:00.023) 0:00:26.625 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:18:01 +0000 (0:00:00.043) 0:00:26.668 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:18:01 +0000 (0:00:00.025) 0:00:26.693 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:18:01 +0000 (0:00:00.035) 0:00:26.729 ******** 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.066671", "end": "2024-01-08 14:18:01.993193", "rc": 1, "start": "2024-01-08 14:18:01.926522" } STDOUT: Connection 'statebr' (6e9296a2-9313-46c9-bc24-f46daaaf17f8) 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_type5j824erd/tests/playbooks/tests_states.yml:83 Monday 08 January 2024 14:18:02 +0000 (0:00:00.277) 0:00:27.006 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:18:02 +0000 (0:00:00.032) 0:00:27.039 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:18:02 +0000 (0:00:00.020) 0:00:27.059 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:18:02 +0000 (0:00:00.042) 0:00:27.102 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:18:02 +0000 (0:00:00.030) 0:00:27.132 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:18:02 +0000 (0:00:00.031) 0:00:27.164 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003410", "end": "2024-01-08 14:18:02.363057", "rc": 0, "start": "2024-01-08 14:18:02.359647" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:18:02 +0000 (0:00:00.241) 0:00:27.405 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:18:02 +0000 (0:00:00.022) 0:00:27.428 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:18:02 +0000 (0:00:00.020) 0:00:27.449 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:18:02 +0000 (0:00:00.033) 0:00:27.483 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:02 +0000 (0:00:00.040) 0:00:27.523 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:02 +0000 (0:00:00.037) 0:00:27.560 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:02 +0000 (0:00:00.033) 0:00:27.593 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:02 +0000 (0:00:00.022) 0:00:27.616 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:02 +0000 (0:00:00.023) 0:00:27.639 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:04 +0000 (0:00:01.566) 0:00:29.206 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:05 +0000 (0:00:00.974) 0:00:30.180 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:05 +0000 (0:00:00.033) 0:00:30.214 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:05 +0000 (0:00:00.056) 0:00:30.270 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:05 +0000 (0:00:00.023) 0:00:30.294 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:05 +0000 (0:00:00.054) 0:00:30.348 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:05 +0000 (0:00:00.024) 0:00:30.373 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:05 +0000 (0:00:00.027) 0:00:30.401 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:05 +0000 (0:00:00.037) 0:00:30.438 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:05 +0000 (0:00:00.391) 0:00:30.830 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:05 +0000 (0:00:00.039) 0:00:30.869 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:05 +0000 (0:00:00.023) 0:00:30.893 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:05 +0000 (0:00:00.030) 0:00:30.924 ******** 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, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:06 +0000 (0:00:00.431) 0:00:31.355 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:06 +0000 (0:00:00.022) 0:00:31.378 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:06 +0000 (0:00:00.022) 0:00:31.400 ******** 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, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:06 +0000 (0:00:00.022) 0:00:31.423 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:06 +0000 (0:00:00.021) 0:00:31.444 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:18:06 +0000 (0:00:00.208) 0:00:31.652 ******** 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, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:18:06 +0000 (0:00:00.025) 0:00:31.678 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:06 +0000 (0:00:00.069) 0:00:31.748 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:06 +0000 (0:00:00.042) 0:00:31.790 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:06 +0000 (0:00:00.043) 0:00:31.834 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:06 +0000 (0:00:00.026) 0:00:31.860 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:06 +0000 (0:00:00.025) 0:00:31.885 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:08 +0000 (0:00:01.520) 0:00:33.406 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:09 +0000 (0:00:00.949) 0:00:34.355 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:09 +0000 (0:00:00.027) 0:00:34.382 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:09 +0000 (0:00:00.025) 0:00:34.408 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:09 +0000 (0:00:00.025) 0:00:34.434 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:09 +0000 (0:00:00.066) 0:00:34.500 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:09 +0000 (0:00:00.039) 0:00:34.540 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:09 +0000 (0:00:00.045) 0:00:34.585 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:09 +0000 (0:00:00.037) 0:00:34.622 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:10 +0000 (0:00:00.655) 0:00:35.278 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:10 +0000 (0:00:00.045) 0:00:35.324 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:10 +0000 (0:00:00.029) 0:00:35.354 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:10 +0000 (0:00:00.047) 0:00:35.401 ******** 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, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:10 +0000 (0:00:00.388) 0:00:35.789 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:10 +0000 (0:00:00.043) 0:00:35.833 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:10 +0000 (0:00:00.026) 0:00:35.860 ******** 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, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:10 +0000 (0:00:00.024) 0:00:35.884 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:10 +0000 (0:00:00.026) 0:00:35.911 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:18:11 +0000 (0:00:00.211) 0:00:36.122 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:18:11 +0000 (0:00:00.046) 0:00:36.169 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:11 +0000 (0:00:00.062) 0:00:36.231 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:11 +0000 (0:00:00.038) 0:00:36.269 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:11 +0000 (0:00:00.034) 0:00:36.304 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:11 +0000 (0:00:00.075) 0:00:36.379 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:11 +0000 (0:00:00.032) 0:00:36.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:12 +0000 (0:00:01.523) 0:00:37.936 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:13 +0000 (0:00:00.951) 0:00:38.887 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:13 +0000 (0:00:00.022) 0:00:38.909 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:13 +0000 (0:00:00.023) 0:00:38.933 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:13 +0000 (0:00:00.024) 0:00:38.957 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:14 +0000 (0:00:00.052) 0:00:39.010 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:14 +0000 (0:00:00.022) 0:00:39.032 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:14 +0000 (0:00:00.026) 0:00:39.059 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:14 +0000 (0:00:00.037) 0:00:39.096 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:14 +0000 (0:00:00.397) 0:00:39.494 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:14 +0000 (0:00:00.038) 0:00:39.532 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:14 +0000 (0:00:00.019) 0:00:39.552 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:14 +0000 (0:00:00.019) 0:00:39.571 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:15 +0000 (0:00:00.437) 0:00:40.009 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:15 +0000 (0:00:00.086) 0:00:40.095 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:15 +0000 (0:00:00.024) 0:00:40.120 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:15 +0000 (0:00:00.030) 0:00:40.151 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:15 +0000 (0:00:00.025) 0:00:40.176 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:18:15 +0000 (0:00:00.214) 0:00:40.390 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:18:15 +0000 (0:00:00.038) 0:00:40.428 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:18:15 +0000 (0:00:00.035) 0:00:40.464 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723486.288489, "block_size": 4096, "blocks": 0, "ctime": 1704723486.288489, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32284, "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": 1704723486.288489, "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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:18:15 +0000 (0:00:00.205) 0:00:40.670 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:18:15 +0000 (0:00:00.023) 0:00:40.694 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:18:15 +0000 (0:00:00.037) 0:00:40.731 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:18:15 +0000 (0:00:00.038) 0:00:40.770 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:18:16 +0000 (0:00:00.218) 0:00:40.989 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:18:16 +0000 (0:00:00.024) 0:00:41.013 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023024", "end": "2024-01-08 14:18:16.242335", "rc": 1, "start": "2024-01-08 14:18:16.219311" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:18:16 +0000 (0:00:00.248) 0:00:41.262 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:18:16 +0000 (0:00:00.032) 0:00:41.295 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:18:16 +0000 (0:00:00.066) 0:00:41.361 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:18:16 +0000 (0:00:00.029) 0:00:41.390 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:18:16 +0000 (0:00:00.026) 0:00:41.417 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:18:16 +0000 (0:00:00.021) 0:00:41.438 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:18:16 +0000 (0:00:00.025) 0:00:41.464 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:18:16 +0000 (0:00:00.032) 0:00:41.497 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:18:16 +0000 (0:00:00.030) 0:00:41.528 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:18:16 +0000 (0:00:00.037) 0:00:41.565 ******** 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.077186", "end": "2024-01-08 14:18:16.870515", "rc": 1, "start": "2024-01-08 14:18:16.793329" } STDOUT: Connection 'statebr' (ccda0532-38a4-4b4b-94d0-b8e35fa9e0b9) 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_type5j824erd/tests/playbooks/tests_states.yml:102 Monday 08 January 2024 14:18:16 +0000 (0:00:00.323) 0:00:41.888 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:18:16 +0000 (0:00:00.040) 0:00:41.929 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:18:16 +0000 (0:00:00.025) 0:00:41.954 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:18:17 +0000 (0:00:00.048) 0:00:42.002 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:18:17 +0000 (0:00:00.056) 0:00:42.059 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:18:17 +0000 (0:00:00.032) 0:00:42.091 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003310", "end": "2024-01-08 14:18:17.302235", "rc": 0, "start": "2024-01-08 14:18:17.298925" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:18:17 +0000 (0:00:00.270) 0:00:42.361 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:18:17 +0000 (0:00:00.027) 0:00:42.389 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:18:17 +0000 (0:00:00.030) 0:00:42.420 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:18:17 +0000 (0:00:00.049) 0:00:42.469 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:17 +0000 (0:00:00.047) 0:00:42.516 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:17 +0000 (0:00:00.068) 0:00:42.585 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:17 +0000 (0:00:00.057) 0:00:42.642 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:17 +0000 (0:00:00.033) 0:00:42.676 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:17 +0000 (0:00:00.023) 0:00:42.700 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:19 +0000 (0:00:01.499) 0:00:44.200 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:20 +0000 (0:00:00.969) 0:00:45.170 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:20 +0000 (0:00:00.020) 0:00:45.190 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:20 +0000 (0:00:00.055) 0:00:45.246 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:20 +0000 (0:00:00.024) 0:00:45.270 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:20 +0000 (0:00:00.076) 0:00:45.346 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:20 +0000 (0:00:00.061) 0:00:45.408 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:20 +0000 (0:00:00.026) 0:00:45.434 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:20 +0000 (0:00:00.040) 0:00:45.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:20 +0000 (0:00:00.396) 0:00:45.871 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:20 +0000 (0:00:00.034) 0:00:45.906 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:20 +0000 (0:00:00.018) 0:00:45.925 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:20 +0000 (0:00:00.018) 0:00:45.944 ******** 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, 04e59794-04e5-48cb-8b07-2b9e965c8e0b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:21 +0000 (0:00:00.430) 0:00:46.374 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:21 +0000 (0:00:00.033) 0:00:46.408 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04e59794-04e5-48cb-8b07-2b9e965c8e0b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:21 +0000 (0:00:00.025) 0:00:46.433 ******** 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, 04e59794-04e5-48cb-8b07-2b9e965c8e0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04e59794-04e5-48cb-8b07-2b9e965c8e0b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:21 +0000 (0:00:00.023) 0:00:46.456 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:21 +0000 (0:00:00.023) 0:00:46.480 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:18:21 +0000 (0:00:00.225) 0:00:46.706 ******** 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, 04e59794-04e5-48cb-8b07-2b9e965c8e0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04e59794-04e5-48cb-8b07-2b9e965c8e0b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:18:21 +0000 (0:00:00.073) 0:00:46.779 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:21 +0000 (0:00:00.128) 0:00:46.908 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:21 +0000 (0:00:00.063) 0:00:46.972 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:22 +0000 (0:00:00.036) 0:00:47.009 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:22 +0000 (0:00:00.079) 0:00:47.088 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:22 +0000 (0:00:00.035) 0:00:47.123 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:23 +0000 (0:00:01.556) 0:00:48.680 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:24 +0000 (0:00:01.036) 0:00:49.717 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:24 +0000 (0:00:00.036) 0:00:49.753 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:24 +0000 (0:00:00.026) 0:00:49.780 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:24 +0000 (0:00:00.026) 0:00:49.806 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:24 +0000 (0:00:00.093) 0:00:49.899 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:24 +0000 (0:00:00.042) 0:00:49.941 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:24 +0000 (0:00:00.023) 0:00:49.965 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:25 +0000 (0:00:00.054) 0:00:50.019 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:25 +0000 (0:00:00.452) 0:00:50.472 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:25 +0000 (0:00:00.034) 0:00:50.507 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:25 +0000 (0:00:00.021) 0:00:50.528 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:25 +0000 (0:00:00.021) 0:00:50.550 ******** 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, 04e59794-04e5-48cb-8b07-2b9e965c8e0b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:25 +0000 (0:00:00.374) 0:00:50.924 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:25 +0000 (0:00:00.038) 0:00:50.962 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04e59794-04e5-48cb-8b07-2b9e965c8e0b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:26 +0000 (0:00:00.056) 0:00:51.019 ******** 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, 04e59794-04e5-48cb-8b07-2b9e965c8e0b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04e59794-04e5-48cb-8b07-2b9e965c8e0b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:26 +0000 (0:00:00.037) 0:00:51.057 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:26 +0000 (0:00:00.022) 0:00:51.080 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:18:26 +0000 (0:00:00.267) 0:00:51.348 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:26 +0000 (0:00:00.084) 0:00:51.432 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:26 +0000 (0:00:00.059) 0:00:51.492 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:26 +0000 (0:00:00.066) 0:00:51.558 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:26 +0000 (0:00:00.025) 0:00:51.584 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:26 +0000 (0:00:00.022) 0:00:51.606 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:28 +0000 (0:00:01.550) 0:00:53.156 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:29 +0000 (0:00:01.081) 0:00:54.238 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:29 +0000 (0:00:00.038) 0:00:54.276 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:29 +0000 (0:00:00.024) 0:00:54.300 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:29 +0000 (0:00:00.035) 0:00:54.336 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:29 +0000 (0:00:00.053) 0:00:54.390 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:29 +0000 (0:00:00.023) 0:00:54.414 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:29 +0000 (0:00:00.033) 0:00:54.447 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:29 +0000 (0:00:00.038) 0:00:54.486 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:29 +0000 (0:00:00.402) 0:00:54.888 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:29 +0000 (0:00:00.035) 0:00:54.924 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:29 +0000 (0:00:00.026) 0:00:54.950 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:29 +0000 (0:00:00.022) 0:00:54.973 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:30 +0000 (0:00:00.419) 0:00:55.392 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:30 +0000 (0:00:00.044) 0:00:55.437 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:30 +0000 (0:00:00.029) 0:00:55.466 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:30 +0000 (0:00:00.066) 0:00:55.532 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:30 +0000 (0:00:00.026) 0:00:55.559 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:18:30 +0000 (0:00:00.215) 0:00:55.775 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:18:30 +0000 (0:00:00.036) 0:00:55.811 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:30 +0000 (0:00:00.059) 0:00:55.871 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:30 +0000 (0:00:00.076) 0:00:55.948 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:31 +0000 (0:00:00.042) 0:00:55.990 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:31 +0000 (0:00:00.026) 0:00:56.017 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:31 +0000 (0:00:00.024) 0:00:56.041 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:32 +0000 (0:00:01.515) 0:00:57.557 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:33 +0000 (0:00:01.001) 0:00:58.559 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:33 +0000 (0:00:00.061) 0:00:58.620 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:33 +0000 (0:00:00.024) 0:00:58.645 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:33 +0000 (0:00:00.023) 0:00:58.668 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:33 +0000 (0:00:00.052) 0:00:58.721 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:33 +0000 (0:00:00.032) 0:00:58.753 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:33 +0000 (0:00:00.037) 0:00:58.790 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:33 +0000 (0:00:00.036) 0:00:58.827 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:34 +0000 (0:00:00.409) 0:00:59.236 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:34 +0000 (0:00:00.040) 0:00:59.277 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:34 +0000 (0:00:00.024) 0:00:59.301 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:34 +0000 (0:00:00.024) 0:00:59.325 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:34 +0000 (0:00:00.502) 0:00:59.828 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:34 +0000 (0:00:00.052) 0:00:59.880 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:34 +0000 (0:00:00.043) 0:00:59.924 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:34 +0000 (0:00:00.027) 0:00:59.952 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:34 +0000 (0:00:00.025) 0:00:59.978 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:18:35 +0000 (0:00:00.220) 0:01:00.199 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:18:35 +0000 (0:00:00.084) 0:01:00.283 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:18:35 +0000 (0:00:00.032) 0:01:00.315 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:18:35 +0000 (0:00:00.032) 0:01:00.348 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:18:35 +0000 (0:00:00.204) 0:01:00.552 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:18:35 +0000 (0:00:00.029) 0:01:00.581 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020912", "end": "2024-01-08 14:18:35.792099", "rc": 1, "start": "2024-01-08 14:18:35.771187" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:18:35 +0000 (0:00:00.221) 0:01:00.803 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:18:35 +0000 (0:00:00.021) 0:01:00.824 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:18:35 +0000 (0:00:00.019) 0:01:00.844 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:18:35 +0000 (0:00:00.018) 0:01:00.863 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:18:35 +0000 (0:00:00.021) 0:01:00.884 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:18:35 +0000 (0:00:00.020) 0:01:00.905 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:18:35 +0000 (0:00:00.022) 0:01:00.927 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:18:35 +0000 (0:00:00.046) 0:01:00.974 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:18:36 +0000 (0:00:00.032) 0:01:01.007 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:18:36 +0000 (0:00:00.259) 0:01:01.266 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:18:36 +0000 (0:00:00.092) 0:01:01.359 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:18:36 +0000 (0:00:00.197) 0:01:01.556 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:18:36 +0000 (0:00:00.064) 0:01:01.621 ******** 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.041171", "end": "2024-01-08 14:18:36.894286", "rc": 1, "start": "2024-01-08 14:18:36.853115" } 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_type5j824erd/tests/playbooks/tests_states.yml:124 Monday 08 January 2024 14:18:36 +0000 (0:00:00.299) 0:01:01.920 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:18:36 +0000 (0:00:00.046) 0:01:01.967 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:18:37 +0000 (0:00:00.023) 0:01:01.990 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:18:37 +0000 (0:00:00.044) 0:01:02.034 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:18:37 +0000 (0:00:00.035) 0:01:02.070 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:18:37 +0000 (0:00:00.044) 0:01:02.115 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-01-08 14:18:37.310163", "rc": 0, "start": "2024-01-08 14:18:37.306818" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:18:37 +0000 (0:00:00.208) 0:01:02.323 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:18:37 +0000 (0:00:00.025) 0:01:02.349 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:18:37 +0000 (0:00:00.058) 0:01:02.407 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:18:37 +0000 (0:00:00.056) 0:01:02.463 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:37 +0000 (0:00:00.101) 0:01:02.565 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:37 +0000 (0:00:00.069) 0:01:02.635 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:37 +0000 (0:00:00.044) 0:01:02.679 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:37 +0000 (0:00:00.069) 0:01:02.749 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:37 +0000 (0:00:00.054) 0:01:02.803 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:39 +0000 (0:00:01.535) 0:01:04.338 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:40 +0000 (0:00:00.967) 0:01:05.306 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:40 +0000 (0:00:00.023) 0:01:05.330 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:40 +0000 (0:00:00.022) 0:01:05.352 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:40 +0000 (0:00:00.023) 0:01:05.376 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:40 +0000 (0:00:00.055) 0:01:05.431 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:40 +0000 (0:00:00.022) 0:01:05.453 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:40 +0000 (0:00:00.022) 0:01:05.475 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:40 +0000 (0:00:00.039) 0:01:05.515 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:40 +0000 (0:00:00.441) 0:01:05.957 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:41 +0000 (0:00:00.041) 0:01:05.999 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:41 +0000 (0:00:00.019) 0:01:06.019 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:41 +0000 (0:00:00.019) 0:01:06.038 ******** 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, ef705b7d-aadc-4a9f-b56a-358223ce4570 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:41 +0000 (0:00:00.417) 0:01:06.455 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:41 +0000 (0:00:00.025) 0:01:06.481 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef705b7d-aadc-4a9f-b56a-358223ce4570" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:41 +0000 (0:00:00.025) 0:01:06.506 ******** 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, ef705b7d-aadc-4a9f-b56a-358223ce4570\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef705b7d-aadc-4a9f-b56a-358223ce4570" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:41 +0000 (0:00:00.024) 0:01:06.531 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:41 +0000 (0:00:00.022) 0:01:06.553 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:18:41 +0000 (0:00:00.214) 0:01:06.767 ******** 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, ef705b7d-aadc-4a9f-b56a-358223ce4570\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef705b7d-aadc-4a9f-b56a-358223ce4570" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:18:41 +0000 (0:00:00.029) 0:01:06.797 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:41 +0000 (0:00:00.045) 0:01:06.843 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:41 +0000 (0:00:00.036) 0:01:06.879 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:41 +0000 (0:00:00.045) 0:01:06.925 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:41 +0000 (0:00:00.031) 0:01:06.956 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:42 +0000 (0:00:00.065) 0:01:07.021 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:43 +0000 (0:00:01.534) 0:01:08.556 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:44 +0000 (0:00:00.951) 0:01:09.508 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:44 +0000 (0:00:00.023) 0:01:09.531 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:44 +0000 (0:00:00.041) 0:01:09.572 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:44 +0000 (0:00:00.036) 0:01:09.609 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:44 +0000 (0:00:00.135) 0:01:09.745 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:44 +0000 (0:00:00.036) 0:01:09.781 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:44 +0000 (0:00:00.025) 0:01:09.807 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:44 +0000 (0:00:00.036) 0:01:09.843 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:45 +0000 (0:00:00.416) 0:01:10.260 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:45 +0000 (0:00:00.038) 0:01:10.298 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:45 +0000 (0:00:00.019) 0:01:10.318 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:45 +0000 (0:00:00.022) 0:01:10.341 ******** 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, ef705b7d-aadc-4a9f-b56a-358223ce4570 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:45 +0000 (0:00:00.408) 0:01:10.749 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:45 +0000 (0:00:00.023) 0:01:10.773 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ef705b7d-aadc-4a9f-b56a-358223ce4570 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:45 +0000 (0:00:00.062) 0:01:10.836 ******** 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, ef705b7d-aadc-4a9f-b56a-358223ce4570 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ef705b7d-aadc-4a9f-b56a-358223ce4570 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:45 +0000 (0:00:00.023) 0:01:10.859 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:45 +0000 (0:00:00.034) 0:01:10.893 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:18:46 +0000 (0:00:00.233) 0:01:11.127 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:46 +0000 (0:00:00.051) 0:01:11.179 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:46 +0000 (0:00:00.041) 0:01:11.220 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:46 +0000 (0:00:00.041) 0:01:11.262 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:46 +0000 (0:00:00.028) 0:01:11.291 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:46 +0000 (0:00:00.027) 0:01:11.319 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:47 +0000 (0:00:01.482) 0:01:12.801 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:48 +0000 (0:00:00.962) 0:01:13.764 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:48 +0000 (0:00:00.030) 0:01:13.794 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:48 +0000 (0:00:00.069) 0:01:13.863 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:48 +0000 (0:00:00.023) 0:01:13.887 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:48 +0000 (0:00:00.054) 0:01:13.941 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:48 +0000 (0:00:00.023) 0:01:13.965 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:49 +0000 (0:00:00.023) 0:01:13.988 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:49 +0000 (0:00:00.033) 0:01:14.022 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:49 +0000 (0:00:00.406) 0:01:14.429 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:49 +0000 (0:00:00.060) 0:01:14.489 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:49 +0000 (0:00:00.027) 0:01:14.516 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:49 +0000 (0:00:00.023) 0:01:14.539 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:50 +0000 (0:00:00.490) 0:01:15.030 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:50 +0000 (0:00:00.033) 0:01:15.063 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:50 +0000 (0:00:00.030) 0:01:15.094 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:50 +0000 (0:00:00.024) 0:01:15.119 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:50 +0000 (0:00:00.036) 0:01:15.156 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:18:50 +0000 (0:00:00.239) 0:01:15.395 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:18:50 +0000 (0:00:00.080) 0:01:15.475 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:18:50 +0000 (0:00:00.079) 0:01:15.555 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:50 +0000 (0:00:00.039) 0:01:15.594 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:18:50 +0000 (0:00:00.034) 0:01:15.628 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:18:50 +0000 (0:00:00.032) 0:01:15.661 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:18:50 +0000 (0:00:00.026) 0:01:15.687 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:18:52 +0000 (0:00:01.493) 0:01:17.181 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:18:53 +0000 (0:00:00.958) 0:01:18.139 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:18:53 +0000 (0:00:00.037) 0:01:18.177 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:18:53 +0000 (0:00:00.045) 0:01:18.223 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:18:53 +0000 (0:00:00.048) 0:01:18.271 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:18:53 +0000 (0:00:00.077) 0:01:18.349 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:18:53 +0000 (0:00:00.026) 0:01:18.376 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:18:53 +0000 (0:00:00.028) 0:01:18.405 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:18:53 +0000 (0:00:00.083) 0:01:18.488 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:18:53 +0000 (0:00:00.421) 0:01:18.909 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:18:53 +0000 (0:00:00.064) 0:01:18.974 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:18:54 +0000 (0:00:00.037) 0:01:19.011 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:18:54 +0000 (0:00:00.028) 0:01:19.040 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:18:54 +0000 (0:00:00.457) 0:01:19.497 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:18:54 +0000 (0:00:00.024) 0:01:19.521 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:18:54 +0000 (0:00:00.029) 0:01:19.551 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:18:54 +0000 (0:00:00.024) 0:01:19.576 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:18:54 +0000 (0:00:00.025) 0:01:19.601 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:18:54 +0000 (0:00:00.216) 0:01:19.818 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:18:54 +0000 (0:00:00.040) 0:01:19.858 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:18:54 +0000 (0:00:00.032) 0:01:19.890 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:18:54 +0000 (0:00:00.019) 0:01:19.910 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:18:55 +0000 (0:00:00.199) 0:01:20.109 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:18:55 +0000 (0:00:00.026) 0:01:20.136 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020996", "end": "2024-01-08 14:18:55.351822", "rc": 1, "start": "2024-01-08 14:18:55.330826" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:18:55 +0000 (0:00:00.275) 0:01:20.412 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:18:55 +0000 (0:00:00.026) 0:01:20.439 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:18:55 +0000 (0:00:00.030) 0:01:20.470 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:18:55 +0000 (0:00:00.029) 0:01:20.499 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:18:55 +0000 (0:00:00.029) 0:01:20.528 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:18:55 +0000 (0:00:00.025) 0:01:20.554 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 08 January 2024 14:18:55 +0000 (0:00:00.048) 0:01:20.602 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.567632", "end": "2024-01-08 14:18:56.364480", "rc": 0, "start": "2024-01-08 14:18:55.796848" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 08 January 2024 14:18:56 +0000 (0:00:00.782) 0:01:21.385 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 08 January 2024 14:18:56 +0000 (0:00:00.028) 0:01:21.413 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:18:56 +0000 (0:00:00.024) 0:01:21.437 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:18:56 +0000 (0:00:00.045) 0:01:21.483 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:18:56 +0000 (0:00:00.030) 0:01:21.514 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:18:56 +0000 (0:00:00.226) 0:01:21.740 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:18:56 +0000 (0:00:00.042) 0:01:21.783 ******** 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_type5j824erd/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:18:56 +0000 (0:00:00.021) 0:01:21.805 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:18:56 +0000 (0:00:00.087) 0:01:21.892 ******** 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.041383", "end": "2024-01-08 14:18:57.124275", "rc": 1, "start": "2024-01-08 14:18:57.082892" } 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 Monday 08 January 2024 14:18:57 +0000 (0:00:00.274) 0:01:22.166 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-route_type5j824erd/.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.57s /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.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.55s /WORKDIR/git-route_type5j824erd/.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.55s /WORKDIR/git-route_type5j824erd/.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.54s /WORKDIR/git-route_type5j824erd/.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.53s /WORKDIR/git-route_type5j824erd/.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.52s /WORKDIR/git-route_type5j824erd/.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.52s /WORKDIR/git-route_type5j824erd/.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.52s /WORKDIR/git-route_type5j824erd/.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.51s /WORKDIR/git-route_type5j824erd/.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.51s /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.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.49s /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.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.13s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_type5j824erd/.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. ---^---^---^---^---^---