# 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_typepn9hcigm/.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_typepn9hcigm/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/tests_states_nm.yml:6 Saturday 13 January 2024 12:28:38 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typepn9hcigm/tests/tests_states_nm.yml:9 Saturday 13 January 2024 12:28:39 +0000 (0:00:01.005) 0:00:01.024 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.013) 0:00:01.037 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/el_repo_setup.yml:17 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.378) 0:00:01.416 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/el_repo_setup.yml:22 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.300) 0:00:01.716 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/el_repo_setup.yml:26 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.020) 0:00:01.736 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/el_repo_setup.yml:51 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.009) 0:00:01.745 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.024) 0:00:01.770 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.009) 0:00:01.779 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.022) 0:00:01.802 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.007) 0:00:01.810 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.011) 0:00:01.821 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/tests_states_nm.yml:11 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.019) 0:00:01.840 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.023) 0:00:01.864 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.791) 0:00:02.656 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.014) 0:00:02.671 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.017) 0:00:02.688 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.013) 0:00:02.702 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.041) 0:00:02.743 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.031) 0:00:02.775 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.024) 0:00:02.799 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003975", "end": "2024-01-13 12:28:41.116431", "rc": 0, "start": "2024-01-13 12:28:41.112456" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.353) 0:00:03.153 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.016) 0:00:03.169 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.020) 0:00:03.190 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.018) 0:00:03.208 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008361", "end": "2024-01-13 12:28:41.401127", "rc": 1, "start": "2024-01-13 12:28:41.392766" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.220) 0:00:03.429 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.012) 0:00:03.441 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.205) 0:00:03.647 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.020) 0:00:03.667 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.015) 0:00:03.683 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.024) 0:00:03.708 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.020) 0:00:03.728 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.018) 0:00:03.747 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.011) 0:00:03.758 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.011) 0:00:03.770 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:44 +0000 (0:00:02.492) 0:00:06.262 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:45 +0000 (0:00:01.019) 0:00:07.282 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.032) 0:00:07.314 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.026) 0:00:07.341 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.021) 0:00:07.362 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.090) 0:00:07.453 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.037) 0:00:07.490 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.040) 0:00:07.531 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.057) 0:00:07.589 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.603) 0:00:08.192 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.040) 0:00:08.233 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.021) 0:00:08.254 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.020) 0:00:08.275 ****** 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, e87a1b04-f209-4592-a325-dd1f0e28ad62 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.570) 0:00:08.845 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.025) 0:00:08.870 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e87a1b04-f209-4592-a325-dd1f0e28ad62" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.022) 0:00:08.892 ****** 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, e87a1b04-f209-4592-a325-dd1f0e28ad62\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e87a1b04-f209-4592-a325-dd1f0e28ad62" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.021) 0:00:08.914 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.023) 0:00:08.938 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.307) 0:00:09.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, e87a1b04-f209-4592-a325-dd1f0e28ad62\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e87a1b04-f209-4592-a325-dd1f0e28ad62" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.052) 0:00:09.298 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.050) 0:00:09.349 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.069) 0:00:09.419 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.034) 0:00:09.453 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.226) 0:00:09.679 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.036) 0:00:09.715 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023443", "end": "2024-01-13 12:28:47.918142", "rc": 0, "start": "2024-01-13 12:28:47.894699" } 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.270) 0:00:09.985 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.024) 0:00:10.010 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.022) 0:00:10.033 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.021) 0:00:10.054 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.019) 0:00:10.074 ****** 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_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.020) 0:00:10.094 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.023) 0:00:10.117 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.022) 0:00:10.140 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.023) 0:00:10.164 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.046) 0:00:10.210 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.058) 0:00:10.269 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148926.7441497, "block_size": 4096, "blocks": 0, "ctime": 1705148926.7441497, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34077, "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": 1705148926.7441497, "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_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.233) 0:00:10.502 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.022) 0:00:10.525 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.022) 0:00:10.548 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.039) 0:00:10.587 ****** 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.060771", "end": "2024-01-13 12:28:48.823858", "rc": 1, "start": "2024-01-13 12:28:48.763087" } STDOUT: Connection 'statebr' (e87a1b04-f209-4592-a325-dd1f0e28ad62) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.277) 0:00:10.865 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.036) 0:00:10.901 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.024) 0:00:10.925 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.050) 0:00:10.976 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.036) 0:00:11.012 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.033) 0:00:11.046 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003852", "end": "2024-01-13 12:28:49.261372", "rc": 0, "start": "2024-01-13 12:28:49.257520" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.253) 0:00:11.299 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.020) 0:00:11.320 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.050) 0:00:11.370 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.035) 0:00:11.406 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006807", "end": "2024-01-13 12:28:49.590210", "rc": 1, "start": "2024-01-13 12:28:49.583403" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.221) 0:00:11.627 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.031) 0:00:11.659 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.212) 0:00:11.872 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.022) 0:00:11.894 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.037) 0:00:11.932 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.052) 0:00:11.984 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.041) 0:00:12.026 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.034) 0:00:12.060 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.021) 0:00:12.082 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.048) 0:00:12.130 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:52 +0000 (0:00:02.283) 0:00:14.413 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.807) 0:00:15.220 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.035) 0:00:15.255 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.027) 0:00:15.283 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.022) 0:00:15.306 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.058) 0:00:15.365 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.023) 0:00:15.388 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.022) 0:00:15.411 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.046) 0:00:15.458 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.426) 0:00:15.884 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.044) 0:00:15.929 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.021) 0:00:15.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.101) 0:00:16.052 ****** 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, 04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.433) 0:00:16.485 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.023) 0:00:16.509 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.025) 0:00:16.534 ****** 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, 04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.022) 0:00:16.557 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.023) 0:00:16.581 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.230) 0:00:16.812 ****** 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, 04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.028) 0:00:16.841 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.053) 0:00:16.894 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:54 +0000 (0:00:00.038) 0:00:16.933 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.212) 0:00:17.145 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.021) 0:00:17.166 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.032) 0:00:17.199 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.046) 0:00:17.246 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.215) 0:00:17.461 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.023) 0:00:17.484 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023027", "end": "2024-01-13 12:28:55.688171", "rc": 0, "start": "2024-01-13 12:28:55.665144" } 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.245) 0:00:17.730 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.022) 0:00:17.753 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.020) 0:00:17.774 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.021) 0:00:17.795 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.020) 0:00:17.816 ****** 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_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.019) 0:00:17.835 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.022) 0:00:17.857 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.022) 0:00:17.880 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.025) 0:00:17.905 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.028) 0:00:17.934 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.021) 0:00:17.956 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:55 +0000 (0:00:00.037) 0:00:17.993 ****** 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.046196", "end": "2024-01-13 12:28:56.219575", "rc": 1, "start": "2024-01-13 12:28:56.173379" } STDOUT: Connection 'statebr' (04e51a7c-a4a4-4a93-82de-1b2ac3d70fd6) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.298) 0:00:18.291 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.035) 0:00:18.327 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.021) 0:00:18.348 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.039) 0:00:18.388 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.032) 0:00:18.421 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.032) 0:00:18.454 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004025", "end": "2024-01-13 12:28:56.684872", "rc": 0, "start": "2024-01-13 12:28:56.680847" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.272) 0:00:18.726 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.022) 0:00:18.748 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.021) 0:00:18.770 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.035) 0:00:18.806 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.040) 0:00:18.846 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.066) 0:00:18.913 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.033) 0:00:18.946 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.023) 0:00:18.970 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.024) 0:00:18.994 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:59 +0000 (0:00:02.249) 0:00:21.243 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.762) 0:00:22.006 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.023) 0:00:22.029 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.022) 0:00:22.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.022) 0:00:22.074 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.053) 0:00:22.128 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.023) 0:00:22.151 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.024) 0:00:22.176 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.034) 0:00:22.210 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.477) 0:00:22.688 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.036) 0:00:22.724 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.020) 0:00:22.744 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.019) 0:00:22.764 ****** 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, da9e891d-c9e4-4491-ad52-b8eff2de6f23 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.432) 0:00:23.196 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.025) 0:00:23.221 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da9e891d-c9e4-4491-ad52-b8eff2de6f23" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.024) 0:00:23.246 ****** 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, da9e891d-c9e4-4491-ad52-b8eff2de6f23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da9e891d-c9e4-4491-ad52-b8eff2de6f23" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.026) 0:00:23.272 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.024) 0:00:23.297 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.245) 0:00:23.543 ****** 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, da9e891d-c9e4-4491-ad52-b8eff2de6f23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da9e891d-c9e4-4491-ad52-b8eff2de6f23" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.025) 0:00:23.569 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.060) 0:00:23.629 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.045) 0:00:23.675 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.073) 0:00:23.748 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.037) 0:00:23.786 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.028) 0:00:23.815 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.027) 0:00:23.842 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:04 +0000 (0:00:02.410) 0:00:26.253 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.772) 0:00:27.025 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.023) 0:00:27.049 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.026) 0:00:27.076 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.023) 0:00:27.099 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.052) 0:00:27.152 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.022) 0:00:27.174 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.021) 0:00:27.195 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.060) 0:00:27.256 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.416) 0:00:27.673 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.034) 0:00:27.708 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.020) 0:00:27.728 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.019) 0:00:27.747 ****** 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, da9e891d-c9e4-4491-ad52-b8eff2de6f23 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.386) 0:00:28.134 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.032) 0:00:28.166 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da9e891d-c9e4-4491-ad52-b8eff2de6f23 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.030) 0:00:28.197 ****** 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, da9e891d-c9e4-4491-ad52-b8eff2de6f23 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da9e891d-c9e4-4491-ad52-b8eff2de6f23 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.031) 0:00:28.228 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.024) 0:00:28.252 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.235) 0:00:28.487 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.039) 0:00:28.527 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.036) 0:00:28.563 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148941.1054776, "block_size": 4096, "blocks": 0, "ctime": 1705148941.1054776, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34208, "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": 1705148941.1054776, "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_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.243) 0:00:28.806 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.022) 0:00:28.828 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.033) 0:00:28.862 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.020) 0:00:28.883 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.216) 0:00:29.099 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.021) 0:00:29.121 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022916", "end": "2024-01-13 12:29:07.320709", "rc": 0, "start": "2024-01-13 12:29:07.297793" } 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.250) 0:00:29.371 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.024) 0:00:29.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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.021) 0:00:29.416 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.020) 0:00:29.436 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.028) 0:00:29.465 ****** 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_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.022) 0:00:29.487 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.023) 0:00:29.510 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.023) 0:00:29.533 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.023) 0:00:29.557 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.027) 0:00:29.584 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.047) 0:00:29.631 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.036) 0:00:29.668 ****** 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.071885", "end": "2024-01-13 12:29:07.914744", "rc": 1, "start": "2024-01-13 12:29:07.842859" } STDOUT: Connection 'statebr' (da9e891d-c9e4-4491-ad52-b8eff2de6f23) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.287) 0:00:29.955 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.035) 0:00:29.990 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.022) 0:00:30.012 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.039) 0:00:30.052 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.034) 0:00:30.086 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.038) 0:00:30.125 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004360", "end": "2024-01-13 12:29:08.341333", "rc": 0, "start": "2024-01-13 12:29:08.336973" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.257) 0:00:30.383 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.033) 0:00:30.416 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.024) 0:00:30.441 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.076) 0:00:30.518 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.050) 0:00:30.568 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.051) 0:00:30.620 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.067) 0:00:30.688 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.056) 0:00:30.744 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.030) 0:00:30.775 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:11 +0000 (0:00:02.334) 0:00:33.109 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.789) 0:00:33.899 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.034) 0:00:33.933 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.031) 0:00:33.965 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.027) 0:00:33.992 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.132) 0:00:34.125 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.025) 0:00:34.151 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.024) 0:00:34.176 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.035) 0:00:34.211 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.411) 0:00:34.623 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.039) 0:00:34.663 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.021) 0:00:34.685 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.021) 0:00:34.706 ****** 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, c2f8a5fb-042c-4200-9d06-e8b441700ef0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.432) 0:00:35.139 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.025) 0:00:35.164 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c2f8a5fb-042c-4200-9d06-e8b441700ef0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.024) 0:00:35.189 ****** 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, c2f8a5fb-042c-4200-9d06-e8b441700ef0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c2f8a5fb-042c-4200-9d06-e8b441700ef0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.025) 0:00:35.214 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.025) 0:00:35.239 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.231) 0:00:35.470 ****** 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, c2f8a5fb-042c-4200-9d06-e8b441700ef0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c2f8a5fb-042c-4200-9d06-e8b441700ef0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.022) 0:00:35.493 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.067) 0:00:35.560 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.039) 0:00:35.599 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.032) 0:00:35.632 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.022) 0:00:35.655 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.023) 0:00:35.678 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:15 +0000 (0:00:02.314) 0:00:37.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 : Print network provider] ************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.781) 0:00:38.775 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.026) 0:00:38.801 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.022) 0:00:38.824 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.033) 0:00:38.858 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.056) 0:00:38.915 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.023) 0:00:38.938 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.072) 0:00:39.011 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.036) 0:00:39.048 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.434) 0:00:39.482 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.049) 0:00:39.531 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.031) 0:00:39.563 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.024) 0:00:39.587 ****** 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, c2f8a5fb-042c-4200-9d06-e8b441700ef0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.458) 0:00:40.045 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.064) 0:00:40.110 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c2f8a5fb-042c-4200-9d06-e8b441700ef0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.031) 0:00:40.141 ****** 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, c2f8a5fb-042c-4200-9d06-e8b441700ef0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c2f8a5fb-042c-4200-9d06-e8b441700ef0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.048) 0:00:40.189 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.029) 0:00:40.219 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.266) 0:00:40.486 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.056) 0:00:40.542 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.083) 0:00:40.626 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.041) 0:00:40.667 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.035) 0:00:40.702 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.026) 0:00:40.728 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.026) 0:00:40.755 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:21 +0000 (0:00:02.376) 0:00:43.132 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.775) 0:00:43.907 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.024) 0:00:43.932 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.023) 0:00:43.955 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.023) 0:00:43.978 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.051) 0:00:44.030 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.024) 0:00:44.054 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.059) 0:00:44.114 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.036) 0:00:44.150 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.430) 0:00:44.581 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.045) 0:00:44.626 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.028) 0:00:44.655 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.024) 0:00:44.691 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.453) 0:00:45.144 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.025) 0:00:45.169 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.024) 0:00:45.193 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.024) 0:00:45.218 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.024) 0:00:45.242 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.260) 0:00:45.502 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.041) 0:00:45.543 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.080) 0:00:45.623 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148953.0438173, "block_size": 4096, "blocks": 0, "ctime": 1705148953.0438173, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34339, "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": 1705148953.0438173, "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_typepn9hcigm/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.223) 0:00:45.847 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.023) 0:00:45.871 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.034) 0:00:45.905 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.022) 0:00:45.928 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.237) 0:00:46.166 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.024) 0:00:46.190 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024208", "end": "2024-01-13 12:29:24.401061", "rc": 1, "start": "2024-01-13 12:29:24.376853" } 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.254) 0:00:46.445 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.022) 0:00:46.467 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.023) 0:00:46.490 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.034) 0:00:46.525 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.028) 0:00:46.553 ****** 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_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.041) 0:00:46.594 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.028) 0:00:46.622 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.040) 0:00:46.663 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.023) 0:00:46.686 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.095) 0:00:46.782 ****** 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.075430", "end": "2024-01-13 12:29:25.080351", "rc": 1, "start": "2024-01-13 12:29:25.004921" } STDOUT: Connection 'statebr' (c2f8a5fb-042c-4200-9d06-e8b441700ef0) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:102 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.355) 0:00:47.137 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.042) 0:00:47.180 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.034) 0:00:47.215 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.057) 0:00:47.272 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.046) 0:00:47.319 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.051) 0:00:47.370 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004050", "end": "2024-01-13 12:29:25.559690", "rc": 0, "start": "2024-01-13 12:29:25.555640" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.229) 0:00:47.600 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.023) 0:00:47.623 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.024) 0:00:47.647 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.052) 0:00:47.699 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.092) 0:00:47.791 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.080) 0:00:47.872 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.058) 0:00:47.931 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.029) 0:00:47.961 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:25 +0000 (0:00:00.025) 0:00:47.986 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:28 +0000 (0:00:02.383) 0:00:50.370 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.808) 0:00:51.179 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.028) 0:00:51.207 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.025) 0:00:51.232 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.046) 0:00:51.279 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.071) 0:00:51.350 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.075) 0:00:51.425 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.026) 0:00:51.452 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.038) 0:00:51.490 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.433) 0:00:51.924 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.050) 0:00:51.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.021) 0:00:51.996 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.030) 0:00:52.026 ****** 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, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.460) 0:00:52.486 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.028) 0:00:52.515 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.025) 0:00:52.540 ****** 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, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.025) 0:00:52.566 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.030) 0:00:52.596 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.263) 0:00:52.860 ****** 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, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.022) 0:00:52.883 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.079) 0:00:52.962 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.039) 0:00:53.002 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.034) 0:00:53.036 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.023) 0:00:53.060 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.028) 0:00:53.088 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:33 +0000 (0:00:02.392) 0:00:55.480 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.773) 0:00:56.254 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.023) 0:00:56.277 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.024) 0:00:56.302 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.026) 0:00:56.328 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.061) 0:00:56.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.031) 0:00:56.421 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.025) 0:00:56.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.111) 0:00:56.558 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.451) 0:00:57.009 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.048) 0:00:57.058 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.047) 0:00:57.105 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.055) 0:00:57.160 ****** 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, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.488) 0:00:57.648 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.049) 0:00:57.698 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.084) 0:00:57.782 ****** 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, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2550b8aa-fa79-46da-bb6f-2c655bae8ef3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.045) 0:00:57.828 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.037) 0:00:57.866 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.253) 0:00:58.119 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.045) 0:00:58.164 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.055) 0:00:58.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.115) 0:00:58.335 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.024) 0:00:58.360 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.023) 0:00:58.384 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:38 +0000 (0:00:02.388) 0:01:00.773 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.785) 0:01:01.558 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.023) 0:01:01.582 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.025) 0:01:01.607 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.024) 0:01:01.632 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.062) 0:01:01.694 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.025) 0:01:01.719 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.024) 0:01:01.744 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.036) 0:01:01.781 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.430) 0:01:02.211 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.066) 0:01:02.278 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.020) 0:01:02.299 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.020) 0:01:02.319 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.426) 0:01:02.745 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.030) 0:01:02.775 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.027) 0:01:02.803 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.026) 0:01:02.829 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.029) 0:01:02.858 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.245) 0:01:03.103 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.044) 0:01:03.148 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.042) 0:01:03.191 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.038) 0:01:03.230 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.078) 0:01:03.308 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.028) 0:01:03.337 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.028) 0:01:03.366 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:43 +0000 (0:00:02.401) 0:01:05.767 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.776) 0:01:06.544 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.031) 0:01:06.575 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.030) 0:01:06.606 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.026) 0:01:06.632 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.080) 0:01:06.712 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.026) 0:01:06.739 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.028) 0:01:06.767 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.054) 0:01:06.821 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.417) 0:01:07.239 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.034) 0:01:07.273 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.064) 0:01:07.338 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.030) 0:01:07.369 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.520) 0:01:07.889 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.035) 0:01:07.924 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.026) 0:01:07.951 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.026) 0:01:07.977 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.026) 0:01:08.004 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.279) 0:01:08.283 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.083) 0:01:08.366 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.055) 0:01:08.421 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.053) 0:01:08.475 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.280) 0:01:08.756 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.055) 0:01:08.811 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022146", "end": "2024-01-13 12:29:47.101433", "rc": 1, "start": "2024-01-13 12:29:47.079287" } 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.418) 0:01:09.230 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.031) 0:01:09.262 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.048) 0:01:09.310 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.064) 0:01:09.375 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.042) 0:01:09.418 ****** 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_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.033) 0:01:09.451 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.027) 0:01:09.479 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.059) 0:01:09.539 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.037) 0:01:09.576 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.220) 0:01:09.797 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.023) 0:01:09.821 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.023) 0:01:09.845 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.040) 0:01:09.885 ****** 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.043727", "end": "2024-01-13 12:29:48.108476", "rc": 1, "start": "2024-01-13 12:29:48.064749" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tests_states.yml:124 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.294) 0:01:10.180 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.033) 0:01:10.213 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.021) 0:01:10.235 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.040) 0:01:10.275 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.037) 0:01:10.313 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.034) 0:01:10.347 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004033", "end": "2024-01-13 12:29:48.531699", "rc": 0, "start": "2024-01-13 12:29:48.527666" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.244) 0:01:10.592 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.025) 0:01:10.617 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.036) 0:01:10.654 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.050) 0:01:10.705 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.043) 0:01:10.748 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.099) 0:01:10.848 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.036) 0:01:10.884 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.024) 0:01:10.909 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:48 +0000 (0:00:00.025) 0:01:10.934 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:51 +0000 (0:00:02.381) 0:01:13.316 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.781) 0:01:14.098 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.023) 0:01:14.122 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.024) 0:01:14.147 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.024) 0:01:14.171 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.059) 0:01:14.231 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.026) 0:01:14.257 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.028) 0:01:14.286 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.035) 0:01:14.322 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.546) 0:01:14.869 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.046) 0:01:14.915 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.032) 0:01:14.947 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.021) 0:01:14.968 ****** 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, c8265f08-0f6b-401f-9186-11b78fd14a10 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.443) 0:01:15.412 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.033) 0:01:15.446 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8265f08-0f6b-401f-9186-11b78fd14a10" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.026) 0:01:15.472 ****** 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, c8265f08-0f6b-401f-9186-11b78fd14a10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8265f08-0f6b-401f-9186-11b78fd14a10" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.035) 0:01:15.507 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.023) 0:01:15.531 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.231) 0:01:15.763 ****** 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, c8265f08-0f6b-401f-9186-11b78fd14a10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8265f08-0f6b-401f-9186-11b78fd14a10" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.023) 0:01:15.786 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.042) 0:01:15.828 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.057) 0:01:15.886 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:54 +0000 (0:00:00.160) 0:01:16.047 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:54 +0000 (0:00:00.025) 0:01:16.072 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:54 +0000 (0:00:00.024) 0:01:16.097 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:56 +0000 (0:00:02.257) 0:01:18.355 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.773) 0:01:19.129 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.029) 0:01:19.158 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.031) 0:01:19.189 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.024) 0:01:19.213 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.052) 0:01:19.266 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.024) 0:01:19.290 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.024) 0:01:19.314 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.036) 0:01:19.351 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.433) 0:01:19.784 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.140) 0:01:19.925 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.027) 0:01:19.952 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.040) 0:01:19.993 ****** 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, c8265f08-0f6b-401f-9186-11b78fd14a10 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.441) 0:01:20.434 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.039) 0:01:20.473 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8265f08-0f6b-401f-9186-11b78fd14a10 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.039) 0:01:20.513 ****** 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, c8265f08-0f6b-401f-9186-11b78fd14a10 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8265f08-0f6b-401f-9186-11b78fd14a10 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.063) 0:01:20.576 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.036) 0:01:20.612 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.286) 0:01:20.899 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.044) 0:01:20.944 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:59 +0000 (0:00:00.066) 0:01:21.010 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:59 +0000 (0:00:00.048) 0:01:21.058 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:59 +0000 (0:00:00.031) 0:01:21.090 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:59 +0000 (0:00:00.075) 0:01:21.165 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:30:01 +0000 (0:00:02.298) 0:01:23.464 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.794) 0:01:24.258 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.024) 0:01:24.283 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.023) 0:01:24.306 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.024) 0:01:24.331 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.054) 0:01:24.386 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.023) 0:01:24.409 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.023) 0:01:24.432 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.035) 0:01:24.468 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.420) 0:01:24.889 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.037) 0:01:24.926 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.028) 0:01:24.954 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.021) 0:01:24.976 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.595) 0:01:25.571 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.028) 0:01:25.599 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.025) 0:01:25.625 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.025) 0:01:25.651 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.023) 0:01:25.675 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.226) 0:01:25.902 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.039) 0:01:25.942 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.043) 0:01:25.985 ****** included: /WORKDIR/git-route_typepn9hcigm/.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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:30:04 +0000 (0:00:00.040) 0:01:26.026 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:30:04 +0000 (0:00:00.036) 0:01:26.062 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:30:04 +0000 (0:00:00.024) 0:01:26.086 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:30:04 +0000 (0:00:00.023) 0:01:26.109 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:30:06 +0000 (0:00:02.448) 0:01:28.558 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.775) 0:01:29.334 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.023) 0:01:29.357 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.024) 0:01:29.381 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.023) 0:01:29.405 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.052) 0:01:29.457 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.023) 0:01:29.481 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.023) 0:01:29.504 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.035) 0:01:29.540 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.419) 0:01:29.959 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.036) 0:01:29.995 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.020) 0:01:30.016 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.021) 0:01:30.038 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.496) 0:01:30.534 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.026) 0:01:30.561 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.025) 0:01:30.587 ****** 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_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.026) 0:01:30.613 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.023) 0:01:30.636 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.231) 0:01:30.868 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.039) 0:01:30.907 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.034) 0:01:30.942 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.021) 0:01:30.963 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.221) 0:01:31.184 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.020) 0:01:31.205 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022569", "end": "2024-01-13 12:30:09.407586", "rc": 1, "start": "2024-01-13 12:30:09.385017" } 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.241) 0:01:31.447 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.026) 0:01:31.474 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.021) 0:01:31.495 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.059) 0:01:31.555 ****** 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_typepn9hcigm/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.021) 0:01:31.576 ****** 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_typepn9hcigm/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.019) 0:01:31.596 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 12:30:09 +0000 (0:00:00.022) 0:01:31.618 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.367207", "end": "2024-01-13 12:30:10.163531", "rc": 0, "start": "2024-01-13 12:30:09.796324" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.586) 0:01:32.204 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.021) 0:01:32.226 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.021) 0:01:32.247 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.048) 0:01:32.295 ****** included: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.032) 0:01:32.328 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typepn9hcigm/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.219) 0:01:32.547 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.024) 0:01:32.572 ****** 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_typepn9hcigm/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.022) 0:01:32.594 ****** included: /WORKDIR/git-route_typepn9hcigm/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_typepn9hcigm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.037) 0:01:32.632 ****** 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.045905", "end": "2024-01-13 12:30:10.858217", "rc": 1, "start": "2024-01-13 12:30:10.812312" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 13 January 2024 12:30:10 +0000 (0:00:00.335) 0:01:32.967 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.49s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.31s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.25s /WORKDIR/git-route_typepn9hcigm/.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.02s /WORKDIR/git-route_typepn9hcigm/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.01s /WORKDIR/git-route_typepn9hcigm/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-route_typepn9hcigm/.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.81s /WORKDIR/git-route_typepn9hcigm/.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.79s /WORKDIR/git-route_typepn9hcigm/.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. ---^---^---^---^---^---