# 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_type58ihy5rh/.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_type58ihy5rh/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/tests_states_nm.yml:6 Saturday 13 January 2024 12:28:22 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type58ihy5rh/tests/tests_states_nm.yml:9 Saturday 13 January 2024 12:28:23 +0000 (0:00:00.909) 0:00:00.920 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 12:28:23 +0000 (0:00:00.011) 0:00:00.932 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/tasks/el_repo_setup.yml:17 Saturday 13 January 2024 12:28:23 +0000 (0:00:00.355) 0:00:01.287 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/tasks/el_repo_setup.yml:22 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.261) 0:00:01.549 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/tasks/el_repo_setup.yml:26 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.013) 0:00:01.563 ****** 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_type58ihy5rh/tests/tasks/el_repo_setup.yml:51 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.007) 0:00:01.570 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.025) 0:00:01.596 ****** 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_type58ihy5rh/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.008) 0:00:01.605 ****** 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_type58ihy5rh/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.007) 0:00:01.613 ****** 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_type58ihy5rh/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.007) 0:00:01.620 ****** 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_type58ihy5rh/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.007) 0:00:01.628 ****** 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_type58ihy5rh/tests/tests_states_nm.yml:11 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.008) 0:00:01.636 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 12:28:24 +0000 (0:00:00.020) 0:00:01.656 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.769) 0:00:02.426 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.011) 0:00:02.438 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.014) 0:00:02.453 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.018) 0:00:02.471 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.033) 0:00:02.505 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.014) 0:00:02.520 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.015) 0:00:02.535 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003817", "end": "2024-01-13 12:28:25.433000", "rc": 0, "start": "2024-01-13 12:28:25.429183" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.316) 0:00:02.852 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.023) 0:00:02.875 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.024) 0:00:02.899 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.043) 0:00:02.942 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008080", "end": "2024-01-13 12:28:25.756908", "rc": 1, "start": "2024-01-13 12:28:25.748828" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.214) 0:00:03.157 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:25 +0000 (0:00:00.022) 0:00:03.179 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.216) 0:00:03.396 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.012) 0:00:03.408 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.031) 0:00:03.439 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.024) 0:00:03.464 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.019) 0:00:03.484 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.018) 0:00:03.503 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.011) 0:00:03.514 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:26 +0000 (0:00:00.017) 0:00:03.532 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:28 +0000 (0:00:02.350) 0:00:05.882 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.934) 0:00:06.817 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.022) 0:00:06.839 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.026) 0:00:06.866 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.029) 0:00:06.895 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.065) 0:00:06.961 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.022) 0:00:06.984 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.035) 0:00:07.019 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:29 +0000 (0:00:00.060) 0:00:07.079 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:30 +0000 (0:00:00.595) 0:00:07.674 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:30 +0000 (0:00:00.034) 0:00:07.709 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:30 +0000 (0:00:00.021) 0:00:07.730 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:30 +0000 (0:00:00.022) 0:00:07.752 ****** 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, deebe3f1-133c-4244-b8f9-4750a199a67f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:30 +0000 (0:00:00.605) 0:00:08.358 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.026) 0:00:08.385 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, deebe3f1-133c-4244-b8f9-4750a199a67f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.023) 0:00:08.408 ****** 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, deebe3f1-133c-4244-b8f9-4750a199a67f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, deebe3f1-133c-4244-b8f9-4750a199a67f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.021) 0:00:08.429 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.023) 0:00:08.453 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.422) 0:00:08.876 ****** 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, deebe3f1-133c-4244-b8f9-4750a199a67f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, deebe3f1-133c-4244-b8f9-4750a199a67f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.026) 0:00:08.902 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.036) 0:00:08.939 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.081) 0:00:09.021 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.033) 0:00:09.055 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.276) 0:00:09.332 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:31 +0000 (0:00:00.019) 0:00:09.352 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022882", "end": "2024-01-13 12:28:32.180505", "rc": 0, "start": "2024-01-13 12:28:32.157623" } 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.240) 0:00:09.592 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.021) 0:00:09.614 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.023) 0:00:09.637 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.024) 0:00:09.662 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.037) 0:00:09.699 ****** 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_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.027) 0:00:09.727 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.023) 0:00:09.751 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.038) 0:00:09.790 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.050) 0:00:09.841 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.065) 0:00:09.906 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.064) 0:00:09.970 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148910.8695428, "block_size": 4096, "blocks": 0, "ctime": 1705148910.8695428, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35719, "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": 1705148910.8695428, "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_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.218) 0:00:10.189 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.024) 0:00:10.213 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.034) 0:00:10.248 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:32 +0000 (0:00:00.042) 0:00:10.290 ****** 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.066338", "end": "2024-01-13 12:28:33.164997", "rc": 1, "start": "2024-01-13 12:28:33.098659" } STDOUT: Connection 'statebr' (deebe3f1-133c-4244-b8f9-4750a199a67f) 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_type58ihy5rh/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.302) 0:00:10.593 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.035) 0:00:10.629 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.056) 0:00:10.685 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.093) 0:00:10.778 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.035) 0:00:10.814 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.039) 0:00:10.854 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003940", "end": "2024-01-13 12:28:33.672510", "rc": 0, "start": "2024-01-13 12:28:33.668570" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.227) 0:00:11.082 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.020) 0:00:11.103 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.045) 0:00:11.148 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 12:28:33 +0000 (0:00:00.034) 0:00:11.183 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006622", "end": "2024-01-13 12:28:33.994963", "rc": 1, "start": "2024-01-13 12:28:33.988341" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.219) 0:00:11.403 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.031) 0:00:11.434 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.212) 0:00:11.646 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.021) 0:00:11.667 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.033) 0:00:11.701 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.039) 0:00:11.740 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.036) 0:00:11.777 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.032) 0:00:11.810 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.022) 0:00:11.832 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:34 +0000 (0:00:00.049) 0:00:11.882 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:36 +0000 (0:00:02.305) 0:00:14.188 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.823) 0:00:15.011 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.031) 0:00:15.043 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.043) 0:00:15.087 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.037) 0:00:15.124 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.115) 0:00:15.240 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.064) 0:00:15.304 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:37 +0000 (0:00:00.053) 0:00:15.358 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:38 +0000 (0:00:00.056) 0:00:15.414 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:38 +0000 (0:00:00.422) 0:00:15.836 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:38 +0000 (0:00:00.046) 0:00:15.883 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:38 +0000 (0:00:00.034) 0:00:15.917 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:38 +0000 (0:00:00.065) 0:00:15.982 ****** 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, ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.404) 0:00:16.387 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.032) 0:00:16.420 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.027) 0:00:16.448 ****** 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, ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.025) 0:00:16.473 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.030) 0:00:16.503 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.252) 0:00:16.755 ****** 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, ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.029) 0:00:16.784 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.042) 0:00:16.827 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.034) 0:00:16.861 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.224) 0:00:17.086 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.022) 0:00:17.109 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.040) 0:00:17.150 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.067) 0:00:17.217 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.220) 0:00:17.438 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.018) 0:00:17.457 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022717", "end": "2024-01-13 12:28:40.282867", "rc": 0, "start": "2024-01-13 12:28:40.260150" } 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.241) 0:00:17.698 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.024) 0:00:17.722 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.021) 0:00:17.744 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.020) 0:00:17.765 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.035) 0:00:17.800 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.020) 0:00:17.821 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.027) 0:00:17.849 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.026) 0:00:17.875 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.025) 0:00:17.900 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.028) 0:00:17.929 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.021) 0:00:17.951 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.038) 0:00:17.989 ****** 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.044367", "end": "2024-01-13 12:28:40.877441", "rc": 1, "start": "2024-01-13 12:28:40.833074" } STDOUT: Connection 'statebr' (ca8fd7e8-3f02-47e2-b8bc-a17dcce0fb4b) 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_type58ihy5rh/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.387) 0:00:18.377 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.034) 0:00:18.411 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.033) 0:00:18.445 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.048) 0:00:18.493 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.035) 0:00:18.528 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.050) 0:00:18.578 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003813", "end": "2024-01-13 12:28:41.389774", "rc": 0, "start": "2024-01-13 12:28:41.385961" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.219) 0:00:18.798 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.024) 0:00:18.823 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.020) 0:00:18.844 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.033) 0:00:18.877 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.039) 0:00:18.916 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.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.065) 0:00:18.982 ****** 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_type58ihy5rh/.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.034) 0:00:19.016 ****** 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_type58ihy5rh/.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.023) 0:00:19.039 ****** 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_type58ihy5rh/.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.023) 0:00:19.063 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:43 +0000 (0:00:02.252) 0:00:21.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.755) 0:00:22.071 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.022) 0:00:22.094 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.022) 0:00:22.116 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.023) 0:00:22.139 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.052) 0:00:22.192 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.023) 0:00:22.216 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.027) 0:00:22.243 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:44 +0000 (0:00:00.052) 0:00:22.295 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.501) 0:00:22.797 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.055) 0:00:22.853 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.041) 0:00:22.894 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:45 +0000 (0:00:00.022) 0:00:22.917 ****** 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, 166d8d13-69f0-444f-918d-dce1f9794f11 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.468) 0:00:23.385 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.032) 0:00:23.418 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 166d8d13-69f0-444f-918d-dce1f9794f11" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.024) 0:00:23.442 ****** 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, 166d8d13-69f0-444f-918d-dce1f9794f11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 166d8d13-69f0-444f-918d-dce1f9794f11" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.047) 0:00:23.490 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.034) 0:00:23.524 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.227) 0:00:23.752 ****** 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, 166d8d13-69f0-444f-918d-dce1f9794f11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 166d8d13-69f0-444f-918d-dce1f9794f11" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.027) 0:00:23.779 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.036) 0:00:23.816 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.041) 0:00:23.857 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.065) 0:00:23.923 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.033) 0:00:23.957 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.025) 0:00:23.982 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:46 +0000 (0:00:00.023) 0:00:24.006 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:48 +0000 (0:00:02.274) 0:00:26.281 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.780) 0:00:27.062 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.023) 0:00:27.085 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.022) 0:00:27.108 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.022) 0:00:27.130 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.055) 0:00:27.185 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.022) 0:00:27.208 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.022) 0:00:27.230 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.076) 0:00:27.306 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.413) 0:00:27.720 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.036) 0:00:27.757 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.019) 0:00:27.776 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.018) 0:00:27.795 ****** 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, 166d8d13-69f0-444f-918d-dce1f9794f11 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.379) 0:00:28.175 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.023) 0:00:28.199 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 166d8d13-69f0-444f-918d-dce1f9794f11 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.025) 0:00:28.224 ****** 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, 166d8d13-69f0-444f-918d-dce1f9794f11 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 166d8d13-69f0-444f-918d-dce1f9794f11 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.024) 0:00:28.248 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.023) 0:00:28.272 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.219) 0:00:28.492 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.039) 0:00:28.532 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.034) 0:00:28.566 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148925.900901, "block_size": 4096, "blocks": 0, "ctime": 1705148925.900901, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35850, "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": 1705148925.900901, "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_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.231) 0:00:28.798 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.062) 0:00:28.860 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.035) 0:00:28.896 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.038) 0:00:28.934 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.212) 0:00:29.146 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.029) 0:00:29.176 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022975", "end": "2024-01-13 12:28:52.005451", "rc": 0, "start": "2024-01-13 12:28:51.982476" } 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.239) 0:00:29.415 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.025) 0:00:29.441 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.029) 0:00:29.470 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.027) 0:00:29.497 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.038) 0:00:29.535 ****** 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_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.026) 0:00:29.562 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.024) 0:00:29.587 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.023) 0:00:29.610 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.024) 0:00:29.635 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.033) 0:00:29.668 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.079) 0:00:29.748 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.049) 0:00:29.798 ****** 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.071537", "end": "2024-01-13 12:28:52.675683", "rc": 1, "start": "2024-01-13 12:28:52.604146" } STDOUT: Connection 'statebr' (166d8d13-69f0-444f-918d-dce1f9794f11) 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_type58ihy5rh/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.286) 0:00:30.085 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.034) 0:00:30.119 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.020) 0:00:30.139 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.037) 0:00:30.177 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.030) 0:00:30.208 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.029) 0:00:30.237 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003805", "end": "2024-01-13 12:28:53.067385", "rc": 0, "start": "2024-01-13 12:28:53.063580" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.256) 0:00:30.493 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.025) 0:00:30.519 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.026) 0:00:30.546 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.082) 0:00:30.628 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.041) 0:00:30.670 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.040) 0:00:30.711 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.034) 0:00:30.745 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.023) 0:00:30.769 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.028) 0:00:30.797 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:28:55 +0000 (0:00:02.256) 0:00:33.054 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.772) 0:00:33.826 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.028) 0:00:33.855 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.031) 0:00:33.886 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.024) 0:00:33.911 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.096) 0:00:34.007 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.024) 0:00:34.031 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.023) 0:00:34.055 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.035) 0:00:34.091 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.412) 0:00:34.503 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.044) 0:00:34.548 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.028) 0:00:34.576 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.025) 0:00:34.602 ****** 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, 56f9fa95-e65c-4a89-8207-6d1abbd380d8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.435) 0:00:35.038 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.024) 0:00:35.062 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56f9fa95-e65c-4a89-8207-6d1abbd380d8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.024) 0:00:35.087 ****** 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, 56f9fa95-e65c-4a89-8207-6d1abbd380d8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56f9fa95-e65c-4a89-8207-6d1abbd380d8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.025) 0:00:35.112 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.024) 0:00:35.137 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.243) 0:00:35.381 ****** 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, 56f9fa95-e65c-4a89-8207-6d1abbd380d8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56f9fa95-e65c-4a89-8207-6d1abbd380d8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.028) 0:00:35.409 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.085) 0:00:35.495 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.041) 0:00:35.537 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.034) 0:00:35.571 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.030) 0:00:35.602 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.025) 0:00:35.628 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:00 +0000 (0:00:02.240) 0:00:37.868 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.773) 0:00:38.641 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.027) 0:00:38.669 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.025) 0:00:38.694 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.026) 0:00:38.721 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.054) 0:00:38.776 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.022) 0:00:38.799 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.056) 0:00:38.855 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.036) 0:00:38.891 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.480) 0:00:39.372 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.074) 0:00:39.446 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.027) 0:00:39.473 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.033) 0:00:39.507 ****** 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, 56f9fa95-e65c-4a89-8207-6d1abbd380d8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.394) 0:00:39.901 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.038) 0:00:39.940 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 56f9fa95-e65c-4a89-8207-6d1abbd380d8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.038) 0:00:39.978 ****** 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, 56f9fa95-e65c-4a89-8207-6d1abbd380d8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 56f9fa95-e65c-4a89-8207-6d1abbd380d8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.033) 0:00:40.012 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.028) 0:00:40.041 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.237) 0:00:40.278 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 12:29:02 +0000 (0:00:00.056) 0:00:40.334 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:03 +0000 (0:00:00.094) 0:00:40.429 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:03 +0000 (0:00:00.065) 0:00:40.494 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:03 +0000 (0:00:00.045) 0:00:40.540 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:03 +0000 (0:00:00.027) 0:00:40.567 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:03 +0000 (0:00:00.024) 0:00:40.591 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:05 +0000 (0:00:02.248) 0:00:42.840 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.777) 0:00:43.618 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.031) 0:00:43.649 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.030) 0:00:43.679 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.026) 0:00:43.705 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.056) 0:00:43.761 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.024) 0:00:43.786 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.064) 0:00:43.851 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.062) 0:00:43.913 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.417) 0:00:44.331 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.037) 0:00:44.369 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.020) 0:00:44.389 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.024) 0:00:44.413 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.410) 0:00:44.824 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.025) 0:00:44.849 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.025) 0:00:44.874 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.026) 0:00:44.901 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.024) 0:00:44.925 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.223) 0:00:45.149 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.038) 0:00:45.187 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:07 +0000 (0:00:00.031) 0:00:45.218 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148937.5756361, "block_size": 4096, "blocks": 0, "ctime": 1705148937.5756361, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35981, "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": 1705148937.5756361, "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_type58ihy5rh/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.249) 0:00:45.468 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.023) 0:00:45.492 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.041) 0:00:45.533 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.023) 0:00:45.556 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.215) 0:00:45.771 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.027) 0:00:45.799 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022742", "end": "2024-01-13 12:29:08.637183", "rc": 1, "start": "2024-01-13 12:29:08.614441" } 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.280) 0:00:46.079 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.036) 0:00:46.116 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.044) 0:00:46.161 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.032) 0:00:46.194 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.027) 0:00:46.221 ****** 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_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.025) 0:00:46.247 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.024) 0:00:46.272 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.027) 0:00:46.299 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:08 +0000 (0:00:00.020) 0:00:46.320 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.078) 0:00:46.399 ****** 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.073620", "end": "2024-01-13 12:29:09.288663", "rc": 1, "start": "2024-01-13 12:29:09.215043" } STDOUT: Connection 'statebr' (56f9fa95-e65c-4a89-8207-6d1abbd380d8) 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_type58ihy5rh/tests/playbooks/tests_states.yml:102 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.316) 0:00:46.715 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.056) 0:00:46.772 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.021) 0:00:46.794 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.058) 0:00:46.852 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.036) 0:00:46.889 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.033) 0:00:46.922 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003978", "end": "2024-01-13 12:29:09.736283", "rc": 0, "start": "2024-01-13 12:29:09.732305" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.222) 0:00:47.144 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.028) 0:00:47.173 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.022) 0:00:47.195 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.039) 0:00:47.235 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.086) 0:00:47.322 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.040) 0:00:47.363 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.050) 0:00:47.414 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.048) 0:00:47.462 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.029) 0:00:47.492 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:12 +0000 (0:00:02.252) 0:00:49.744 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.757) 0:00:50.502 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.023) 0:00:50.526 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.028) 0:00:50.554 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.026) 0:00:50.581 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.056) 0:00:50.637 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.054) 0:00:50.691 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.022) 0:00:50.714 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.034) 0:00:50.748 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.407) 0:00:51.155 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.035) 0:00:51.191 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.020) 0:00:51.212 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.020) 0:00:51.232 ****** 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, 1f15421a-7b71-4b5a-976c-161393091fee TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.426) 0:00:51.658 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.023) 0:00:51.681 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f15421a-7b71-4b5a-976c-161393091fee" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.022) 0:00:51.704 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f15421a-7b71-4b5a-976c-161393091fee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f15421a-7b71-4b5a-976c-161393091fee" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.022) 0:00:51.726 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.022) 0:00:51.749 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.218) 0:00:51.967 ****** 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, 1f15421a-7b71-4b5a-976c-161393091fee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f15421a-7b71-4b5a-976c-161393091fee" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.022) 0:00:51.990 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.070) 0:00:52.061 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.038) 0:00:52.099 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.033) 0:00:52.133 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.022) 0:00:52.155 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:14 +0000 (0:00:00.022) 0:00:52.178 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:17 +0000 (0:00:02.255) 0:00:54.434 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.780) 0:00:55.214 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.025) 0:00:55.240 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.051) 0:00:55.292 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.031) 0:00:55.324 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.070) 0:00:55.394 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.064) 0:00:55.458 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.070) 0:00:55.529 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.100) 0:00:55.629 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.468) 0:00:56.098 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.038) 0:00:56.136 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.033) 0:00:56.170 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.021) 0:00:56.191 ****** 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, 1f15421a-7b71-4b5a-976c-161393091fee skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.387) 0:00:56.578 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.024) 0:00:56.603 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f15421a-7b71-4b5a-976c-161393091fee skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.027) 0:00:56.630 ****** 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, 1f15421a-7b71-4b5a-976c-161393091fee skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1f15421a-7b71-4b5a-976c-161393091fee skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.025) 0:00:56.655 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.023) 0:00:56.679 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.222) 0:00:56.902 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.042) 0:00:56.944 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.041) 0:00:56.985 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.118) 0:00:57.103 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.024) 0:00:57.128 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:19 +0000 (0:00:00.026) 0:00:57.155 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:22 +0000 (0:00:02.258) 0:00:59.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.786) 0:01:00.200 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.023) 0:01:00.224 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.024) 0:01:00.248 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.026) 0:01:00.274 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.052) 0:01:00.326 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.025) 0:01:00.351 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.026) 0:01:00.377 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.040) 0:01:00.417 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.450) 0:01:00.868 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.105) 0:01:00.973 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.022) 0:01:00.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.022) 0:01:01.019 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.415) 0:01:01.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.048) 0:01:01.483 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.026) 0:01:01.510 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.037) 0:01:01.547 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.054) 0:01:01.601 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.255) 0:01:01.857 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.042) 0:01:01.900 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.043) 0:01:01.943 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.040) 0:01:01.984 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.082) 0:01:02.066 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.028) 0:01:02.095 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:24 +0000 (0:00:00.027) 0:01:02.123 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:27 +0000 (0:00:02.305) 0:01:04.428 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.819) 0:01:05.247 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.043) 0:01:05.291 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.041) 0:01:05.332 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.026) 0:01:05.359 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.057) 0:01:05.417 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.031) 0:01:05.448 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.028) 0:01:05.476 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.036) 0:01:05.512 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.437) 0:01:05.950 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.051) 0:01:06.001 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.080) 0:01:06.081 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.025) 0:01:06.107 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.521) 0:01:06.628 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.026) 0:01:06.655 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.034) 0:01:06.690 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.025) 0:01:06.715 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.031) 0:01:06.747 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.228) 0:01:06.976 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.040) 0:01:07.016 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.040) 0:01:07.057 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.022) 0:01:07.079 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.221) 0:01:07.300 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.021) 0:01:07.322 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021852", "end": "2024-01-13 12:29:30.169943", "rc": 1, "start": "2024-01-13 12:29:30.148091" } 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.293) 0:01:07.615 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.022) 0:01:07.637 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.024) 0:01:07.661 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.034) 0:01:07.695 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.029) 0:01:07.725 ****** 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_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.021) 0:01:07.746 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.024) 0:01:07.771 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.049) 0:01:07.820 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.034) 0:01:07.855 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.224) 0:01:08.080 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.024) 0:01:08.105 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.031) 0:01:08.136 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.047) 0:01:08.184 ****** 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.043322", "end": "2024-01-13 12:29:31.033501", "rc": 1, "start": "2024-01-13 12:29:30.990179" } 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_type58ihy5rh/tests/playbooks/tests_states.yml:124 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.263) 0:01:08.448 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.076) 0:01:08.525 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.023) 0:01:08.549 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.041) 0:01:08.590 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.036) 0:01:08.626 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.035) 0:01:08.662 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003768", "end": "2024-01-13 12:29:31.488939", "rc": 0, "start": "2024-01-13 12:29:31.485171" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.236) 0:01:08.898 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.023) 0:01:08.921 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.026) 0:01:08.948 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.041) 0:01:08.989 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.043) 0:01:09.033 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:31 +0000 (0:00:00.080) 0:01:09.113 ****** 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_type58ihy5rh/.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:01:09.148 ****** 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_type58ihy5rh/.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.024) 0:01:09.173 ****** 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_type58ihy5rh/.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.024) 0:01:09.197 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:34 +0000 (0:00:02.283) 0:01:11.481 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.758) 0:01:12.240 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.025) 0:01:12.265 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.023) 0:01:12.289 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.024) 0:01:12.314 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.058) 0:01:12.372 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.029) 0:01:12.402 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.026) 0:01:12.428 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.048) 0:01:12.477 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.476) 0:01:12.953 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.051) 0:01:13.005 ****** 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_type58ihy5rh/.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:01:13.053 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.031) 0:01:13.084 ****** 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, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.472) 0:01:13.556 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.024) 0:01:13.581 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.029) 0:01:13.610 ****** 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, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.031) 0:01:13.642 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.024) 0:01:13.666 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.232) 0:01:13.899 ****** 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, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.024) 0:01:13.924 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:36 +0000 (0:00:00.043) 0:01:13.968 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.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.040) 0:01:14.008 ****** 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_type58ihy5rh/.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.086) 0:01:14.094 ****** 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_type58ihy5rh/.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.028) 0:01:14.122 ****** 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_type58ihy5rh/.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.025) 0:01:14.148 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:39 +0000 (0:00:02.254) 0:01:16.402 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.810) 0:01:17.213 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.031) 0:01:17.244 ****** 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_type58ihy5rh/.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:17.270 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.029) 0:01:17.300 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.058) 0:01:17.359 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.028) 0:01:17.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.032) 0:01:17.420 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.047) 0:01:17.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.410) 0:01:17.879 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.034) 0:01:17.914 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.054) 0:01:17.968 ****** 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_type58ihy5rh/.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:17.988 ****** 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, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.374) 0:01:18.363 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.027) 0:01:18.391 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.024) 0:01:18.415 ****** 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, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a8195f36-311c-4ee1-8a3e-1b1dad0ce5e2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.023) 0:01:18.439 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.027) 0:01:18.466 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.234) 0:01:18.701 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:41 +0000 (0:00:00.044) 0:01:18.746 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.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.050) 0:01:18.797 ****** 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_type58ihy5rh/.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.039) 0:01:18.836 ****** 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_type58ihy5rh/.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.027) 0:01:18.864 ****** 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_type58ihy5rh/.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.023) 0:01:18.888 ****** 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_type58ihy5rh/.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.375) 0:01:21.263 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.806) 0:01:22.069 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.041) 0:01:22.111 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.025) 0:01:22.137 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.025) 0:01:22.163 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.055) 0:01:22.218 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.025) 0:01:22.244 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.027) 0:01:22.272 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.039) 0:01:22.311 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.465) 0:01:22.777 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.038) 0:01:22.815 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.036) 0:01:22.851 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.020) 0:01:22.872 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.662) 0:01:23.535 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.047) 0:01:23.583 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.074) 0:01:23.658 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.054) 0:01:23.712 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.100) 0:01:23.813 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.256) 0:01:24.070 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.047) 0:01:24.117 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.070) 0:01:24.188 ****** included: /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.097) 0:01:24.286 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.049) 0:01:24.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.025) 0:01:24.361 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 13 January 2024 12:29:47 +0000 (0:00:00.024) 0:01:24.386 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 13 January 2024 12:29:49 +0000 (0:00:02.334) 0:01:26.720 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.758) 0:01:27.478 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.028) 0:01:27.507 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.024) 0:01:27.531 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.025) 0:01:27.557 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.068) 0:01:27.625 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.027) 0:01:27.652 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.025) 0:01:27.677 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.044) 0:01:27.722 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.439) 0:01:28.161 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.038) 0:01:28.199 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.028) 0:01:28.228 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.029) 0:01:28.257 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.471) 0:01:28.729 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.067) 0:01:28.797 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.028) 0:01:28.826 ****** 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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.025) 0:01:28.851 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.024) 0:01:28.876 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.222) 0:01:29.098 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.040) 0:01:29.139 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.035) 0:01:29.174 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.025) 0:01:29.200 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.211) 0:01:29.412 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.020) 0:01:29.432 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021956", "end": "2024-01-13 12:29:52.261050", "rc": 1, "start": "2024-01-13 12:29:52.239094" } 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.244) 0:01:29.676 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.029) 0:01:29.706 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.025) 0:01:29.732 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.079) 0:01:29.811 ****** 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_type58ihy5rh/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.030) 0:01:29.842 ****** 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_type58ihy5rh/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.034) 0:01:29.876 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.031) 0:01:29.908 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360757", "end": "2024-01-13 12:29:53.088697", "rc": 0, "start": "2024-01-13 12:29:52.727940" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.590) 0:01:30.499 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.021) 0:01:30.520 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.022) 0:01:30.543 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.048) 0:01:30.591 ****** included: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.038) 0:01:30.630 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type58ihy5rh/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.223) 0:01:30.853 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.037) 0:01:30.891 ****** 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_type58ihy5rh/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.023) 0:01:30.914 ****** included: /WORKDIR/git-route_type58ihy5rh/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_type58ihy5rh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.040) 0:01:30.954 ****** 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.041941", "end": "2024-01-13 12:29:53.802259", "rc": 1, "start": "2024-01-13 12:29:53.760318" } 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:29:53 +0000 (0:00:00.348) 0:01:31.303 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_type58ihy5rh/.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.35s /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.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_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.24s /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /WORKDIR/git-route_type58ihy5rh/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_type58ihy5rh/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-route_type58ihy5rh/.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.82s /WORKDIR/git-route_type58ihy5rh/.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_type58ihy5rh/.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. ---^---^---^---^---^---