# 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_type6gopzmg8/.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_type6gopzmg8/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:21:59 +0000 (0:00:00.010) 0:00:00.010 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type6gopzmg8/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:22:00 +0000 (0:00:00.866) 0:00:00.877 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:22:00 +0000 (0:00:00.012) 0:00:00.889 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/tasks/el_repo_setup.yml:17 Friday 12 January 2024 18:22:00 +0000 (0:00:00.365) 0:00:01.255 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/tasks/el_repo_setup.yml:22 Friday 12 January 2024 18:22:00 +0000 (0:00:00.260) 0:00:01.515 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/tasks/el_repo_setup.yml:26 Friday 12 January 2024 18:22:00 +0000 (0:00:00.012) 0:00:01.528 ******** 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_type6gopzmg8/tests/tasks/el_repo_setup.yml:51 Friday 12 January 2024 18:22:00 +0000 (0:00:00.007) 0:00:01.535 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:22:01 +0000 (0:00:00.019) 0:00:01.554 ******** 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_type6gopzmg8/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:22:01 +0000 (0:00:00.006) 0:00:01.561 ******** 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_type6gopzmg8/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:22:01 +0000 (0:00:00.006) 0:00:01.568 ******** 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_type6gopzmg8/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:22:01 +0000 (0:00:00.006) 0:00:01.574 ******** 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_type6gopzmg8/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:22:01 +0000 (0:00:00.005) 0:00:01.580 ******** 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_type6gopzmg8/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:22:01 +0000 (0:00:00.005) 0:00:01.586 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:22:01 +0000 (0:00:00.013) 0:00:01.599 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:22:01 +0000 (0:00:00.730) 0:00:02.330 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:22:01 +0000 (0:00:00.009) 0:00:02.339 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:22:01 +0000 (0:00:00.012) 0:00:02.352 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:22:01 +0000 (0:00:00.008) 0:00:02.361 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:22:01 +0000 (0:00:00.026) 0:00:02.387 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:22:01 +0000 (0:00:00.010) 0:00:02.397 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:22:01 +0000 (0:00:00.009) 0:00:02.406 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003796", "end": "2024-01-12 18:22:02.107790", "rc": 0, "start": "2024-01-12 18:22:02.103994" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:22:02 +0000 (0:00:00.267) 0:00:02.674 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:22:02 +0000 (0:00:00.009) 0:00:02.683 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:22:02 +0000 (0:00:00.008) 0:00:02.692 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:22:02 +0000 (0:00:00.014) 0:00:02.707 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007803", "end": "2024-01-12 18:22:02.356038", "rc": 1, "start": "2024-01-12 18:22:02.348235" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:22:02 +0000 (0:00:00.215) 0:00:02.922 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:22:02 +0000 (0:00:00.011) 0:00:02.933 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:22:02 +0000 (0:00:00.206) 0:00:03.139 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:22:02 +0000 (0:00:00.012) 0:00:03.152 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:22:02 +0000 (0:00:00.013) 0:00:03.166 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:02 +0000 (0:00:00.021) 0:00:03.188 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:02 +0000 (0:00:00.017) 0:00:03.206 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:02 +0000 (0:00:00.017) 0:00:03.223 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:02 +0000 (0:00:00.010) 0:00:03.233 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:02 +0000 (0:00:00.010) 0:00:03.244 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:05 +0000 (0:00:02.387) 0:00:05.631 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:05 +0000 (0:00:00.910) 0:00:06.542 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:06 +0000 (0:00:00.020) 0:00:06.562 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:06 +0000 (0:00:00.019) 0:00:06.582 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:06 +0000 (0:00:00.020) 0:00:06.603 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:06 +0000 (0:00:00.049) 0:00:06.652 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:06 +0000 (0:00:00.019) 0:00:06.672 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:06 +0000 (0:00:00.020) 0:00:06.693 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:06 +0000 (0:00:00.048) 0:00:06.741 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:06 +0000 (0:00:00.567) 0:00:07.308 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:06 +0000 (0:00:00.034) 0:00:07.343 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:06 +0000 (0:00:00.017) 0:00:07.361 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:06 +0000 (0:00:00.016) 0:00:07.378 ******** 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, 378db132-23ac-4021-a817-2965039250cb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:08 +0000 (0:00:01.174) 0:00:08.552 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:08 +0000 (0:00:00.021) 0:00:08.574 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 378db132-23ac-4021-a817-2965039250cb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:08 +0000 (0:00:00.020) 0:00:08.594 ******** 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, 378db132-23ac-4021-a817-2965039250cb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 378db132-23ac-4021-a817-2965039250cb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:08 +0000 (0:00:00.020) 0:00:08.615 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:08 +0000 (0:00:00.020) 0:00:08.636 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:22:08 +0000 (0:00:00.306) 0:00:08.942 ******** 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, 378db132-23ac-4021-a817-2965039250cb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 378db132-23ac-4021-a817-2965039250cb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:22:08 +0000 (0:00:00.020) 0:00:08.963 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:22:08 +0000 (0:00:00.033) 0:00:08.997 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:22:08 +0000 (0:00:00.032) 0:00:09.029 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:22:08 +0000 (0:00:00.039) 0:00:09.068 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:22:08 +0000 (0:00:00.214) 0:00:09.282 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:22:08 +0000 (0:00:00.018) 0:00:09.300 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.216044", "end": "2024-01-12 18:22:09.157262", "rc": 0, "start": "2024-01-12 18:22:08.941218" } 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:22:09 +0000 (0:00:00.432) 0:00:09.733 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:22:09 +0000 (0:00:00.020) 0:00:09.754 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:22:09 +0000 (0:00:00.017) 0:00:09.771 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:22:09 +0000 (0:00:00.017) 0:00:09.789 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:22:09 +0000 (0:00:00.018) 0:00:09.807 ******** 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_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:22:09 +0000 (0:00:00.017) 0:00:09.824 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:22:09 +0000 (0:00:00.020) 0:00:09.845 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:22:09 +0000 (0:00:00.020) 0:00:09.866 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:22:09 +0000 (0:00:00.019) 0:00:09.886 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:22:09 +0000 (0:00:00.043) 0:00:09.930 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:22:09 +0000 (0:00:00.028) 0:00:09.958 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083727.9411929, "block_size": 4096, "blocks": 0, "ctime": 1705083727.9411929, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26035, "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": 1705083727.9411929, "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_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:22:09 +0000 (0:00:00.236) 0:00:10.195 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:22:09 +0000 (0:00:00.020) 0:00:10.216 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:22:09 +0000 (0:00:00.019) 0:00:10.235 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:22:09 +0000 (0:00:00.034) 0:00:10.269 ******** 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.122123", "end": "2024-01-12 18:22:10.031431", "rc": 1, "start": "2024-01-12 18:22:09.909308" } STDOUT: Connection 'statebr' (378db132-23ac-4021-a817-2965039250cb) 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_type6gopzmg8/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:22:10 +0000 (0:00:00.336) 0:00:10.606 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:22:10 +0000 (0:00:00.030) 0:00:10.637 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:22:10 +0000 (0:00:00.019) 0:00:10.656 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:22:10 +0000 (0:00:00.036) 0:00:10.692 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:22:10 +0000 (0:00:00.029) 0:00:10.722 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:22:10 +0000 (0:00:00.028) 0:00:10.751 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003836", "end": "2024-01-12 18:22:10.396517", "rc": 0, "start": "2024-01-12 18:22:10.392681" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:22:10 +0000 (0:00:00.221) 0:00:10.972 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:22:10 +0000 (0:00:00.019) 0:00:10.992 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:22:10 +0000 (0:00:00.040) 0:00:11.032 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:22:10 +0000 (0:00:00.034) 0:00:11.066 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007137", "end": "2024-01-12 18:22:10.715857", "rc": 1, "start": "2024-01-12 18:22:10.708720" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:22:10 +0000 (0:00:00.225) 0:00:11.292 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:22:10 +0000 (0:00:00.028) 0:00:11.320 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:22:10 +0000 (0:00:00.221) 0:00:11.542 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:22:11 +0000 (0:00:00.020) 0:00:11.562 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:22:11 +0000 (0:00:00.033) 0:00:11.595 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:11 +0000 (0:00:00.037) 0:00:11.633 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:11 +0000 (0:00:00.035) 0:00:11.669 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:11 +0000 (0:00:00.030) 0:00:11.699 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:11 +0000 (0:00:00.021) 0:00:11.720 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:11 +0000 (0:00:00.042) 0:00:11.763 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:13 +0000 (0:00:02.280) 0:00:14.044 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:14 +0000 (0:00:00.756) 0:00:14.800 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:14 +0000 (0:00:00.021) 0:00:14.822 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:14 +0000 (0:00:00.020) 0:00:14.843 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:14 +0000 (0:00:00.020) 0:00:14.863 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:14 +0000 (0:00:00.050) 0:00:14.913 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:14 +0000 (0:00:00.020) 0:00:14.934 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:14 +0000 (0:00:00.020) 0:00:14.955 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:14 +0000 (0:00:00.031) 0:00:14.987 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:14 +0000 (0:00:00.410) 0:00:15.397 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:14 +0000 (0:00:00.033) 0:00:15.430 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:14 +0000 (0:00:00.018) 0:00:15.449 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:14 +0000 (0:00:00.017) 0:00:15.467 ******** 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, 490a1547-23e8-4e91-86f9-0082059dc190 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:15 +0000 (0:00:00.433) 0:00:15.900 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:15 +0000 (0:00:00.022) 0:00:15.923 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 490a1547-23e8-4e91-86f9-0082059dc190" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:15 +0000 (0:00:00.020) 0:00:15.943 ******** 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, 490a1547-23e8-4e91-86f9-0082059dc190\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 490a1547-23e8-4e91-86f9-0082059dc190" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:15 +0000 (0:00:00.021) 0:00:15.965 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:15 +0000 (0:00:00.020) 0:00:15.986 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:22:15 +0000 (0:00:00.221) 0:00:16.207 ******** 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, 490a1547-23e8-4e91-86f9-0082059dc190\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 490a1547-23e8-4e91-86f9-0082059dc190" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:22:15 +0000 (0:00:00.021) 0:00:16.228 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:22:15 +0000 (0:00:00.034) 0:00:16.263 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:22:15 +0000 (0:00:00.029) 0:00:16.293 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:22:15 +0000 (0:00:00.212) 0:00:16.506 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:22:15 +0000 (0:00:00.020) 0:00:16.526 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:22:16 +0000 (0:00:00.030) 0:00:16.557 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:22:16 +0000 (0:00:00.043) 0:00:16.600 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:22:16 +0000 (0:00:00.213) 0:00:16.813 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:22:16 +0000 (0:00:00.018) 0:00:16.831 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.117756", "end": "2024-01-12 18:22:16.587810", "rc": 0, "start": "2024-01-12 18:22:16.470054" } 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:22:16 +0000 (0:00:00.332) 0:00:17.164 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:22:16 +0000 (0:00:00.020) 0:00:17.184 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:22:16 +0000 (0:00:00.018) 0:00:17.203 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:22:16 +0000 (0:00:00.018) 0:00:17.221 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:22:16 +0000 (0:00:00.017) 0:00:17.239 ******** 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_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:22:16 +0000 (0:00:00.018) 0:00:17.257 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:22:16 +0000 (0:00:00.021) 0:00:17.279 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:22:16 +0000 (0:00:00.021) 0:00:17.301 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:22:16 +0000 (0:00:00.021) 0:00:17.322 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:22:16 +0000 (0:00:00.025) 0:00:17.348 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:22:16 +0000 (0:00:00.019) 0:00:17.367 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:22:16 +0000 (0:00:00.033) 0:00:17.401 ******** 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.041415", "end": "2024-01-12 18:22:17.081585", "rc": 1, "start": "2024-01-12 18:22:17.040170" } STDOUT: Connection 'statebr' (490a1547-23e8-4e91-86f9-0082059dc190) 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_type6gopzmg8/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:22:17 +0000 (0:00:00.255) 0:00:17.656 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:22:17 +0000 (0:00:00.053) 0:00:17.710 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:22:17 +0000 (0:00:00.020) 0:00:17.731 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:22:17 +0000 (0:00:00.036) 0:00:17.768 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:22:17 +0000 (0:00:00.029) 0:00:17.797 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:22:17 +0000 (0:00:00.028) 0:00:17.826 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003750", "end": "2024-01-12 18:22:17.471317", "rc": 0, "start": "2024-01-12 18:22:17.467567" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:22:17 +0000 (0:00:00.221) 0:00:18.047 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:22:17 +0000 (0:00:00.020) 0:00:18.067 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:22:17 +0000 (0:00:00.019) 0:00:18.087 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:22:17 +0000 (0:00:00.031) 0:00:18.119 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:17 +0000 (0:00:00.038) 0:00:18.158 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:17 +0000 (0:00:00.057) 0:00:18.215 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:17 +0000 (0:00:00.032) 0:00:18.248 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:17 +0000 (0:00:00.021) 0:00:18.270 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:17 +0000 (0:00:00.021) 0:00:18.291 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:20 +0000 (0:00:02.259) 0:00:20.551 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:20 +0000 (0:00:00.759) 0:00:21.310 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:20 +0000 (0:00:00.021) 0:00:21.331 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:20 +0000 (0:00:00.021) 0:00:21.352 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:20 +0000 (0:00:00.020) 0:00:21.373 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:20 +0000 (0:00:00.051) 0:00:21.424 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:20 +0000 (0:00:00.021) 0:00:21.446 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:20 +0000 (0:00:00.020) 0:00:21.466 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:20 +0000 (0:00:00.032) 0:00:21.498 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:21 +0000 (0:00:00.436) 0:00:21.935 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:21 +0000 (0:00:00.033) 0:00:21.969 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:21 +0000 (0:00:00.018) 0:00:21.988 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:21 +0000 (0:00:00.018) 0:00:22.006 ******** 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, a3097a53-ec45-4e03-a2d8-b0345d5d2589 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:21 +0000 (0:00:00.422) 0:00:22.428 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:21 +0000 (0:00:00.022) 0:00:22.451 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3097a53-ec45-4e03-a2d8-b0345d5d2589" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:21 +0000 (0:00:00.021) 0:00:22.472 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3097a53-ec45-4e03-a2d8-b0345d5d2589\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3097a53-ec45-4e03-a2d8-b0345d5d2589" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:21 +0000 (0:00:00.020) 0:00:22.493 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:21 +0000 (0:00:00.021) 0:00:22.514 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:22:22 +0000 (0:00:00.222) 0:00:22.736 ******** 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, a3097a53-ec45-4e03-a2d8-b0345d5d2589\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3097a53-ec45-4e03-a2d8-b0345d5d2589" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:22:22 +0000 (0:00:00.020) 0:00:22.757 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:22:22 +0000 (0:00:00.032) 0:00:22.790 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:22 +0000 (0:00:00.037) 0:00:22.828 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:22 +0000 (0:00:00.060) 0:00:22.888 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:22 +0000 (0:00:00.032) 0:00:22.920 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:22 +0000 (0:00:00.022) 0:00:22.943 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:22 +0000 (0:00:00.020) 0:00:22.963 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:24 +0000 (0:00:02.260) 0:00:25.224 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:25 +0000 (0:00:00.757) 0:00:25.982 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:25 +0000 (0:00:00.021) 0:00:26.003 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:25 +0000 (0:00:00.021) 0:00:26.024 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:25 +0000 (0:00:00.021) 0:00:26.046 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:25 +0000 (0:00:00.049) 0:00:26.095 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:25 +0000 (0:00:00.021) 0:00:26.117 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:25 +0000 (0:00:00.021) 0:00:26.138 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:25 +0000 (0:00:00.031) 0:00:26.170 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:26 +0000 (0:00:00.435) 0:00:26.606 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:26 +0000 (0:00:00.033) 0:00:26.640 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:26 +0000 (0:00:00.018) 0:00:26.659 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:26 +0000 (0:00:00.018) 0:00:26.678 ******** 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, a3097a53-ec45-4e03-a2d8-b0345d5d2589 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:26 +0000 (0:00:00.370) 0:00:27.048 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:26 +0000 (0:00:00.023) 0:00:27.071 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a3097a53-ec45-4e03-a2d8-b0345d5d2589 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:26 +0000 (0:00:00.021) 0:00:27.093 ******** 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, a3097a53-ec45-4e03-a2d8-b0345d5d2589 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a3097a53-ec45-4e03-a2d8-b0345d5d2589 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:26 +0000 (0:00:00.020) 0:00:27.114 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:26 +0000 (0:00:00.023) 0:00:27.137 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:22:26 +0000 (0:00:00.222) 0:00:27.360 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:22:26 +0000 (0:00:00.036) 0:00:27.396 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:22:26 +0000 (0:00:00.029) 0:00:27.425 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083741.7994587, "block_size": 4096, "blocks": 0, "ctime": 1705083741.7994587, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26166, "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": 1705083741.7994587, "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_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:22:27 +0000 (0:00:00.215) 0:00:27.641 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:22:27 +0000 (0:00:00.020) 0:00:27.661 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:22:27 +0000 (0:00:00.056) 0:00:27.717 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:22:27 +0000 (0:00:00.020) 0:00:27.737 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:22:27 +0000 (0:00:00.214) 0:00:27.952 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:22:27 +0000 (0:00:00.018) 0:00:27.970 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020840", "end": "2024-01-12 18:22:27.631787", "rc": 0, "start": "2024-01-12 18:22:27.610947" } 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:22:27 +0000 (0:00:00.237) 0:00:28.208 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:22:27 +0000 (0:00:00.020) 0:00:28.229 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:22:27 +0000 (0:00:00.018) 0:00:28.247 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:22:27 +0000 (0:00:00.018) 0:00:28.266 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:22:27 +0000 (0:00:00.017) 0:00:28.284 ******** 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_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:22:27 +0000 (0:00:00.018) 0:00:28.302 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:22:27 +0000 (0:00:00.021) 0:00:28.323 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:22:27 +0000 (0:00:00.020) 0:00:28.344 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:22:27 +0000 (0:00:00.020) 0:00:28.365 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:22:27 +0000 (0:00:00.025) 0:00:28.390 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:22:27 +0000 (0:00:00.018) 0:00:28.409 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:22:27 +0000 (0:00:00.059) 0:00:28.468 ******** 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.066935", "end": "2024-01-12 18:22:28.176911", "rc": 1, "start": "2024-01-12 18:22:28.109976" } STDOUT: Connection 'statebr' (a3097a53-ec45-4e03-a2d8-b0345d5d2589) 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_type6gopzmg8/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:22:28 +0000 (0:00:00.284) 0:00:28.753 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:22:28 +0000 (0:00:00.031) 0:00:28.785 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:22:28 +0000 (0:00:00.019) 0:00:28.804 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:22:28 +0000 (0:00:00.037) 0:00:28.842 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:22:28 +0000 (0:00:00.030) 0:00:28.872 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:22:28 +0000 (0:00:00.028) 0:00:28.901 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003802", "end": "2024-01-12 18:22:28.544135", "rc": 0, "start": "2024-01-12 18:22:28.540333" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:22:28 +0000 (0:00:00.220) 0:00:29.121 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:22:28 +0000 (0:00:00.020) 0:00:29.142 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:22:28 +0000 (0:00:00.019) 0:00:29.161 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:22:28 +0000 (0:00:00.033) 0:00:29.194 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:28 +0000 (0:00:00.062) 0:00:29.257 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:28 +0000 (0:00:00.037) 0:00:29.294 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:28 +0000 (0:00:00.031) 0:00:29.326 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:28 +0000 (0:00:00.021) 0:00:29.347 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:28 +0000 (0:00:00.021) 0:00:29.369 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:31 +0000 (0:00:02.261) 0:00:31.630 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:31 +0000 (0:00:00.759) 0:00:32.390 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:31 +0000 (0:00:00.021) 0:00:32.411 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:31 +0000 (0:00:00.020) 0:00:32.432 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:31 +0000 (0:00:00.021) 0:00:32.453 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:31 +0000 (0:00:00.050) 0:00:32.503 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:31 +0000 (0:00:00.020) 0:00:32.524 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:32 +0000 (0:00:00.047) 0:00:32.571 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:32 +0000 (0:00:00.033) 0:00:32.605 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:32 +0000 (0:00:00.411) 0:00:33.016 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:32 +0000 (0:00:00.035) 0:00:33.052 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:32 +0000 (0:00:00.018) 0:00:33.071 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:32 +0000 (0:00:00.018) 0:00:33.089 ******** 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, ab60ee2c-a150-4444-9785-e978824a6ffa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:33 +0000 (0:00:00.492) 0:00:33.581 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:33 +0000 (0:00:00.022) 0:00:33.604 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab60ee2c-a150-4444-9785-e978824a6ffa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:33 +0000 (0:00:00.020) 0:00:33.625 ******** 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, ab60ee2c-a150-4444-9785-e978824a6ffa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab60ee2c-a150-4444-9785-e978824a6ffa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:33 +0000 (0:00:00.022) 0:00:33.647 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:33 +0000 (0:00:00.021) 0:00:33.669 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:22:33 +0000 (0:00:00.220) 0:00:33.890 ******** 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, ab60ee2c-a150-4444-9785-e978824a6ffa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab60ee2c-a150-4444-9785-e978824a6ffa" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:22:33 +0000 (0:00:00.021) 0:00:33.911 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:33 +0000 (0:00:00.037) 0:00:33.948 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:33 +0000 (0:00:00.062) 0:00:34.011 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:33 +0000 (0:00:00.031) 0:00:34.043 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:33 +0000 (0:00:00.022) 0:00:34.065 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:33 +0000 (0:00:00.021) 0:00:34.087 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:35 +0000 (0:00:02.255) 0:00:36.342 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:36 +0000 (0:00:00.761) 0:00:37.104 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:36 +0000 (0:00:00.021) 0:00:37.125 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:36 +0000 (0:00:00.020) 0:00:37.146 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:36 +0000 (0:00:00.021) 0:00:37.167 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:36 +0000 (0:00:00.050) 0:00:37.217 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:36 +0000 (0:00:00.020) 0:00:37.238 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:36 +0000 (0:00:00.021) 0:00:37.260 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:36 +0000 (0:00:00.061) 0:00:37.321 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:37 +0000 (0:00:00.411) 0:00:37.733 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:37 +0000 (0:00:00.035) 0:00:37.768 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:37 +0000 (0:00:00.019) 0:00:37.787 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:37 +0000 (0:00:00.018) 0:00:37.806 ******** 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, ab60ee2c-a150-4444-9785-e978824a6ffa skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:37 +0000 (0:00:00.375) 0:00:38.182 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:37 +0000 (0:00:00.022) 0:00:38.204 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab60ee2c-a150-4444-9785-e978824a6ffa skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:37 +0000 (0:00:00.020) 0:00:38.225 ******** 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, ab60ee2c-a150-4444-9785-e978824a6ffa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab60ee2c-a150-4444-9785-e978824a6ffa skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:37 +0000 (0:00:00.021) 0:00:38.247 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:37 +0000 (0:00:00.021) 0:00:38.268 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:22:37 +0000 (0:00:00.221) 0:00:38.490 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:22:37 +0000 (0:00:00.034) 0:00:38.524 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:38 +0000 (0:00:00.037) 0:00:38.562 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:38 +0000 (0:00:00.062) 0:00:38.625 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:38 +0000 (0:00:00.033) 0:00:38.658 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:38 +0000 (0:00:00.022) 0:00:38.680 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:38 +0000 (0:00:00.021) 0:00:38.701 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:40 +0000 (0:00:02.266) 0:00:40.968 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:41 +0000 (0:00:00.757) 0:00:41.726 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:41 +0000 (0:00:00.021) 0:00:41.748 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:41 +0000 (0:00:00.021) 0:00:41.769 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:41 +0000 (0:00:00.021) 0:00:41.790 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:41 +0000 (0:00:00.049) 0:00:41.840 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:41 +0000 (0:00:00.021) 0:00:41.862 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:41 +0000 (0:00:00.021) 0:00:41.883 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:41 +0000 (0:00:00.032) 0:00:41.916 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:41 +0000 (0:00:00.469) 0:00:42.385 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:41 +0000 (0:00:00.034) 0:00:42.420 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:41 +0000 (0:00:00.018) 0:00:42.438 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:41 +0000 (0:00:00.018) 0:00:42.457 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:42 +0000 (0:00:00.403) 0:00:42.860 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:42 +0000 (0:00:00.021) 0:00:42.882 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:42 +0000 (0:00:00.021) 0:00:42.903 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:42 +0000 (0:00:00.021) 0:00:42.925 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:42 +0000 (0:00:00.020) 0:00:42.946 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:22:42 +0000 (0:00:00.224) 0:00:43.170 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:22:42 +0000 (0:00:00.035) 0:00:43.206 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:22:42 +0000 (0:00:00.029) 0:00:43.236 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083752.884078, "block_size": 4096, "blocks": 0, "ctime": 1705083752.884078, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26297, "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": 1705083752.884078, "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_type6gopzmg8/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:22:42 +0000 (0:00:00.213) 0:00:43.449 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:22:42 +0000 (0:00:00.048) 0:00:43.498 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:22:42 +0000 (0:00:00.032) 0:00:43.530 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:22:43 +0000 (0:00:00.019) 0:00:43.550 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:22:43 +0000 (0:00:00.211) 0:00:43.762 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:22:43 +0000 (0:00:00.018) 0:00:43.780 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020776", "end": "2024-01-12 18:22:43.443738", "rc": 1, "start": "2024-01-12 18:22:43.422962" } 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:22:43 +0000 (0:00:00.238) 0:00:44.019 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:22:43 +0000 (0:00:00.019) 0:00:44.039 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:22:43 +0000 (0:00:00.018) 0:00:44.057 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:22:43 +0000 (0:00:00.018) 0:00:44.076 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:22:43 +0000 (0:00:00.018) 0:00:44.094 ******** 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_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:22:43 +0000 (0:00:00.018) 0:00:44.112 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:22:43 +0000 (0:00:00.021) 0:00:44.134 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:22:43 +0000 (0:00:00.025) 0:00:44.159 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:22:43 +0000 (0:00:00.019) 0:00:44.179 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:22:43 +0000 (0:00:00.034) 0:00:44.214 ******** ok: [sut] => { "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.073226", "end": "2024-01-12 18:22:43.928178", "rc": 0, "start": "2024-01-12 18:22:43.854952" } STDOUT: Connection 'statebr' (ab60ee2c-a150-4444-9785-e978824a6ffa) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tests_states.yml:102 Friday 12 January 2024 18:22:43 +0000 (0:00:00.324) 0:00:44.538 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:22:44 +0000 (0:00:00.032) 0:00:44.570 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:22:44 +0000 (0:00:00.019) 0:00:44.590 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:22:44 +0000 (0:00:00.037) 0:00:44.628 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:22:44 +0000 (0:00:00.029) 0:00:44.657 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:22:44 +0000 (0:00:00.028) 0:00:44.686 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2024-01-12 18:22:44.329303", "rc": 0, "start": "2024-01-12 18:22:44.325548" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:22:44 +0000 (0:00:00.218) 0:00:44.905 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:22:44 +0000 (0:00:00.021) 0:00:44.926 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:22:44 +0000 (0:00:00.019) 0:00:44.945 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:22:44 +0000 (0:00:00.036) 0:00:44.982 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:44 +0000 (0:00:00.038) 0:00:45.020 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:44 +0000 (0:00:00.063) 0:00:45.083 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:44 +0000 (0:00:00.031) 0:00:45.115 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:44 +0000 (0:00:00.022) 0:00:45.137 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:44 +0000 (0:00:00.022) 0:00:45.159 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:46 +0000 (0:00:02.271) 0:00:47.431 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:47 +0000 (0:00:00.762) 0:00:48.194 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:47 +0000 (0:00:00.021) 0:00:48.216 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:47 +0000 (0:00:00.021) 0:00:48.237 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:47 +0000 (0:00:00.021) 0:00:48.258 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:47 +0000 (0:00:00.050) 0:00:48.308 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:47 +0000 (0:00:00.020) 0:00:48.329 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:47 +0000 (0:00:00.021) 0:00:48.350 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:47 +0000 (0:00:00.062) 0:00:48.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:48 +0000 (0:00:00.414) 0:00:48.827 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:48 +0000 (0:00:00.036) 0:00:48.863 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:48 +0000 (0:00:00.019) 0:00:48.883 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:48 +0000 (0:00:00.018) 0:00:48.901 ******** 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, 7bbccb5e-8477-49c6-8f9c-680a831b132c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:48 +0000 (0:00:00.419) 0:00:49.321 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:48 +0000 (0:00:00.022) 0:00:49.344 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7bbccb5e-8477-49c6-8f9c-680a831b132c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:48 +0000 (0:00:00.021) 0:00:49.365 ******** 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, 7bbccb5e-8477-49c6-8f9c-680a831b132c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7bbccb5e-8477-49c6-8f9c-680a831b132c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:48 +0000 (0:00:00.022) 0:00:49.387 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:48 +0000 (0:00:00.021) 0:00:49.409 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:22:49 +0000 (0:00:00.221) 0:00:49.631 ******** 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, 7bbccb5e-8477-49c6-8f9c-680a831b132c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7bbccb5e-8477-49c6-8f9c-680a831b132c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:22:49 +0000 (0:00:00.021) 0:00:49.652 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:49 +0000 (0:00:00.037) 0:00:49.690 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:49 +0000 (0:00:00.064) 0:00:49.754 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:49 +0000 (0:00:00.032) 0:00:49.786 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:49 +0000 (0:00:00.022) 0:00:49.809 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:49 +0000 (0:00:00.022) 0:00:49.831 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:51 +0000 (0:00:02.276) 0:00:52.108 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:52 +0000 (0:00:00.761) 0:00:52.869 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:52 +0000 (0:00:00.022) 0:00:52.892 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:52 +0000 (0:00:00.022) 0:00:52.914 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:52 +0000 (0:00:00.022) 0:00:52.936 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:52 +0000 (0:00:00.050) 0:00:52.987 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:52 +0000 (0:00:00.022) 0:00:53.009 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:52 +0000 (0:00:00.021) 0:00:53.031 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:52 +0000 (0:00:00.033) 0:00:53.064 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:52 +0000 (0:00:00.410) 0:00:53.474 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:52 +0000 (0:00:00.065) 0:00:53.540 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:53 +0000 (0:00:00.019) 0:00:53.560 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:53 +0000 (0:00:00.018) 0:00:53.579 ******** 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, 7bbccb5e-8477-49c6-8f9c-680a831b132c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:53 +0000 (0:00:00.373) 0:00:53.952 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:53 +0000 (0:00:00.022) 0:00:53.975 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7bbccb5e-8477-49c6-8f9c-680a831b132c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:53 +0000 (0:00:00.021) 0:00:53.996 ******** 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, 7bbccb5e-8477-49c6-8f9c-680a831b132c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7bbccb5e-8477-49c6-8f9c-680a831b132c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:53 +0000 (0:00:00.022) 0:00:54.019 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:53 +0000 (0:00:00.022) 0:00:54.042 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:22:53 +0000 (0:00:00.220) 0:00:54.262 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:53 +0000 (0:00:00.040) 0:00:54.302 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:53 +0000 (0:00:00.036) 0:00:54.339 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:53 +0000 (0:00:00.032) 0:00:54.371 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:53 +0000 (0:00:00.021) 0:00:54.393 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:53 +0000 (0:00:00.050) 0:00:54.443 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:22:56 +0000 (0:00:02.259) 0:00:56.703 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:22:56 +0000 (0:00:00.760) 0:00:57.464 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:22:56 +0000 (0:00:00.022) 0:00:57.487 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:22:56 +0000 (0:00:00.022) 0:00:57.509 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:22:56 +0000 (0:00:00.021) 0:00:57.531 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:22:57 +0000 (0:00:00.051) 0:00:57.582 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:22:57 +0000 (0:00:00.022) 0:00:57.605 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:22:57 +0000 (0:00:00.021) 0:00:57.626 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:22:57 +0000 (0:00:00.033) 0:00:57.659 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:22:57 +0000 (0:00:00.408) 0:00:58.068 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:22:57 +0000 (0:00:00.034) 0:00:58.102 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:22:57 +0000 (0:00:00.019) 0:00:58.122 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:22:57 +0000 (0:00:00.050) 0:00:58.172 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:22:58 +0000 (0:00:00.402) 0:00:58.574 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:22:58 +0000 (0:00:00.022) 0:00:58.597 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:22:58 +0000 (0:00:00.021) 0:00:58.619 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:22:58 +0000 (0:00:00.021) 0:00:58.641 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:22:58 +0000 (0:00:00.023) 0:00:58.664 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:22:58 +0000 (0:00:00.223) 0:00:58.888 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:22:58 +0000 (0:00:00.034) 0:00:58.923 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:22:58 +0000 (0:00:00.038) 0:00:58.961 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:22:58 +0000 (0:00:00.037) 0:00:58.998 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:22:58 +0000 (0:00:00.031) 0:00:59.030 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:22:58 +0000 (0:00:00.023) 0:00:59.053 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:22:58 +0000 (0:00:00.021) 0:00:59.075 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:23:00 +0000 (0:00:02.341) 0:01:01.416 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:23:01 +0000 (0:00:00.762) 0:01:02.178 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:23:01 +0000 (0:00:00.021) 0:01:02.200 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:23:01 +0000 (0:00:00.023) 0:01:02.223 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:23:01 +0000 (0:00:00.022) 0:01:02.246 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:23:01 +0000 (0:00:00.049) 0:01:02.296 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:23:01 +0000 (0:00:00.023) 0:01:02.320 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:23:01 +0000 (0:00:00.021) 0:01:02.342 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:23:01 +0000 (0:00:00.032) 0:01:02.374 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:23:02 +0000 (0:00:00.423) 0:01:02.798 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:23:02 +0000 (0:00:00.035) 0:01:02.834 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:23:02 +0000 (0:00:00.019) 0:01:02.853 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:23:02 +0000 (0:00:00.018) 0:01:02.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: [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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:23:02 +0000 (0:00:00.527) 0:01:03.400 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:23:02 +0000 (0:00:00.022) 0:01:03.423 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:23:02 +0000 (0:00:00.022) 0:01:03.445 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:23:02 +0000 (0:00:00.022) 0:01:03.468 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:23:02 +0000 (0:00:00.021) 0:01:03.489 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:23:03 +0000 (0:00:00.226) 0:01:03.715 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:23:03 +0000 (0:00:00.034) 0:01:03.750 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:23:03 +0000 (0:00:00.031) 0:01:03.782 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:23:03 +0000 (0:00:00.019) 0:01:03.801 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:23:03 +0000 (0:00:00.216) 0:01:04.018 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:23:03 +0000 (0:00:00.019) 0:01:04.037 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020578", "end": "2024-01-12 18:23:03.699708", "rc": 1, "start": "2024-01-12 18:23:03.679130" } 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:23:03 +0000 (0:00:00.238) 0:01:04.275 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:23:03 +0000 (0:00:00.019) 0:01:04.295 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:23:03 +0000 (0:00:00.047) 0:01:04.343 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:23:03 +0000 (0:00:00.019) 0:01:04.363 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:23:03 +0000 (0:00:00.019) 0:01:04.382 ******** 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_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:23:03 +0000 (0:00:00.019) 0:01:04.402 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:23:03 +0000 (0:00:00.020) 0:01:04.423 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:23:03 +0000 (0:00:00.044) 0:01:04.467 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:23:03 +0000 (0:00:00.029) 0:01:04.497 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:23:04 +0000 (0:00:00.218) 0:01:04.715 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:23:04 +0000 (0:00:00.021) 0:01:04.737 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:23:04 +0000 (0:00:00.020) 0:01:04.757 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:23:04 +0000 (0:00:00.034) 0:01:04.791 ******** 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.039239", "end": "2024-01-12 18:23:04.470289", "rc": 1, "start": "2024-01-12 18:23:04.431050" } 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_type6gopzmg8/tests/playbooks/tests_states.yml:124 Friday 12 January 2024 18:23:04 +0000 (0:00:00.254) 0:01:05.046 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:23:04 +0000 (0:00:00.031) 0:01:05.078 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:23:04 +0000 (0:00:00.048) 0:01:05.126 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:23:04 +0000 (0:00:00.039) 0:01:05.166 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:23:04 +0000 (0:00:00.030) 0:01:05.196 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:23:04 +0000 (0:00:00.029) 0:01:05.225 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003703", "end": "2024-01-12 18:23:04.868514", "rc": 0, "start": "2024-01-12 18:23:04.864811" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:23:04 +0000 (0:00:00.220) 0:01:05.445 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:23:04 +0000 (0:00:00.021) 0:01:05.467 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:23:04 +0000 (0:00:00.021) 0:01:05.488 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:23:04 +0000 (0:00:00.038) 0:01:05.527 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:23:05 +0000 (0:00:00.040) 0:01:05.567 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:23:05 +0000 (0:00:00.038) 0:01:05.606 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:23:05 +0000 (0:00:00.032) 0:01:05.638 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:23:05 +0000 (0:00:00.051) 0:01:05.690 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:23:05 +0000 (0:00:00.023) 0:01:05.713 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:23:07 +0000 (0:00:02.282) 0:01:07.995 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:23:08 +0000 (0:00:00.758) 0:01:08.754 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:23:08 +0000 (0:00:00.023) 0:01:08.778 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:23:08 +0000 (0:00:00.023) 0:01:08.801 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:23:08 +0000 (0:00:00.022) 0:01:08.824 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:23:08 +0000 (0:00:00.051) 0:01:08.876 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:23:08 +0000 (0:00:00.022) 0:01:08.898 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:23:08 +0000 (0:00:00.022) 0:01:08.920 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:23:08 +0000 (0:00:00.033) 0:01:08.954 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:23:08 +0000 (0:00:00.411) 0:01:09.365 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:23:08 +0000 (0:00:00.035) 0:01:09.401 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:23:08 +0000 (0:00:00.055) 0:01:09.456 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:23:08 +0000 (0:00:00.020) 0:01:09.477 ******** 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, 525489ae-3ce7-4dc5-a3f4-d788c74d707f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:23:09 +0000 (0:00:00.426) 0:01:09.903 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:23:09 +0000 (0:00:00.024) 0:01:09.928 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 525489ae-3ce7-4dc5-a3f4-d788c74d707f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:23:09 +0000 (0:00:00.022) 0:01:09.951 ******** 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, 525489ae-3ce7-4dc5-a3f4-d788c74d707f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 525489ae-3ce7-4dc5-a3f4-d788c74d707f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:23:09 +0000 (0:00:00.022) 0:01:09.973 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:23:09 +0000 (0:00:00.022) 0:01:09.996 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:23:09 +0000 (0:00:00.224) 0:01:10.221 ******** 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, 525489ae-3ce7-4dc5-a3f4-d788c74d707f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 525489ae-3ce7-4dc5-a3f4-d788c74d707f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:23:09 +0000 (0:00:00.024) 0:01:10.245 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:23:09 +0000 (0:00:00.039) 0:01:10.285 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:23:09 +0000 (0:00:00.040) 0:01:10.326 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:23:09 +0000 (0:00:00.032) 0:01:10.358 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:23:09 +0000 (0:00:00.022) 0:01:10.381 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:23:09 +0000 (0:00:00.059) 0:01:10.441 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:23:12 +0000 (0:00:02.287) 0:01:12.728 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:23:12 +0000 (0:00:00.765) 0:01:13.493 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:23:12 +0000 (0:00:00.022) 0:01:13.516 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:23:12 +0000 (0:00:00.021) 0:01:13.537 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:23:13 +0000 (0:00:00.022) 0:01:13.560 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:23:13 +0000 (0:00:00.050) 0:01:13.610 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:23:13 +0000 (0:00:00.021) 0:01:13.632 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:23:13 +0000 (0:00:00.022) 0:01:13.655 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:23:13 +0000 (0:00:00.033) 0:01:13.689 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:23:13 +0000 (0:00:00.415) 0:01:14.105 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:23:13 +0000 (0:00:00.034) 0:01:14.139 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:23:13 +0000 (0:00:00.019) 0:01:14.159 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:23:13 +0000 (0:00:00.018) 0:01:14.177 ******** 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, 525489ae-3ce7-4dc5-a3f4-d788c74d707f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:23:14 +0000 (0:00:00.439) 0:01:14.617 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:23:14 +0000 (0:00:00.023) 0:01:14.640 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 525489ae-3ce7-4dc5-a3f4-d788c74d707f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:23:14 +0000 (0:00:00.022) 0:01:14.662 ******** 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, 525489ae-3ce7-4dc5-a3f4-d788c74d707f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 525489ae-3ce7-4dc5-a3f4-d788c74d707f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:23:14 +0000 (0:00:00.023) 0:01:14.685 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:23:14 +0000 (0:00:00.024) 0:01:14.710 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:23:14 +0000 (0:00:00.222) 0:01:14.933 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:23:14 +0000 (0:00:00.040) 0:01:14.974 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:23:14 +0000 (0:00:00.036) 0:01:15.010 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:23:14 +0000 (0:00:00.032) 0:01:15.042 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:23:14 +0000 (0:00:00.020) 0:01:15.063 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:23:14 +0000 (0:00:00.021) 0:01:15.085 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:23:16 +0000 (0:00:02.264) 0:01:17.349 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:23:17 +0000 (0:00:00.829) 0:01:18.179 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:23:17 +0000 (0:00:00.023) 0:01:18.202 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:23:17 +0000 (0:00:00.022) 0:01:18.224 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:23:17 +0000 (0:00:00.025) 0:01:18.249 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:23:17 +0000 (0:00:00.053) 0:01:18.303 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:23:17 +0000 (0:00:00.022) 0:01:18.325 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:23:17 +0000 (0:00:00.025) 0:01:18.351 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:23:17 +0000 (0:00:00.034) 0:01:18.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:23:18 +0000 (0:00:00.410) 0:01:18.796 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:23:18 +0000 (0:00:00.034) 0:01:18.830 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:23:18 +0000 (0:00:00.019) 0:01:18.850 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:23:18 +0000 (0:00:00.019) 0:01:18.869 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:23:18 +0000 (0:00:00.448) 0:01:19.317 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:23:18 +0000 (0:00:00.023) 0:01:19.341 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:23:18 +0000 (0:00:00.022) 0:01:19.364 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:23:18 +0000 (0:00:00.060) 0:01:19.424 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:23:18 +0000 (0:00:00.025) 0:01:19.449 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:23:19 +0000 (0:00:00.223) 0:01:19.672 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:23:19 +0000 (0:00:00.034) 0:01:19.707 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:23:19 +0000 (0:00:00.038) 0:01:19.745 ******** included: /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:23:19 +0000 (0:00:00.036) 0:01:19.782 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:23:19 +0000 (0:00:00.032) 0:01:19.815 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:23:19 +0000 (0:00:00.021) 0:01:19.837 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:23:19 +0000 (0:00:00.020) 0:01:19.857 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:23:21 +0000 (0:00:02.262) 0:01:22.120 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:23:22 +0000 (0:00:00.823) 0:01:22.943 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:23:22 +0000 (0:00:00.022) 0:01:22.965 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:23:22 +0000 (0:00:00.022) 0:01:22.987 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:23:22 +0000 (0:00:00.023) 0:01:23.011 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:23:22 +0000 (0:00:00.051) 0:01:23.062 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:23:22 +0000 (0:00:00.022) 0:01:23.085 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:23:22 +0000 (0:00:00.022) 0:01:23.107 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:23:22 +0000 (0:00:00.032) 0:01:23.140 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:23:23 +0000 (0:00:00.413) 0:01:23.553 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:23:23 +0000 (0:00:00.034) 0:01:23.588 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:23:23 +0000 (0:00:00.018) 0:01:23.606 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:23:23 +0000 (0:00:00.019) 0:01:23.625 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:23:23 +0000 (0:00:00.387) 0:01:24.013 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:23:23 +0000 (0:00:00.021) 0:01:24.035 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:23:23 +0000 (0:00:00.021) 0:01:24.057 ******** 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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:23:23 +0000 (0:00:00.058) 0:01:24.115 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:23:23 +0000 (0:00:00.022) 0:01:24.138 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:23:23 +0000 (0:00:00.223) 0:01:24.361 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:23:23 +0000 (0:00:00.038) 0:01:24.400 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:23:23 +0000 (0:00:00.034) 0:01:24.435 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:23:23 +0000 (0:00:00.020) 0:01:24.455 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:23:24 +0000 (0:00:00.216) 0:01:24.672 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:23:24 +0000 (0:00:00.018) 0:01:24.691 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019930", "end": "2024-01-12 18:23:24.349873", "rc": 1, "start": "2024-01-12 18:23:24.329943" } 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:23:24 +0000 (0:00:00.234) 0:01:24.925 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:23:24 +0000 (0:00:00.020) 0:01:24.945 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:23:24 +0000 (0:00:00.019) 0:01:24.965 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:23:24 +0000 (0:00:00.018) 0:01:24.984 ******** 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_type6gopzmg8/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:23:24 +0000 (0:00:00.019) 0:01:25.003 ******** 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_type6gopzmg8/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:23:24 +0000 (0:00:00.019) 0:01:25.022 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:23:24 +0000 (0:00:00.054) 0:01:25.077 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.357639", "end": "2024-01-12 18:23:25.076563", "rc": 0, "start": "2024-01-12 18:23:24.718924" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:23:25 +0000 (0:00:00.576) 0:01:25.654 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:23:25 +0000 (0:00:00.020) 0:01:25.674 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:23:25 +0000 (0:00:00.019) 0:01:25.694 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:23:25 +0000 (0:00:00.045) 0:01:25.740 ******** included: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:23:25 +0000 (0:00:00.029) 0:01:25.769 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6gopzmg8/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:23:25 +0000 (0:00:00.216) 0:01:25.986 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:23:25 +0000 (0:00:00.021) 0:01:26.007 ******** 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_type6gopzmg8/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:23:25 +0000 (0:00:00.020) 0:01:26.027 ******** included: /WORKDIR/git-route_type6gopzmg8/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_type6gopzmg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:23:25 +0000 (0:00:00.036) 0:01:26.063 ******** 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.038455", "end": "2024-01-12 18:23:25.741066", "rc": 1, "start": "2024-01-12 18:23:25.702611" } 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=10 Friday 12 January 2024 18:23:25 +0000 (0:00:00.315) 0:01:26.379 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-route_type6gopzmg8/.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.34s /WORKDIR/git-route_type6gopzmg8/.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.29s /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.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_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.17s /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /WORKDIR/git-route_type6gopzmg8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-route_type6gopzmg8/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.83s /WORKDIR/git-route_type6gopzmg8/.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_type6gopzmg8/.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. ---^---^---^---^---^---