# 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_typeaxyzuq08/.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_typeaxyzuq08/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 15:27:40 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 15:27:41 +0000 (0:00:00.907) 0:00:00.918 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:27:41 +0000 (0:00:00.011) 0:00:00.930 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 15:27:41 +0000 (0:00:00.357) 0:00:01.288 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.259) 0:00:01.548 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.013) 0:00:01.562 ***** 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_typeaxyzuq08/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.007) 0:00:01.569 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.021) 0:00:01.590 ***** 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_typeaxyzuq08/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.007) 0:00:01.598 ***** 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_typeaxyzuq08/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.007) 0:00:01.606 ***** 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_typeaxyzuq08/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.007) 0:00:01.613 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.007) 0:00:01.621 ***** 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_typeaxyzuq08/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.006) 0:00:01.627 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.015) 0:00:01.643 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.736) 0:00:02.379 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.010) 0:00:02.390 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.013) 0:00:02.403 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.010) 0:00:02.414 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.029) 0:00:02.443 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.012) 0:00:02.456 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:27:42 +0000 (0:00:00.026) 0:00:02.482 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003943", "end": "2024-01-10 15:27:43.257880", "rc": 0, "start": "2024-01-10 15:27:43.253937" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.296) 0:00:02.778 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.023) 0:00:02.802 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.019) 0:00:02.821 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.029) 0:00:02.851 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007864", "end": "2024-01-10 15:27:43.564030", "rc": 1, "start": "2024-01-10 15:27:43.556166" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.224) 0:00:03.076 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.011) 0:00:03.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.201) 0:00:03.289 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.010) 0:00:03.300 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.014) 0:00:03.314 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.022) 0:00:03.337 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.021) 0:00:03.358 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.019) 0:00:03.378 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.013) 0:00:03.392 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:27:43 +0000 (0:00:00.011) 0:00:03.403 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:27:46 +0000 (0:00:02.282) 0:00:05.686 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.937) 0:00:06.623 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.021) 0:00:06.644 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.023) 0:00:06.668 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.021) 0:00:06.689 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.051) 0:00:06.740 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.020) 0:00:06.761 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.020) 0:00:06.782 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.048) 0:00:06.830 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.561) 0:00:07.391 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.032) 0:00:07.424 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.018) 0:00:07.442 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:27:47 +0000 (0:00:00.018) 0:00:07.461 ***** 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, aaae3ebe-24cc-4f1f-83c4-46c759b25180 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.546) 0:00:08.007 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.022) 0:00:08.030 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aaae3ebe-24cc-4f1f-83c4-46c759b25180" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.021) 0:00:08.051 ***** 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, aaae3ebe-24cc-4f1f-83c4-46c759b25180\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aaae3ebe-24cc-4f1f-83c4-46c759b25180" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.020) 0:00:08.072 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.021) 0:00:08.093 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.303) 0:00:08.397 ***** 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, aaae3ebe-24cc-4f1f-83c4-46c759b25180\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aaae3ebe-24cc-4f1f-83c4-46c759b25180" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.020) 0:00:08.418 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:27:48 +0000 (0:00:00.034) 0:00:08.452 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.054) 0:00:08.507 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.019) 0:00:08.527 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.208) 0:00:08.735 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.019) 0:00:08.754 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022315", "end": "2024-01-10 15:27:49.466983", "rc": 0, "start": "2024-01-10 15:27:49.444668" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.234) 0:00:08.989 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.021) 0:00:09.010 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.019) 0:00:09.030 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.019) 0:00:09.049 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.019) 0:00:09.069 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.024) 0:00:09.093 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.021) 0:00:09.115 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.022) 0:00:09.138 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.023) 0:00:09.161 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.046) 0:00:09.208 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.032) 0:00:09.240 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900468.4266222, "block_size": 4096, "blocks": 0, "ctime": 1704900468.4266222, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36196, "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": 1704900468.4266222, "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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:27:49 +0000 (0:00:00.236) 0:00:09.477 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.022) 0:00:09.499 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.020) 0:00:09.520 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.043) 0:00:09.564 ***** 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.060040", "end": "2024-01-10 15:27:50.335874", "rc": 1, "start": "2024-01-10 15:27:50.275834" } STDOUT: Connection 'statebr' (aaae3ebe-24cc-4f1f-83c4-46c759b25180) 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_typeaxyzuq08/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.294) 0:00:09.858 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.031) 0:00:09.890 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.020) 0:00:09.910 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.038) 0:00:09.949 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.032) 0:00:09.981 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.029) 0:00:10.011 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003718", "end": "2024-01-10 15:27:50.704108", "rc": 0, "start": "2024-01-10 15:27:50.700390" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.216) 0:00:10.227 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.023) 0:00:10.250 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.053) 0:00:10.303 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:27:50 +0000 (0:00:00.037) 0:00:10.341 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006520", "end": "2024-01-10 15:27:51.049307", "rc": 1, "start": "2024-01-10 15:27:51.042787" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.232) 0:00:10.574 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.031) 0:00:10.605 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.210) 0:00:10.816 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.022) 0:00:10.839 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.035) 0:00:10.874 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.040) 0:00:10.915 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.036) 0:00:10.951 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.032) 0:00:10.983 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.020) 0:00:11.004 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:27:51 +0000 (0:00:00.044) 0:00:11.048 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:27:53 +0000 (0:00:02.189) 0:00:13.237 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.787) 0:00:14.025 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.023) 0:00:14.049 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.023) 0:00:14.073 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.022) 0:00:14.095 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.051) 0:00:14.147 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.022) 0:00:14.170 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.021) 0:00:14.191 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:27:54 +0000 (0:00:00.033) 0:00:14.225 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.407) 0:00:14.633 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.040) 0:00:14.673 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.020) 0:00:14.693 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.048) 0:00:14.742 ***** 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, 0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.382) 0:00:15.125 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.022) 0:00:15.147 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.021) 0:00:15.169 ***** 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, 0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.022) 0:00:15.191 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.021) 0:00:15.213 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.221) 0:00:15.434 ***** 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, 0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:27:55 +0000 (0:00:00.021) 0:00:15.456 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.037) 0:00:15.494 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.031) 0:00:15.525 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.212) 0:00:15.738 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.024) 0:00:15.762 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.035) 0:00:15.798 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.059) 0:00:15.858 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.230) 0:00:16.088 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.018) 0:00:16.106 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022049", "end": "2024-01-10 15:27:56.819518", "rc": 0, "start": "2024-01-10 15:27:56.797469" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.251) 0:00:16.358 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.037) 0:00:16.395 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.027) 0:00:16.423 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.024) 0:00:16.447 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:27:56 +0000 (0:00:00.023) 0:00:16.471 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.032) 0:00:16.504 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.031) 0:00:16.535 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.029) 0:00:16.564 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.024) 0:00:16.589 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.027) 0:00:16.616 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.021) 0:00:16.638 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.035) 0:00:16.674 ***** 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.042172", "end": "2024-01-10 15:27:57.407917", "rc": 1, "start": "2024-01-10 15:27:57.365745" } STDOUT: Connection 'statebr' (0eecb4ac-39aa-4610-ad85-fe8a87d9f5e2) 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_typeaxyzuq08/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.322) 0:00:16.997 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.036) 0:00:17.034 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.025) 0:00:17.059 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.040) 0:00:17.100 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.034) 0:00:17.134 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.030) 0:00:17.165 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004009", "end": "2024-01-10 15:27:57.861914", "rc": 0, "start": "2024-01-10 15:27:57.857905" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.221) 0:00:17.386 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.022) 0:00:17.408 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.021) 0:00:17.430 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:27:57 +0000 (0:00:00.035) 0:00:17.466 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:27:58 +0000 (0:00:00.039) 0:00:17.505 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:27:58 +0000 (0:00:00.062) 0:00:17.568 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:27:58 +0000 (0:00:00.034) 0:00:17.602 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:27:58 +0000 (0:00:00.023) 0:00:17.625 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:27:58 +0000 (0:00:00.022) 0:00:17.648 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:00 +0000 (0:00:02.177) 0:00:19.825 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.754) 0:00:20.580 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.023) 0:00:20.604 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.024) 0:00:20.629 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.030) 0:00:20.659 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.057) 0:00:20.716 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.023) 0:00:20.739 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.022) 0:00:20.762 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.033) 0:00:20.796 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.492) 0:00:21.289 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.035) 0:00:21.324 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.020) 0:00:21.344 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:01 +0000 (0:00:00.021) 0:00:21.366 ***** 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, 3a01fd11-549f-43c5-9cfb-b68bb5456246 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.441) 0:00:21.807 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.025) 0:00:21.833 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a01fd11-549f-43c5-9cfb-b68bb5456246" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.026) 0:00:21.859 ***** 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, 3a01fd11-549f-43c5-9cfb-b68bb5456246\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a01fd11-549f-43c5-9cfb-b68bb5456246" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.027) 0:00:21.887 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.023) 0:00:21.911 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.234) 0:00:22.146 ***** 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, 3a01fd11-549f-43c5-9cfb-b68bb5456246\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3a01fd11-549f-43c5-9cfb-b68bb5456246" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.021) 0:00:22.167 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.034) 0:00:22.201 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.040) 0:00:22.242 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.066) 0:00:22.308 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.033) 0:00:22.342 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.026) 0:00:22.369 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:02 +0000 (0:00:00.025) 0:00:22.394 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:05 +0000 (0:00:02.219) 0:00:24.614 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.772) 0:00:25.386 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.029) 0:00:25.415 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.040) 0:00:25.456 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.024) 0:00:25.480 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.053) 0:00:25.534 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.024) 0:00:25.559 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.023) 0:00:25.582 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.066) 0:00:25.648 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.407) 0:00:26.056 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.037) 0:00:26.093 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.020) 0:00:26.114 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.019) 0:00:26.134 ***** 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, 3a01fd11-549f-43c5-9cfb-b68bb5456246 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.382) 0:00:26.517 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.023) 0:00:26.540 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3a01fd11-549f-43c5-9cfb-b68bb5456246 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.023) 0:00:26.563 ***** 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, 3a01fd11-549f-43c5-9cfb-b68bb5456246 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3a01fd11-549f-43c5-9cfb-b68bb5456246 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.023) 0:00:26.587 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.023) 0:00:26.611 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.220) 0:00:26.831 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.044) 0:00:26.875 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.032) 0:00:26.908 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900482.2232702, "block_size": 4096, "blocks": 0, "ctime": 1704900482.2232702, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36327, "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": 1704900482.2232702, "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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.212) 0:00:27.121 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.067) 0:00:27.188 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.040) 0:00:27.229 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.034) 0:00:27.263 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:07 +0000 (0:00:00.212) 0:00:27.475 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.019) 0:00:27.494 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021976", "end": "2024-01-10 15:28:08.205886", "rc": 0, "start": "2024-01-10 15:28:08.183910" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.235) 0:00:27.729 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.022) 0:00:27.752 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.019) 0:00:27.772 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.018) 0:00:27.790 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.019) 0:00:27.810 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.018) 0:00:27.828 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.023) 0:00:27.852 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.028) 0:00:27.881 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.025) 0:00:27.906 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.029) 0:00:27.936 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.068) 0:00:28.005 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.057) 0:00:28.062 ***** 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.064547", "end": "2024-01-10 15:28:08.825219", "rc": 1, "start": "2024-01-10 15:28:08.760672" } STDOUT: Connection 'statebr' (3a01fd11-549f-43c5-9cfb-b68bb5456246) 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_typeaxyzuq08/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.286) 0:00:28.349 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.032) 0:00:28.381 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.022) 0:00:28.403 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.040) 0:00:28.443 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:08 +0000 (0:00:00.031) 0:00:28.475 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.030) 0:00:28.505 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003602", "end": "2024-01-10 15:28:09.197104", "rc": 0, "start": "2024-01-10 15:28:09.193502" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.217) 0:00:28.722 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.028) 0:00:28.751 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.021) 0:00:28.773 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.067) 0:00:28.840 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.042) 0:00:28.883 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.045) 0:00:28.928 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.032) 0:00:28.961 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.022) 0:00:28.983 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:09 +0000 (0:00:00.022) 0:00:29.006 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:11 +0000 (0:00:02.177) 0:00:31.183 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.754) 0:00:31.937 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.034) 0:00:31.972 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.025) 0:00:31.997 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.023) 0:00:32.021 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.054) 0:00:32.075 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.075) 0:00:32.150 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.029) 0:00:32.180 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.039) 0:00:32.219 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.416) 0:00:32.636 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.037) 0:00:32.673 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.023) 0:00:32.697 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.020) 0:00:32.717 ***** 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, 7e10c355-65d2-4030-a8c9-99c4056e6dd2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.422) 0:00:33.140 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:33.164 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e10c355-65d2-4030-a8c9-99c4056e6dd2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:33.189 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e10c355-65d2-4030-a8c9-99c4056e6dd2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e10c355-65d2-4030-a8c9-99c4056e6dd2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.023) 0:00:33.213 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:33.237 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.222) 0:00:33.459 ***** 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, 7e10c355-65d2-4030-a8c9-99c4056e6dd2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7e10c355-65d2-4030-a8c9-99c4056e6dd2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.027) 0:00:33.487 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.077) 0:00:33.564 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.039) 0:00:33.604 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.034) 0:00:33.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.024) 0:00:33.663 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.022) 0:00:33.685 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:16 +0000 (0:00:02.184) 0:00:35.869 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.755) 0:00:36.624 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.022) 0:00:36.647 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.022) 0:00:36.669 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.023) 0:00:36.692 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.051) 0:00:36.744 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.022) 0:00:36.766 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.051) 0:00:36.817 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.034) 0:00:36.852 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.408) 0:00:37.261 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.035) 0:00:37.297 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.020) 0:00:37.317 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:17 +0000 (0:00:00.020) 0:00:37.338 ***** 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, 7e10c355-65d2-4030-a8c9-99c4056e6dd2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.373) 0:00:37.712 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.023) 0:00:37.735 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7e10c355-65d2-4030-a8c9-99c4056e6dd2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.025) 0:00:37.761 ***** 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, 7e10c355-65d2-4030-a8c9-99c4056e6dd2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7e10c355-65d2-4030-a8c9-99c4056e6dd2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.026) 0:00:37.787 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.024) 0:00:37.812 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.240) 0:00:38.052 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.044) 0:00:38.096 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.077) 0:00:38.173 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.039) 0:00:38.213 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.036) 0:00:38.249 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.027) 0:00:38.277 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.045) 0:00:38.323 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:21 +0000 (0:00:02.206) 0:00:40.529 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.753) 0:00:41.283 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.023) 0:00:41.306 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:41.330 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.023) 0:00:41.354 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.054) 0:00:41.408 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:41.433 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:41.457 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.101) 0:00:41.558 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.410) 0:00:41.968 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.036) 0:00:42.005 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.019) 0:00:42.024 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.019) 0:00:42.044 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.407) 0:00:42.451 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.025) 0:00:42.477 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.023) 0:00:42.500 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.023) 0:00:42.524 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.023) 0:00:42.548 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.238) 0:00:42.787 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.038) 0:00:42.825 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.030) 0:00:42.856 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900493.5662491, "block_size": 4096, "blocks": 0, "ctime": 1704900493.5662491, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36458, "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": 1704900493.5662491, "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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.244) 0:00:43.101 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.024) 0:00:43.125 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.034) 0:00:43.160 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.032) 0:00:43.193 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.214) 0:00:43.407 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:23 +0000 (0:00:00.021) 0:00:43.429 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022070", "end": "2024-01-10 15:28:24.142841", "rc": 1, "start": "2024-01-10 15:28:24.120771" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.251) 0:00:43.680 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.024) 0:00:43.704 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.022) 0:00:43.727 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.042) 0:00:43.769 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.027) 0:00:43.797 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.021) 0:00:43.818 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.023) 0:00:43.842 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.027) 0:00:43.869 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.024) 0:00:43.893 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.079) 0:00:43.973 ***** 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.078299", "end": "2024-01-10 15:28:24.769172", "rc": 0, "start": "2024-01-10 15:28:24.690873" } STDOUT: Connection 'statebr' (7e10c355-65d2-4030-a8c9-99c4056e6dd2) 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_typeaxyzuq08/tests/playbooks/tests_states.yml:102 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.330) 0:00:44.304 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.046) 0:00:44.350 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.037) 0:00:44.388 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.050) 0:00:44.438 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:24 +0000 (0:00:00.042) 0:00:44.481 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.033) 0:00:44.514 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-01-10 15:28:25.229093", "rc": 0, "start": "2024-01-10 15:28:25.225555" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.243) 0:00:44.758 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.025) 0:00:44.783 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.021) 0:00:44.805 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.045) 0:00:44.850 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.096) 0:00:44.947 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.058) 0:00:45.005 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.036) 0:00:45.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.042) 0:00:45.084 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.063) 0:00:45.148 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:27 +0000 (0:00:02.221) 0:00:47.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 : Print network provider] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.763) 0:00:48.132 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.023) 0:00:48.156 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.022) 0:00:48.179 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.023) 0:00:48.202 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.053) 0:00:48.255 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.023) 0:00:48.279 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.054) 0:00:48.333 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:28 +0000 (0:00:00.035) 0:00:48.368 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.412) 0:00:48.781 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.037) 0:00:48.818 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.019) 0:00:48.838 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.019) 0:00:48.857 ***** 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, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.449) 0:00:49.306 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.024) 0:00:49.331 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.022) 0:00:49.354 ***** 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, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.023) 0:00:49.377 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:29 +0000 (0:00:00.023) 0:00:49.401 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.229) 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, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.026) 0:00:49.657 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.044) 0:00:49.701 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.088) 0:00:49.790 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.046) 0:00:49.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.025) 0:00:49.862 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.024) 0:00:49.887 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:32 +0000 (0:00:02.168) 0:00:52.056 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.756) 0:00:52.812 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.025) 0:00:52.837 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.022) 0:00:52.860 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.023) 0:00:52.884 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.060) 0:00:52.944 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.032) 0:00:52.976 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.032) 0:00:53.008 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.079) 0:00:53.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.417) 0:00:53.505 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.040) 0:00:53.545 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.020) 0:00:53.566 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.019) 0:00:53.585 ***** 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, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.416) 0:00:54.002 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.024) 0:00:54.026 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.022) 0:00:54.049 ***** 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, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 45e502f5-a6f7-4ec1-ad10-fff69bc7f523 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.023) 0:00:54.072 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.023) 0:00:54.095 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.221) 0:00:54.317 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.046) 0:00:54.364 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.044) 0:00:54.408 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.069) 0:00:54.478 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.024) 0:00:54.503 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.026) 0:00:54.529 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:37 +0000 (0:00:02.207) 0:00:56.737 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:37 +0000 (0:00:00.753) 0:00:57.490 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.022) 0:00:57.513 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.022) 0:00:57.536 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.022) 0:00:57.559 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.053) 0:00:57.612 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.023) 0:00:57.636 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.022) 0:00:57.659 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.036) 0:00:57.696 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.403) 0:00:58.099 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.034) 0:00:58.133 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.057) 0:00:58.191 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:38 +0000 (0:00:00.020) 0:00:58.211 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.406) 0:00:58.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.029) 0:00:58.647 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.024) 0:00:58.671 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.028) 0:00:58.700 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.029) 0:00:58.729 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.227) 0:00:58.957 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.036) 0:00:58.993 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.041) 0:00:59.035 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.042) 0:00:59.077 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.036) 0:00:59.114 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.054) 0:00:59.168 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.023) 0:00:59.192 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:41 +0000 (0:00:02.178) 0:01:01.371 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.751) 0:01:02.122 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.025) 0:01:02.148 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.023) 0:01:02.172 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.025) 0:01:02.197 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.068) 0:01:02.265 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.023) 0:01:02.289 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.025) 0:01:02.315 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:42 +0000 (0:00:00.037) 0:01:02.353 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.406) 0:01:02.759 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.035) 0:01:02.795 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.056) 0:01:02.852 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.020) 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.467) 0:01:03.339 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.024) 0:01:03.364 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.022) 0:01:03.387 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.023) 0:01:03.410 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:43 +0000 (0:00:00.022) 0:01:03.433 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.222) 0:01:03.655 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.046) 0:01:03.702 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.035) 0:01:03.738 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.029) 0:01:03.768 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.212) 0:01:03.980 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.020) 0:01:04.000 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021310", "end": "2024-01-10 15:28:44.712619", "rc": 1, "start": "2024-01-10 15:28:44.691309" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.234) 0:01:04.235 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.094) 0:01:04.330 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.043) 0:01:04.373 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.033) 0:01:04.407 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.025) 0:01:04.432 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.025) 0:01:04.458 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.026) 0:01:04.484 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.055) 0:01:04.539 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.032) 0:01:04.572 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.212) 0:01:04.785 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.022) 0:01:04.808 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.021) 0:01:04.829 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.037) 0:01:04.866 ***** 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.040904", "end": "2024-01-10 15:28:45.596690", "rc": 1, "start": "2024-01-10 15:28:45.555786" } 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_typeaxyzuq08/tests/playbooks/tests_states.yml:124 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.253) 0:01:05.120 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.073) 0:01:05.194 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.024) 0:01:05.219 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.046) 0:01:05.266 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.035) 0:01:05.301 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.037) 0:01:05.338 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003793", "end": "2024-01-10 15:28:46.038861", "rc": 0, "start": "2024-01-10 15:28:46.035068" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.228) 0:01:05.566 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.024) 0:01:05.591 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.023) 0:01:05.614 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.037) 0:01:05.652 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.041) 0:01:05.693 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.073) 0:01:05.767 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.036) 0:01:05.804 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.028) 0:01:05.832 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.023) 0:01:05.856 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:48 +0000 (0:00:02.195) 0:01:08.052 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.762) 0:01:08.814 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.023) 0:01:08.838 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.025) 0:01:08.864 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.023) 0:01:08.888 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.054) 0:01:08.942 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.023) 0:01:08.966 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.022) 0:01:08.988 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.035) 0:01:09.024 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.474) 0:01:09.498 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.055) 0:01:09.554 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.022) 0:01:09.577 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.021) 0:01:09.598 ***** 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, 84d3db3e-5fa0-4612-be8e-f811e582d2b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.430) 0:01:10.028 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.025) 0:01:10.054 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84d3db3e-5fa0-4612-be8e-f811e582d2b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.026) 0:01:10.080 ***** 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, 84d3db3e-5fa0-4612-be8e-f811e582d2b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84d3db3e-5fa0-4612-be8e-f811e582d2b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.026) 0:01:10.106 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.024) 0:01:10.131 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.224) 0:01:10.355 ***** 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, 84d3db3e-5fa0-4612-be8e-f811e582d2b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84d3db3e-5fa0-4612-be8e-f811e582d2b9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.035) 0:01:10.391 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.046) 0:01:10.437 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.042) 0:01:10.479 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.068) 0:01:10.548 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.024) 0:01:10.572 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.023) 0:01:10.596 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:53 +0000 (0:00:02.238) 0:01:12.834 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.759) 0:01:13.594 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.023) 0:01:13.617 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.023) 0:01:13.640 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.025) 0:01:13.665 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.060) 0:01:13.726 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.026) 0:01:13.752 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.025) 0:01:13.778 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.037) 0:01:13.816 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.427) 0:01:14.243 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.038) 0:01:14.281 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.062) 0:01:14.344 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:54 +0000 (0:00:00.021) 0:01:14.365 ***** 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, 84d3db3e-5fa0-4612-be8e-f811e582d2b9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.389) 0:01:14.754 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.025) 0:01:14.780 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84d3db3e-5fa0-4612-be8e-f811e582d2b9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.025) 0:01:14.805 ***** 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, 84d3db3e-5fa0-4612-be8e-f811e582d2b9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84d3db3e-5fa0-4612-be8e-f811e582d2b9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.024) 0:01:14.830 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.025) 0:01:14.855 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.225) 0:01:15.081 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.042) 0:01:15.123 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.037) 0:01:15.161 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.032) 0:01:15.194 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.022) 0:01:15.216 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:28:55 +0000 (0:00:00.021) 0:01:15.237 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:28:58 +0000 (0:00:02.331) 0:01:17.569 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.912) 0:01:18.482 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.043) 0:01:18.525 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.026) 0:01:18.552 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.026) 0:01:18.579 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.057) 0:01:18.637 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.027) 0:01:18.665 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.026) 0:01:18.691 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.037) 0:01:18.729 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.410) 0:01:19.139 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.035) 0:01:19.175 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.019) 0:01:19.194 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:28:59 +0000 (0:00:00.019) 0:01:19.214 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.539) 0:01:19.754 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.115) 0:01:19.869 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.028) 0:01:19.897 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.030) 0:01:19.927 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.031) 0:01:19.959 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.228) 0:01:20.188 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.038) 0:01:20.226 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.041) 0:01:20.268 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.042) 0:01:20.311 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.043) 0:01:20.354 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.032) 0:01:20.387 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:29:00 +0000 (0:00:00.028) 0:01:20.415 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:29:03 +0000 (0:00:02.233) 0:01:22.648 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.762) 0:01:23.410 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.024) 0:01:23.435 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.025) 0:01:23.460 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.024) 0:01:23.484 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.097) 0:01:23.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.028) 0:01:23.610 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.026) 0:01:23.636 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.043) 0:01:23.680 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.413) 0:01:24.094 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.038) 0:01:24.133 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.020) 0:01:24.153 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.022) 0:01:24.176 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.462) 0:01:24.638 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.092) 0:01:24.731 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.035) 0:01:24.766 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.026) 0:01:24.792 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.023) 0:01:24.816 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.226) 0:01:25.043 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.046) 0:01:25.089 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.035) 0:01:25.125 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.024) 0:01:25.149 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.215) 0:01:25.364 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:29:05 +0000 (0:00:00.020) 0:01:25.384 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021447", "end": "2024-01-10 15:29:06.099478", "rc": 1, "start": "2024-01-10 15:29:06.078031" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.240) 0:01:25.624 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.019) 0:01:25.644 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.020) 0:01:25.664 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.053) 0:01:25.717 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.020) 0:01:25.738 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.021) 0:01:25.760 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.022) 0:01:25.783 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.358147", "end": "2024-01-10 15:29:06.833265", "rc": 0, "start": "2024-01-10 15:29:06.475118" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.575) 0:01:26.358 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.021) 0:01:26.380 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.021) 0:01:26.401 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.046) 0:01:26.448 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:29:06 +0000 (0:00:00.032) 0:01:26.480 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.217) 0:01:26.697 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.022) 0:01:26.720 ***** 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_typeaxyzuq08/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.021) 0:01:26.742 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.038) 0:01:26.780 ***** 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.040959", "end": "2024-01-10 15:29:07.512466", "rc": 1, "start": "2024-01-10 15:29:07.471507" } 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 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.368) 0:01:27.148 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.24s /WORKDIR/git-route_typeaxyzuq08/.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.23s /WORKDIR/git-route_typeaxyzuq08/.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.22s /WORKDIR/git-route_typeaxyzuq08/.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.22s /WORKDIR/git-route_typeaxyzuq08/.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.21s /WORKDIR/git-route_typeaxyzuq08/.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.21s /WORKDIR/git-route_typeaxyzuq08/.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.20s /WORKDIR/git-route_typeaxyzuq08/.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.19s /WORKDIR/git-route_typeaxyzuq08/.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.18s /WORKDIR/git-route_typeaxyzuq08/.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.18s /WORKDIR/git-route_typeaxyzuq08/.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.18s /WORKDIR/git-route_typeaxyzuq08/.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.18s /WORKDIR/git-route_typeaxyzuq08/.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.17s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-route_typeaxyzuq08/.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.91s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_typeaxyzuq08/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /WORKDIR/git-route_typeaxyzuq08/.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.77s /WORKDIR/git-route_typeaxyzuq08/.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. ---^---^---^---^---^---