# 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_typenmyk78xg/.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_typenmyk78xg/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/tests_states_nm.yml:6 Thursday 11 January 2024 02:32:08 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typenmyk78xg/tests/tests_states_nm.yml:9 Thursday 11 January 2024 02:32:09 +0000 (0:00:00.882) 0:00:00.893 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:32:09 +0000 (0:00:00.011) 0:00:00.905 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.361) 0:00:01.267 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.256) 0:00:01.523 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.013) 0:00:01.536 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.010) 0:00:01.546 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.022) 0:00:01.569 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.252) 0:00:01.821 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.011) 0:00:01.833 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:32:10 +0000 (0:00:00.016) 0:00:01.850 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248661", "end": "2024-01-11 02:32:11.147331", "rc": 0, "start": "2024-01-11 02:32:10.898670" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.440) 0:00:02.290 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/tests_states_nm.yml:11 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.010) 0:00:02.300 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.017) 0:00:02.318 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.703) 0:00:03.021 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.015) 0:00:03.036 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.013) 0:00:03.050 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.015) 0:00:03.065 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.034) 0:00:03.099 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.012) 0:00:03.111 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:32:11 +0000 (0:00:00.010) 0:00:03.122 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003375", "end": "2024-01-11 02:32:12.172441", "rc": 0, "start": "2024-01-11 02:32:12.169066" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.191) 0:00:03.313 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.010) 0:00:03.324 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.009) 0:00:03.334 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.016) 0:00:03.351 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008275", "end": "2024-01-11 02:32:12.405760", "rc": 1, "start": "2024-01-11 02:32:12.397485" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.195) 0:00:03.546 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.012) 0:00:03.558 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.188) 0:00:03.747 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.011) 0:00:03.758 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.016) 0:00:03.774 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.023) 0:00:03.797 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.018) 0:00:03.816 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.018) 0:00:03.835 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.011) 0:00:03.847 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:12 +0000 (0:00:00.012) 0:00:03.859 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:14 +0000 (0:00:01.722) 0:00:05.581 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:15 +0000 (0:00:01.484) 0:00:07.065 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:15 +0000 (0:00:00.028) 0:00:07.093 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:15 +0000 (0:00:00.022) 0:00:07.116 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.021) 0:00:07.137 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.050) 0:00:07.188 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.020) 0:00:07.208 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.020) 0:00:07.229 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.032) 0:00:07.262 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.572) 0:00:07.834 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.035) 0:00:07.869 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.022) 0:00:07.892 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:16 +0000 (0:00:00.020) 0:00:07.912 ****** 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, 3ac6fb65-1ef3-4e18-8602-18f26709122c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.539) 0:00:08.452 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.021) 0:00:08.473 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ac6fb65-1ef3-4e18-8602-18f26709122c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.020) 0:00:08.494 ****** 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, 3ac6fb65-1ef3-4e18-8602-18f26709122c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ac6fb65-1ef3-4e18-8602-18f26709122c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.022) 0:00:08.516 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.021) 0:00:08.538 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.305) 0:00:08.843 ****** 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, 3ac6fb65-1ef3-4e18-8602-18f26709122c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ac6fb65-1ef3-4e18-8602-18f26709122c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.023) 0:00:08.867 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.034) 0:00:08.902 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.035) 0:00:08.937 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:32:17 +0000 (0:00:00.053) 0:00:08.991 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940337.2851138, "block_size": 4096, "blocks": 8, "ctime": 1704940337.2361138, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533380, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704940337.2361138, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.202) 0:00:09.194 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.027) 0:00:09.221 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020647", "end": "2024-01-11 02:32:18.289990", "rc": 0, "start": "2024-01-11 02:32:18.269343" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.220) 0:00:09.442 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.022) 0:00:09.464 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.020) 0:00:09.485 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.023) 0:00:09.508 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.020) 0:00:09.529 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.021) 0:00:09.550 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.024) 0:00:09.575 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.022) 0:00:09.597 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.021) 0:00:09.619 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.045) 0:00:09.664 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.030) 0:00:09.694 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940337.2381525, "block_size": 4096, "blocks": 0, "ctime": 1704940337.2381525, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37195, "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": 1704940337.2381525, "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_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.199) 0:00:09.894 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.046) 0:00:09.940 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.029) 0:00:09.970 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:32:18 +0000 (0:00:00.043) 0:00:10.013 ****** 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.063538", "end": "2024-01-11 02:32:19.129233", "rc": 1, "start": "2024-01-11 02:32:19.065695" } STDOUT: Connection 'statebr' (3ac6fb65-1ef3-4e18-8602-18f26709122c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.277) 0:00:10.291 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.037) 0:00:10.329 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.021) 0:00:10.350 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.038) 0:00:10.389 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.030) 0:00:10.419 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.029) 0:00:10.449 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2024-01-11 02:32:19.501427", "rc": 0, "start": "2024-01-11 02:32:19.497717" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.210) 0:00:10.659 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.020) 0:00:10.679 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.019) 0:00:10.699 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.070) 0:00:10.770 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006315", "end": "2024-01-11 02:32:19.826093", "rc": 1, "start": "2024-01-11 02:32:19.819778" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.205) 0:00:10.976 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:32:19 +0000 (0:00:00.031) 0:00:11.007 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.198) 0:00:11.205 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.021) 0:00:11.227 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.034) 0:00:11.261 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.040) 0:00:11.302 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.036) 0:00:11.338 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.032) 0:00:11.371 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.022) 0:00:11.394 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:20 +0000 (0:00:00.023) 0:00:11.418 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:21 +0000 (0:00:01.671) 0:00:13.089 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:23 +0000 (0:00:01.329) 0:00:14.419 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.021) 0:00:14.440 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.021) 0:00:14.462 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.021) 0:00:14.483 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.053) 0:00:14.536 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.022) 0:00:14.558 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.021) 0:00:14.580 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.034) 0:00:14.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.377) 0:00:14.992 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.033) 0:00:15.026 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.018) 0:00:15.045 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:23 +0000 (0:00:00.018) 0:00:15.063 ****** 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, 854f1dd0-e05e-46f6-8d12-431a6c1f003a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.377) 0:00:15.440 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.048) 0:00:15.488 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 854f1dd0-e05e-46f6-8d12-431a6c1f003a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.022) 0:00:15.511 ****** 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, 854f1dd0-e05e-46f6-8d12-431a6c1f003a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 854f1dd0-e05e-46f6-8d12-431a6c1f003a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.021) 0:00:15.533 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.022) 0:00:15.555 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.207) 0:00:15.763 ****** 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, 854f1dd0-e05e-46f6-8d12-431a6c1f003a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 854f1dd0-e05e-46f6-8d12-431a6c1f003a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.021) 0:00:15.784 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.037) 0:00:15.822 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.030) 0:00:15.853 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.198) 0:00:16.051 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.020) 0:00:16.072 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.031) 0:00:16.103 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:32:24 +0000 (0:00:00.019) 0:00:16.122 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940344.2771065, "block_size": 4096, "blocks": 8, "ctime": 1704940344.2771065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533380, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704940344.2771065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.198) 0:00:16.321 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.049) 0:00:16.371 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020891", "end": "2024-01-11 02:32:25.442015", "rc": 0, "start": "2024-01-11 02:32:25.421124" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.222) 0:00:16.594 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.021) 0:00:16.615 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.020) 0:00:16.635 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.020) 0:00:16.656 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.020) 0:00:16.676 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.020) 0:00:16.696 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.023) 0:00:16.720 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.021) 0:00:16.741 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.020) 0:00:16.762 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.025) 0:00:16.787 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.019) 0:00:16.807 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.034) 0:00:16.841 ****** 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.042012", "end": "2024-01-11 02:32:25.931314", "rc": 1, "start": "2024-01-11 02:32:25.889302" } STDOUT: Connection 'statebr' (854f1dd0-e05e-46f6-8d12-431a6c1f003a) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:32:25 +0000 (0:00:00.240) 0:00:17.081 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.054) 0:00:17.136 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.020) 0:00:17.156 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.039) 0:00:17.196 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.030) 0:00:17.227 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.030) 0:00:17.257 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2024-01-11 02:32:26.308935", "rc": 0, "start": "2024-01-11 02:32:26.305595" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.202) 0:00:17.459 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.021) 0:00:17.481 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.021) 0:00:17.502 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.033) 0:00:17.536 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.040) 0:00:17.576 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.038) 0:00:17.615 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.059) 0:00:17.674 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.023) 0:00:17.698 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:26 +0000 (0:00:00.023) 0:00:17.721 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:28 +0000 (0:00:01.620) 0:00:19.341 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:29 +0000 (0:00:01.337) 0:00:20.679 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.022) 0:00:20.702 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.022) 0:00:20.725 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.021) 0:00:20.746 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.052) 0:00:20.799 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.022) 0:00:20.821 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.021) 0:00:20.843 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:29 +0000 (0:00:00.033) 0:00:20.876 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.377) 0:00:21.254 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.038) 0:00:21.292 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.046) 0:00:21.338 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.019) 0:00:21.357 ****** 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, c9fe22da-dc68-4472-be75-642624a8d26f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.391) 0:00:21.749 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.022) 0:00:21.771 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9fe22da-dc68-4472-be75-642624a8d26f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.021) 0:00:21.793 ****** 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, c9fe22da-dc68-4472-be75-642624a8d26f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9fe22da-dc68-4472-be75-642624a8d26f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.022) 0:00:21.816 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.022) 0:00:21.839 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.210) 0:00:22.049 ****** 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, c9fe22da-dc68-4472-be75-642624a8d26f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9fe22da-dc68-4472-be75-642624a8d26f" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.022) 0:00:22.072 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:32:30 +0000 (0:00:00.033) 0:00:22.105 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:31 +0000 (0:00:00.040) 0:00:22.145 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:31 +0000 (0:00:00.036) 0:00:22.182 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:31 +0000 (0:00:00.063) 0:00:22.246 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:31 +0000 (0:00:00.024) 0:00:22.270 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:31 +0000 (0:00:00.024) 0:00:22.295 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:32 +0000 (0:00:01.612) 0:00:23.907 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:34 +0000 (0:00:01.329) 0:00:25.237 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.022) 0:00:25.260 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.021) 0:00:25.282 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.023) 0:00:25.305 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.051) 0:00:25.357 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.021) 0:00:25.379 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.025) 0:00:25.404 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.035) 0:00:25.439 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.376) 0:00:25.816 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.036) 0:00:25.852 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.047) 0:00:25.899 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:34 +0000 (0:00:00.020) 0:00:25.920 ****** 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, c9fe22da-dc68-4472-be75-642624a8d26f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.338) 0:00:26.259 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.023) 0:00:26.283 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9fe22da-dc68-4472-be75-642624a8d26f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.022) 0:00:26.305 ****** 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, c9fe22da-dc68-4472-be75-642624a8d26f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9fe22da-dc68-4472-be75-642624a8d26f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.023) 0:00:26.329 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.024) 0:00:26.353 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.209) 0:00:26.563 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.037) 0:00:26.600 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.029) 0:00:26.630 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940350.5425456, "block_size": 4096, "blocks": 0, "ctime": 1704940350.5425456, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37326, "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": 1704940350.5425456, "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_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.199) 0:00:26.829 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.021) 0:00:26.850 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.041) 0:00:26.892 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:32:35 +0000 (0:00:00.051) 0:00:26.944 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940350.5961, "block_size": 4096, "blocks": 8, "ctime": 1704940350.5411003, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533380, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704940350.5411003, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.203) 0:00:27.147 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.021) 0:00:27.168 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020961", "end": "2024-01-11 02:32:36.238806", "rc": 0, "start": "2024-01-11 02:32:36.217845" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.222) 0:00:27.391 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.022) 0:00:27.413 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.019) 0:00:27.432 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.019) 0:00:27.452 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.020) 0:00:27.472 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.019) 0:00:27.492 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.023) 0:00:27.516 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.023) 0:00:27.539 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.020) 0:00:27.559 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.028) 0:00:27.588 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.020) 0:00:27.609 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.033) 0:00:27.642 ****** 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.059725", "end": "2024-01-11 02:32:36.750103", "rc": 1, "start": "2024-01-11 02:32:36.690378" } STDOUT: Connection 'statebr' (c9fe22da-dc68-4472-be75-642624a8d26f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.294) 0:00:27.937 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.034) 0:00:27.971 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.021) 0:00:27.993 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.037) 0:00:28.030 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.030) 0:00:28.061 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:32:36 +0000 (0:00:00.029) 0:00:28.090 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003442", "end": "2024-01-11 02:32:37.142596", "rc": 0, "start": "2024-01-11 02:32:37.139154" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.204) 0:00:28.294 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.020) 0:00:28.315 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.021) 0:00:28.336 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.036) 0:00:28.372 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.040) 0:00:28.413 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.064) 0:00:28.477 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.033) 0:00:28.511 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.023) 0:00:28.535 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:37 +0000 (0:00:00.022) 0:00:28.558 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:39 +0000 (0:00:01.623) 0:00:30.181 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:40 +0000 (0:00:01.326) 0:00:31.508 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.022) 0:00:31.530 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.022) 0:00:31.553 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.021) 0:00:31.575 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.050) 0:00:31.625 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.022) 0:00:31.648 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.021) 0:00:31.670 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.034) 0:00:31.705 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:40 +0000 (0:00:00.407) 0:00:32.112 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.035) 0:00:32.148 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.019) 0:00:32.167 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.019) 0:00:32.187 ****** 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, ec38d8ec-aa3a-4059-ad39-781ba3850033 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.398) 0:00:32.585 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.022) 0:00:32.608 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec38d8ec-aa3a-4059-ad39-781ba3850033" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.023) 0:00:32.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, ec38d8ec-aa3a-4059-ad39-781ba3850033\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec38d8ec-aa3a-4059-ad39-781ba3850033" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.023) 0:00:32.654 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.022) 0:00:32.677 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.209) 0:00:32.887 ****** 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, ec38d8ec-aa3a-4059-ad39-781ba3850033\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec38d8ec-aa3a-4059-ad39-781ba3850033" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.025) 0:00:32.912 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.040) 0:00:32.953 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.037) 0:00:32.990 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.065) 0:00:33.055 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.023) 0:00:33.079 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:41 +0000 (0:00:00.023) 0:00:33.102 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:43 +0000 (0:00:01.620) 0:00:34.723 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:44 +0000 (0:00:01.333) 0:00:36.056 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:44 +0000 (0:00:00.028) 0:00:36.084 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:44 +0000 (0:00:00.022) 0:00:36.106 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.022) 0:00:36.129 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.052) 0:00:36.182 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.022) 0:00:36.205 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.023) 0:00:36.228 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.034) 0:00:36.262 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.386) 0:00:36.648 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.036) 0:00:36.684 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.049) 0:00:36.734 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.019) 0:00:36.754 ****** 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, ec38d8ec-aa3a-4059-ad39-781ba3850033 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.338) 0:00:37.092 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:45 +0000 (0:00:00.022) 0:00:37.115 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec38d8ec-aa3a-4059-ad39-781ba3850033 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.021) 0:00:37.137 ****** 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, ec38d8ec-aa3a-4059-ad39-781ba3850033 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ec38d8ec-aa3a-4059-ad39-781ba3850033 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.022) 0:00:37.159 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.022) 0:00:37.182 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.206) 0:00:37.388 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.035) 0:00:37.424 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.039) 0:00:37.463 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.037) 0:00:37.500 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.032) 0:00:37.533 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.021) 0:00:37.554 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:46 +0000 (0:00:00.049) 0:00:37.604 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:48 +0000 (0:00:01.625) 0:00:39.230 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:49 +0000 (0:00:01.331) 0:00:40.561 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.024) 0:00:40.585 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.026) 0:00:40.612 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.023) 0:00:40.636 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.057) 0:00:40.694 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.025) 0:00:40.719 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.026) 0:00:40.745 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:49 +0000 (0:00:00.037) 0:00:40.783 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.378) 0:00:41.161 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.037) 0:00:41.199 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.021) 0:00:41.220 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.018) 0:00:41.239 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.430) 0:00:41.669 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.024) 0:00:41.694 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.023) 0:00:41.717 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.024) 0:00:41.742 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.025) 0:00:41.767 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.212) 0:00:41.979 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.039) 0:00:42.019 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:32:50 +0000 (0:00:00.032) 0:00:42.052 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704940361.3760183, "block_size": 4096, "blocks": 0, "ctime": 1704940361.3760183, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37457, "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": 1704940361.3760183, "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_typenmyk78xg/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.200) 0:00:42.252 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.023) 0:00:42.276 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.033) 0:00:42.309 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.019) 0:00:42.329 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.227) 0:00:42.556 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.019) 0:00:42.576 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020804", "end": "2024-01-11 02:32:51.650129", "rc": 1, "start": "2024-01-11 02:32:51.629325" } 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.225) 0:00:42.801 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.020) 0:00:42.822 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.019) 0:00:42.841 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.019) 0:00:42.861 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.020) 0:00:42.881 ****** 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_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.019) 0:00:42.900 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.021) 0:00:42.922 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.026) 0:00:42.948 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.020) 0:00:42.969 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:32:51 +0000 (0:00:00.036) 0:00:43.005 ****** 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.072252", "end": "2024-01-11 02:32:52.128612", "rc": 1, "start": "2024-01-11 02:32:52.056360" } STDOUT: Connection 'statebr' (ec38d8ec-aa3a-4059-ad39-781ba3850033) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:102 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.273) 0:00:43.279 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.032) 0:00:43.312 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.020) 0:00:43.332 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.067) 0:00:43.400 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.032) 0:00:43.432 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.032) 0:00:43.465 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004020", "end": "2024-01-11 02:32:52.519246", "rc": 0, "start": "2024-01-11 02:32:52.515226" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.205) 0:00:43.671 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.021) 0:00:43.692 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.022) 0:00:43.714 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.037) 0:00:43.752 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.040) 0:00:43.793 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.037) 0:00:43.831 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.034) 0:00:43.865 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.022) 0:00:43.887 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:52 +0000 (0:00:00.050) 0:00:43.938 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:54 +0000 (0:00:01.627) 0:00:45.566 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:32:55 +0000 (0:00:01.336) 0:00:46.902 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.023) 0:00:46.925 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.025) 0:00:46.951 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.025) 0:00:46.976 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.054) 0:00:47.031 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.024) 0:00:47.056 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.022) 0:00:47.079 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:32:55 +0000 (0:00:00.034) 0:00:47.114 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.382) 0:00:47.496 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.037) 0:00:47.533 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.019) 0:00:47.553 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.018) 0:00:47.571 ****** 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, 4fc0ef0e-e261-4853-9d85-b47be271546a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.465) 0:00:48.036 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.024) 0:00:48.061 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fc0ef0e-e261-4853-9d85-b47be271546a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.022) 0:00:48.083 ****** 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, 4fc0ef0e-e261-4853-9d85-b47be271546a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fc0ef0e-e261-4853-9d85-b47be271546a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:32:56 +0000 (0:00:00.024) 0:00:48.107 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.023) 0:00:48.131 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.212) 0:00:48.343 ****** 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, 4fc0ef0e-e261-4853-9d85-b47be271546a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fc0ef0e-e261-4853-9d85-b47be271546a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.023) 0:00:48.367 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.040) 0:00:48.408 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.039) 0:00:48.448 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.036) 0:00:48.484 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.025) 0:00:48.509 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:32:57 +0000 (0:00:00.027) 0:00:48.536 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:32:59 +0000 (0:00:01.678) 0:00:50.214 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:00 +0000 (0:00:01.335) 0:00:51.550 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.023) 0:00:51.574 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.021) 0:00:51.595 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.023) 0:00:51.618 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.052) 0:00:51.671 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.024) 0:00:51.696 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.022) 0:00:51.719 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:00 +0000 (0:00:00.034) 0:00:51.753 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.393) 0:00:52.147 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.035) 0:00:52.183 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.021) 0:00:52.204 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.020) 0:00:52.224 ****** 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, 4fc0ef0e-e261-4853-9d85-b47be271546a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.376) 0:00:52.601 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.022) 0:00:52.623 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4fc0ef0e-e261-4853-9d85-b47be271546a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.058) 0:00:52.681 ****** 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, 4fc0ef0e-e261-4853-9d85-b47be271546a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4fc0ef0e-e261-4853-9d85-b47be271546a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.024) 0:00:52.706 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.022) 0:00:52.729 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.216) 0:00:52.945 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.039) 0:00:52.985 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.039) 0:00:53.024 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.033) 0:00:53.058 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.023) 0:00:53.081 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:33:01 +0000 (0:00:00.023) 0:00:53.105 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:33:03 +0000 (0:00:01.663) 0:00:54.769 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:05 +0000 (0:00:01.417) 0:00:56.186 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.026) 0:00:56.212 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.028) 0:00:56.241 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.024) 0:00:56.265 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.052) 0:00:56.317 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.024) 0:00:56.342 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.022) 0:00:56.365 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.033) 0:00:56.399 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.382) 0:00:56.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.034) 0:00:56.816 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.021) 0:00:56.837 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:05 +0000 (0:00:00.020) 0:00:56.858 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.368) 0:00:57.226 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.024) 0:00:57.250 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.023) 0:00:57.274 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.029) 0:00:57.303 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.024) 0:00:57.328 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.257) 0:00:57.585 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.039) 0:00:57.625 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.041) 0:00:57.666 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.047) 0:00:57.714 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.036) 0:00:57.751 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.024) 0:00:57.775 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:33:06 +0000 (0:00:00.024) 0:00:57.800 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:33:08 +0000 (0:00:01.673) 0:00:59.473 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:09 +0000 (0:00:01.371) 0:01:00.845 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.057) 0:01:00.902 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.024) 0:01:00.926 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.022) 0:01:00.949 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.053) 0:01:01.002 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.023) 0:01:01.025 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.025) 0:01:01.051 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:09 +0000 (0:00:00.034) 0:01:01.085 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.381) 0:01:01.467 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.035) 0:01:01.503 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.020) 0:01:01.523 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.019) 0:01:01.543 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.408) 0:01:01.951 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.024) 0:01:01.976 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.023) 0:01:01.999 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.024) 0:01:02.023 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:10 +0000 (0:00:00.024) 0:01:02.048 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.241) 0:01:02.290 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.038) 0:01:02.328 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.034) 0:01:02.362 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.021) 0:01:02.383 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.202) 0:01:02.586 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.019) 0:01:02.606 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019945", "end": "2024-01-11 02:33:11.675771", "rc": 1, "start": "2024-01-11 02:33:11.655826" } 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.220) 0:01:02.827 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.019) 0:01:02.846 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.019) 0:01:02.866 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.019) 0:01:02.885 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.019) 0:01:02.905 ****** 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_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.019) 0:01:02.924 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.022) 0:01:02.947 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.085) 0:01:03.033 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:33:11 +0000 (0:00:00.031) 0:01:03.065 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.201) 0:01:03.267 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.022) 0:01:03.289 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.021) 0:01:03.311 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.036) 0:01:03.347 ****** 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.040649", "end": "2024-01-11 02:33:12.436283", "rc": 1, "start": "2024-01-11 02:33:12.395634" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tests_states.yml:124 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.241) 0:01:03.588 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.032) 0:01:03.621 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.021) 0:01:03.643 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.039) 0:01:03.682 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.031) 0:01:03.714 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.032) 0:01:03.746 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003455", "end": "2024-01-11 02:33:12.800473", "rc": 0, "start": "2024-01-11 02:33:12.797018" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.240) 0:01:03.987 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.022) 0:01:04.010 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.021) 0:01:04.031 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.040) 0:01:04.071 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:33:12 +0000 (0:00:00.041) 0:01:04.113 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:33:13 +0000 (0:00:00.039) 0:01:04.153 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:33:13 +0000 (0:00:00.033) 0:01:04.186 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:33:13 +0000 (0:00:00.022) 0:01:04.209 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:33:13 +0000 (0:00:00.022) 0:01:04.231 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:33:14 +0000 (0:00:01.632) 0:01:05.864 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:16 +0000 (0:00:01.416) 0:01:07.280 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.024) 0:01:07.304 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.023) 0:01:07.328 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.024) 0:01:07.352 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.057) 0:01:07.409 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.022) 0:01:07.432 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.023) 0:01:07.456 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.034) 0:01:07.491 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.378) 0:01:07.869 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.036) 0:01:07.905 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.019) 0:01:07.925 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:16 +0000 (0:00:00.018) 0:01:07.943 ****** 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, cc7b2b43-1062-4f5c-a973-a06661c86776 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.387) 0:01:08.331 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.024) 0:01:08.355 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc7b2b43-1062-4f5c-a973-a06661c86776" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.022) 0:01:08.378 ****** 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, cc7b2b43-1062-4f5c-a973-a06661c86776\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc7b2b43-1062-4f5c-a973-a06661c86776" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.023) 0:01:08.402 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.022) 0:01:08.424 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.257) 0:01:08.681 ****** 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, cc7b2b43-1062-4f5c-a973-a06661c86776\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc7b2b43-1062-4f5c-a973-a06661c86776" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.024) 0:01:08.706 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.041) 0:01:08.747 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.038) 0:01:08.786 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.034) 0:01:08.820 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.023) 0:01:08.844 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:33:17 +0000 (0:00:00.022) 0:01:08.867 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:33:19 +0000 (0:00:01.620) 0:01:10.488 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:20 +0000 (0:00:01.336) 0:01:11.824 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.022) 0:01:11.847 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.060) 0:01:11.907 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.024) 0:01:11.931 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.055) 0:01:11.987 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.024) 0:01:12.011 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.023) 0:01:12.034 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:20 +0000 (0:00:00.037) 0:01:12.072 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.380) 0:01:12.452 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.034) 0:01:12.487 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.019) 0:01:12.506 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.020) 0:01:12.527 ****** 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, cc7b2b43-1062-4f5c-a973-a06661c86776 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.339) 0:01:12.866 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.025) 0:01:12.892 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cc7b2b43-1062-4f5c-a973-a06661c86776 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.030) 0:01:12.922 ****** 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, cc7b2b43-1062-4f5c-a973-a06661c86776 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cc7b2b43-1062-4f5c-a973-a06661c86776 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.024) 0:01:12.947 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:21 +0000 (0:00:00.025) 0:01:12.973 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:33:22 +0000 (0:00:00.208) 0:01:13.182 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:33:22 +0000 (0:00:00.081) 0:01:13.263 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:33:22 +0000 (0:00:00.038) 0:01:13.301 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:33:22 +0000 (0:00:00.034) 0:01:13.335 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:33:22 +0000 (0:00:00.024) 0:01:13.359 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:33:22 +0000 (0:00:00.024) 0:01:13.384 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:33:23 +0000 (0:00:01.606) 0:01:14.991 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:25 +0000 (0:00:01.329) 0:01:16.320 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.022) 0:01:16.342 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.023) 0:01:16.366 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.024) 0:01:16.390 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.053) 0:01:16.444 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.057) 0:01:16.501 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.022) 0:01:16.524 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.035) 0:01:16.560 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.378) 0:01:16.938 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.034) 0:01:16.973 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.019) 0:01:16.992 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:25 +0000 (0:00:00.019) 0:01:17.012 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.397) 0:01:17.409 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.024) 0:01:17.434 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.022) 0:01:17.457 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.022) 0:01:17.479 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.025) 0:01:17.504 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.207) 0:01:17.711 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.034) 0:01:17.745 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.070) 0:01:17.816 ****** included: /WORKDIR/git-route_typenmyk78xg/.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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.038) 0:01:17.855 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.033) 0:01:17.889 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.026) 0:01:17.915 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:33:26 +0000 (0:00:00.024) 0:01:17.939 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:33:28 +0000 (0:00:01.608) 0:01:19.548 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:33:29 +0000 (0:00:01.327) 0:01:20.876 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:33:29 +0000 (0:00:00.023) 0:01:20.899 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:33:29 +0000 (0:00:00.023) 0:01:20.923 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:33:29 +0000 (0:00:00.026) 0:01:20.949 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:33:29 +0000 (0:00:00.055) 0:01:21.004 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:33:29 +0000 (0:00:00.025) 0:01:21.030 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:33:29 +0000 (0:00:00.067) 0:01:21.098 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.035) 0:01:21.133 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.389) 0:01:21.522 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.037) 0:01:21.560 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.022) 0:01:21.583 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.020) 0:01:21.603 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.351) 0:01:21.955 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.022) 0:01:21.977 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.022) 0:01:22.000 ****** 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_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.022) 0:01:22.022 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:33:30 +0000 (0:00:00.022) 0:01:22.044 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.207) 0:01:22.252 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.039) 0:01:22.291 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.074) 0:01:22.366 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.021) 0:01:22.387 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.199) 0:01:22.587 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.018) 0:01:22.605 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019553", "end": "2024-01-11 02:33:31.673376", "rc": 1, "start": "2024-01-11 02:33:31.653823" } 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.219) 0:01:22.825 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.020) 0:01:22.845 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.019) 0:01:22.864 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.019) 0:01:22.884 ****** 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_typenmyk78xg/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.020) 0:01:22.904 ****** 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_typenmyk78xg/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.019) 0:01:22.923 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:33:31 +0000 (0:00:00.022) 0:01:22.945 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.942312", "end": "2024-01-11 02:33:32.935685", "rc": 0, "start": "2024-01-11 02:33:31.993373" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:33:32 +0000 (0:00:01.142) 0:01:24.088 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:33:32 +0000 (0:00:00.020) 0:01:24.109 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.021) 0:01:24.130 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.045) 0:01:24.176 ****** included: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.063) 0:01:24.239 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenmyk78xg/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.198) 0:01:24.438 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.026) 0:01:24.464 ****** 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_typenmyk78xg/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.022) 0:01:24.487 ****** included: /WORKDIR/git-route_typenmyk78xg/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_typenmyk78xg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.039) 0:01:24.526 ****** 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.038698", "end": "2024-01-11 02:33:33.615084", "rc": 1, "start": "2024-01-11 02:33:33.576386" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Thursday 11 January 2024 02:33:33 +0000 (0:00:00.271) 0:01:24.798 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /WORKDIR/git-route_typenmyk78xg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-route_typenmyk78xg/.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. ---^---^---^---^---^---