# 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-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tests_states_nm.yml:5 Friday 22 December 2023 00:11:34 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tests_states_nm.yml:9 Friday 22 December 2023 00:11:35 +0000 (0:00:00.874) 0:00:00.885 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/tasks/el_repo_setup.yml:3 Friday 22 December 2023 00:11:35 +0000 (0:00:00.011) 0:00:00.897 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tasks/el_repo_setup.yml:17 Friday 22 December 2023 00:11:36 +0000 (0:00:00.369) 0:00:01.266 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tasks/el_repo_setup.yml:22 Friday 22 December 2023 00:11:36 +0000 (0:00:00.265) 0:00:01.532 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tasks/el_repo_setup.yml:26 Friday 22 December 2023 00:11:36 +0000 (0:00:00.015) 0:00:01.547 ******* 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-wifi_fixhfsgh03i/tests/tasks/el_repo_setup.yml:51 Friday 22 December 2023 00:11:36 +0000 (0:00:00.010) 0:00:01.557 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tasks/enable_epel.yml:8 Friday 22 December 2023 00:11:36 +0000 (0:00:00.022) 0:00:01.580 ******* 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-wifi_fixhfsgh03i/tests/tasks/enable_epel.yml:24 Friday 22 December 2023 00:11:36 +0000 (0:00:00.257) 0:00:01.837 ******* 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-wifi_fixhfsgh03i/tests/tasks/enable_epel.yml:30 Friday 22 December 2023 00:11:36 +0000 (0:00:00.009) 0:00:01.847 ******* 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-wifi_fixhfsgh03i/tests/tasks/enable_epel.yml:35 Friday 22 December 2023 00:11:36 +0000 (0:00:00.008) 0:00:01.856 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.253953", "end": "2023-12-22 00:11:37.223229", "rc": 0, "start": "2023-12-22 00:11:36.969276" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/tasks/enable_epel.yml:40 Friday 22 December 2023 00:11:37 +0000 (0:00:00.446) 0:00:02.302 ******* 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-wifi_fixhfsgh03i/tests/tests_states_nm.yml:11 Friday 22 December 2023 00:11:37 +0000 (0:00:00.007) 0:00:02.310 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:3 Friday 22 December 2023 00:11:37 +0000 (0:00:00.014) 0:00:02.324 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:11 Friday 22 December 2023 00:11:37 +0000 (0:00:00.710) 0:00:03.035 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:22 Friday 22 December 2023 00:11:37 +0000 (0:00:00.010) 0:00:03.046 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:11:37 +0000 (0:00:00.013) 0:00:03.059 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:11:38 +0000 (0:00:00.009) 0:00:03.068 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:11:38 +0000 (0:00:00.026) 0:00:03.095 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.011) 0:00:03.107 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.010) 0:00:03.117 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2023-12-22 00:11:38.235025", "rc": 0, "start": "2023-12-22 00:11:38.231361" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:11:38 +0000 (0:00:00.195) 0:00:03.313 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:11:38 +0000 (0:00:00.010) 0:00:03.323 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:11:38 +0000 (0:00:00.009) 0:00:03.333 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.016) 0:00:03.349 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008454", "end": "2023-12-22 00:11:38.471251", "rc": 1, "start": "2023-12-22 00:11:38.462797" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.200) 0:00:03.550 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.011) 0:00:03.561 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:11:38 +0000 (0:00:00.192) 0:00:03.753 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:11:38 +0000 (0:00:00.010) 0:00:03.764 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.015) 0:00:03.779 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:11:38 +0000 (0:00:00.022) 0:00:03.802 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:11:38 +0000 (0:00:00.018) 0:00:03.820 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:11:38 +0000 (0:00:00.018) 0:00:03.839 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:11:38 +0000 (0:00:00.011) 0:00:03.851 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:11:38 +0000 (0:00:00.011) 0:00:03.862 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:11:40 +0000 (0:00:01.815) 0:00:05.677 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:11:42 +0000 (0:00:01.487) 0:00:07.164 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:11:42 +0000 (0:00:00.021) 0:00:07.185 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:11:42 +0000 (0:00:00.020) 0:00:07.206 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:11:42 +0000 (0:00:00.020) 0:00:07.227 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:11:42 +0000 (0:00:00.051) 0:00:07.278 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:11:42 +0000 (0:00:00.021) 0:00:07.300 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:11:42 +0000 (0:00:00.020) 0:00:07.321 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:11:42 +0000 (0:00:00.031) 0:00:07.353 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:11:42 +0000 (0:00:00.570) 0:00:07.924 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:11:42 +0000 (0:00:00.033) 0:00:07.957 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:11:42 +0000 (0:00:00.017) 0:00:07.975 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:11:42 +0000 (0:00:00.017) 0:00:07.993 ******* 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, f2f5d3d0-781d-4615-a389-bb891b25e617 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:11:43 +0000 (0:00:00.505) 0:00:08.499 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:11:43 +0000 (0:00:00.026) 0:00:08.526 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2f5d3d0-781d-4615-a389-bb891b25e617" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:11:43 +0000 (0:00:00.022) 0:00:08.548 ******* 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, f2f5d3d0-781d-4615-a389-bb891b25e617\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2f5d3d0-781d-4615-a389-bb891b25e617" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:11:43 +0000 (0:00:00.021) 0:00:08.570 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:11:43 +0000 (0:00:00.020) 0:00:08.591 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:11:43 +0000 (0:00:00.298) 0:00:08.889 ******* 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, f2f5d3d0-781d-4615-a389-bb891b25e617\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2f5d3d0-781d-4615-a389-bb891b25e617" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:11:43 +0000 (0:00:00.020) 0:00:08.909 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:11:43 +0000 (0:00:00.033) 0:00:08.943 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:11:43 +0000 (0:00:00.033) 0:00:08.976 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:11:43 +0000 (0:00:00.044) 0:00:09.020 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203903.42466, "block_size": 4096, "blocks": 8, "ctime": 1703203903.3606606, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703203903.3606606, "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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:11:44 +0000 (0:00:00.214) 0:00:09.235 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:11:44 +0000 (0:00:00.020) 0:00:09.255 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021769", "end": "2023-12-22 00:11:44.392405", "rc": 0, "start": "2023-12-22 00:11:44.370636" } 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:11:44 +0000 (0:00:00.226) 0:00:09.481 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:11:44 +0000 (0:00:00.021) 0:00:09.503 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:11:44 +0000 (0:00:00.018) 0:00:09.521 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:11:44 +0000 (0:00:00.018) 0:00:09.540 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:11:44 +0000 (0:00:00.018) 0:00:09.558 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:11:44 +0000 (0:00:00.018) 0:00:09.577 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:11:44 +0000 (0:00:00.021) 0:00:09.598 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:11:44 +0000 (0:00:00.020) 0:00:09.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:11:44 +0000 (0:00:00.020) 0:00:09.640 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:11:44 +0000 (0:00:00.043) 0:00:09.684 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:11:44 +0000 (0:00:00.028) 0:00:09.712 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203903.3623705, "block_size": 4096, "blocks": 0, "ctime": 1703203903.3623705, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36479, "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": 1703203903.3623705, "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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:11:44 +0000 (0:00:00.207) 0:00:09.920 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:11:44 +0000 (0:00:00.042) 0:00:09.963 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:11:44 +0000 (0:00:00.021) 0:00:09.985 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:11:44 +0000 (0:00:00.034) 0:00:10.019 ******* 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.067213", "end": "2023-12-22 00:11:45.202075", "rc": 1, "start": "2023-12-22 00:11:45.134862" } STDOUT: Connection 'statebr' (f2f5d3d0-781d-4615-a389-bb891b25e617) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:45 Friday 22 December 2023 00:11:45 +0000 (0:00:00.270) 0:00:10.290 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:11:45 +0000 (0:00:00.031) 0:00:10.321 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:11:45 +0000 (0:00:00.020) 0:00:10.342 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:11:45 +0000 (0:00:00.036) 0:00:10.379 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:11:45 +0000 (0:00:00.030) 0:00:10.409 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:11:45 +0000 (0:00:00.028) 0:00:10.437 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003530", "end": "2023-12-22 00:11:45.553775", "rc": 0, "start": "2023-12-22 00:11:45.550245" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:11:45 +0000 (0:00:00.205) 0:00:10.643 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:11:45 +0000 (0:00:00.019) 0:00:10.662 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:11:45 +0000 (0:00:00.019) 0:00:10.682 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:11:45 +0000 (0:00:00.056) 0:00:10.739 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006726", "end": "2023-12-22 00:11:45.859889", "rc": 1, "start": "2023-12-22 00:11:45.853163" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:11:45 +0000 (0:00:00.209) 0:00:10.948 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:11:45 +0000 (0:00:00.030) 0:00:10.978 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:11:46 +0000 (0:00:00.210) 0:00:11.188 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:11:46 +0000 (0:00:00.020) 0:00:11.209 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 22 December 2023 00:11:46 +0000 (0:00:00.032) 0:00:11.242 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:11:46 +0000 (0:00:00.038) 0:00:11.280 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:11:46 +0000 (0:00:00.035) 0:00:11.316 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:11:46 +0000 (0:00:00.032) 0:00:11.348 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:11:46 +0000 (0:00:00.021) 0:00:11.369 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:11:46 +0000 (0:00:00.020) 0:00:11.390 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:11:48 +0000 (0:00:01.801) 0:00:13.191 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:11:49 +0000 (0:00:01.344) 0:00:14.536 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:11:49 +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 : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:11:49 +0000 (0:00:00.022) 0:00:14.581 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:11:49 +0000 (0:00:00.021) 0:00:14.602 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:11:49 +0000 (0:00:00.051) 0:00:14.654 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:11:49 +0000 (0:00:00.022) 0:00:14.677 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:11:49 +0000 (0:00:00.022) 0:00:14.700 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:11:49 +0000 (0:00:00.034) 0:00:14.735 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:11:50 +0000 (0:00:00.384) 0:00:15.120 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:11:50 +0000 (0:00:00.033) 0:00:15.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:11:50 +0000 (0:00:00.018) 0:00:15.172 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:11:50 +0000 (0:00:00.018) 0:00:15.191 ******* 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, 73f087d1-320d-491d-b44a-bc6131cfd3b4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:11:50 +0000 (0:00:00.386) 0:00:15.577 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:11:50 +0000 (0:00:00.053) 0:00:15.631 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 73f087d1-320d-491d-b44a-bc6131cfd3b4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:11:50 +0000 (0:00:00.023) 0:00:15.655 ******* 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, 73f087d1-320d-491d-b44a-bc6131cfd3b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 73f087d1-320d-491d-b44a-bc6131cfd3b4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:11:50 +0000 (0:00:00.023) 0:00:15.679 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:11:50 +0000 (0:00:00.025) 0:00:15.705 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 22 December 2023 00:11:50 +0000 (0:00:00.222) 0:00:15.927 ******* 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, 73f087d1-320d-491d-b44a-bc6131cfd3b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 73f087d1-320d-491d-b44a-bc6131cfd3b4" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:11:50 +0000 (0:00:00.021) 0:00:15.949 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:11:50 +0000 (0:00:00.035) 0:00:15.984 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:11:50 +0000 (0:00:00.029) 0:00:16.014 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:11:51 +0000 (0:00:00.205) 0:00:16.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:11:51 +0000 (0:00:00.020) 0:00:16.241 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:11:51 +0000 (0:00:00.031) 0:00:16.272 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:11:51 +0000 (0:00:00.019) 0:00:16.292 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203910.473615, "block_size": 4096, "blocks": 8, "ctime": 1703203910.473615, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703203910.473615, "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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:11:51 +0000 (0:00:00.201) 0:00:16.493 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:11:51 +0000 (0:00:00.047) 0:00:16.540 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021341", "end": "2023-12-22 00:11:51.676819", "rc": 0, "start": "2023-12-22 00:11:51.655478" } 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:11:51 +0000 (0:00:00.226) 0:00:16.766 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:11:51 +0000 (0:00:00.021) 0:00:16.788 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:11:51 +0000 (0:00:00.022) 0:00:16.811 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:11:51 +0000 (0:00:00.021) 0:00:16.832 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:11:51 +0000 (0:00:00.020) 0:00:16.852 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:11:51 +0000 (0:00:00.023) 0:00:16.876 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:11:51 +0000 (0:00:00.024) 0:00:16.900 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:11:51 +0000 (0:00:00.022) 0:00:16.923 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:11:51 +0000 (0:00:00.024) 0:00:16.947 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:11:51 +0000 (0:00:00.027) 0:00:16.975 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:11:51 +0000 (0:00:00.021) 0:00:16.996 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:11:51 +0000 (0:00:00.037) 0:00:17.034 ******* 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.041493", "end": "2023-12-22 00:11:52.190927", "rc": 1, "start": "2023-12-22 00:11:52.149434" } STDOUT: Connection 'statebr' (73f087d1-320d-491d-b44a-bc6131cfd3b4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:65 Friday 22 December 2023 00:11:52 +0000 (0:00:00.246) 0:00:17.280 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:11:52 +0000 (0:00:00.064) 0:00:17.345 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:11:52 +0000 (0:00:00.023) 0:00:17.369 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:11:52 +0000 (0:00:00.042) 0:00:17.411 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:11:52 +0000 (0:00:00.032) 0:00:17.443 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:11:52 +0000 (0:00:00.032) 0:00:17.476 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003592", "end": "2023-12-22 00:11:52.595756", "rc": 0, "start": "2023-12-22 00:11:52.592164" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:11:52 +0000 (0:00:00.208) 0:00:17.684 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:11:52 +0000 (0:00:00.021) 0:00:17.706 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:11:52 +0000 (0:00:00.020) 0:00:17.727 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:11:52 +0000 (0:00:00.033) 0:00:17.760 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:11:52 +0000 (0:00:00.039) 0:00:17.799 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:11:52 +0000 (0:00:00.035) 0:00:17.835 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:11:52 +0000 (0:00:00.055) 0:00:17.891 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:11:52 +0000 (0:00:00.022) 0:00:17.914 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:11:52 +0000 (0:00:00.022) 0:00:17.936 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:11:54 +0000 (0:00:01.670) 0:00:19.607 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:11:55 +0000 (0:00:01.348) 0:00:20.955 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:11:55 +0000 (0:00:00.022) 0:00:20.978 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:11:55 +0000 (0:00:00.023) 0:00:21.001 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:11:55 +0000 (0:00:00.024) 0:00:21.026 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:11:56 +0000 (0:00:00.055) 0:00:21.082 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:11:56 +0000 (0:00:00.026) 0:00:21.108 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:11:56 +0000 (0:00:00.022) 0:00:21.131 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:11:56 +0000 (0:00:00.036) 0:00:21.167 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:11:56 +0000 (0:00:00.386) 0:00:21.553 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:11:56 +0000 (0:00:00.035) 0:00:21.589 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:11:56 +0000 (0:00:00.046) 0:00:21.636 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:11:56 +0000 (0:00:00.020) 0:00:21.656 ******* 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, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:11:57 +0000 (0:00:00.410) 0:00:22.067 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:11:57 +0000 (0:00:00.023) 0:00:22.090 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:11:57 +0000 (0:00:00.021) 0:00:22.112 ******* 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, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:11:57 +0000 (0:00:00.022) 0:00:22.135 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:11:57 +0000 (0:00:00.022) 0:00:22.157 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:11:57 +0000 (0:00:00.213) 0:00:22.371 ******* 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, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:11:57 +0000 (0:00:00.022) 0:00:22.394 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:11:57 +0000 (0:00:00.033) 0:00:22.428 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:11:57 +0000 (0:00:00.039) 0:00:22.467 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:11:57 +0000 (0:00:00.037) 0:00:22.504 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:11:57 +0000 (0:00:00.063) 0:00:22.567 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:11:57 +0000 (0:00:00.023) 0:00:22.590 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:11:57 +0000 (0:00:00.024) 0:00:22.615 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:11:59 +0000 (0:00:01.689) 0:00:24.305 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:00 +0000 (0:00:01.353) 0:00:25.659 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:00 +0000 (0:00:00.033) 0:00:25.692 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:00 +0000 (0:00:00.036) 0:00:25.728 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:00 +0000 (0:00:00.042) 0:00:25.770 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:00 +0000 (0:00:00.063) 0:00:25.834 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:00 +0000 (0:00:00.030) 0:00:25.864 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:00 +0000 (0:00:00.026) 0:00:25.890 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:00 +0000 (0:00:00.036) 0:00:25.926 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:01 +0000 (0:00:00.403) 0:00:26.330 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:01 +0000 (0:00:00.039) 0:00:26.369 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:01 +0000 (0:00:00.048) 0:00:26.418 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:01 +0000 (0:00:00.019) 0:00:26.438 ******* 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, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:01 +0000 (0:00:00.350) 0:00:26.788 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:01 +0000 (0:00:00.023) 0:00:26.812 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:01 +0000 (0:00:00.022) 0:00:26.835 ******* 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, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1b3a4949-7067-4d2e-ab2e-1fa737e8d390 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:01 +0000 (0:00:00.025) 0:00:26.860 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:01 +0000 (0:00:00.024) 0:00:26.885 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:12:02 +0000 (0:00:00.212) 0:00:27.097 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:12:02 +0000 (0:00:00.039) 0:00:27.137 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:12:02 +0000 (0:00:00.030) 0:00:27.168 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203916.9195848, "block_size": 4096, "blocks": 0, "ctime": 1703203916.9195848, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36610, "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": 1703203916.9195848, "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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:12:02 +0000 (0:00:00.203) 0:00:27.371 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:12:02 +0000 (0:00:00.021) 0:00:27.393 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:12:02 +0000 (0:00:00.031) 0:00:27.424 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:12:02 +0000 (0:00:00.044) 0:00:27.469 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203916.9675736, "block_size": 4096, "blocks": 8, "ctime": 1703203916.917574, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703203916.917574, "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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:12:02 +0000 (0:00:00.203) 0:00:27.673 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:12:02 +0000 (0:00:00.020) 0:00:27.693 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021041", "end": "2023-12-22 00:12:02.826650", "rc": 0, "start": "2023-12-22 00:12:02.805609" } 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:12:02 +0000 (0:00:00.224) 0:00:27.918 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:12:02 +0000 (0:00:00.022) 0:00:27.940 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:12:02 +0000 (0:00:00.020) 0:00:27.960 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:12:02 +0000 (0:00:00.020) 0:00:27.980 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:12:02 +0000 (0:00:00.020) 0:00:28.001 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:12:02 +0000 (0:00:00.019) 0:00:28.020 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:12:02 +0000 (0:00:00.023) 0:00:28.044 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:12:03 +0000 (0:00:00.022) 0:00:28.066 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:12:03 +0000 (0:00:00.021) 0:00:28.088 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:12:03 +0000 (0:00:00.027) 0:00:28.116 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:12:03 +0000 (0:00:00.020) 0:00:28.137 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:12:03 +0000 (0:00:00.034) 0:00:28.171 ******* 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.063087", "end": "2023-12-22 00:12:03.351255", "rc": 1, "start": "2023-12-22 00:12:03.288168" } STDOUT: Connection 'statebr' (1b3a4949-7067-4d2e-ab2e-1fa737e8d390) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:83 Friday 22 December 2023 00:12:03 +0000 (0:00:00.297) 0:00:28.469 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:12:03 +0000 (0:00:00.031) 0:00:28.501 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:12:03 +0000 (0:00:00.020) 0:00:28.521 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:12:03 +0000 (0:00:00.037) 0:00:28.559 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:12:03 +0000 (0:00:00.030) 0:00:28.590 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:12:03 +0000 (0:00:00.030) 0:00:28.620 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004057", "end": "2023-12-22 00:12:03.740045", "rc": 0, "start": "2023-12-22 00:12:03.735988" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:12:03 +0000 (0:00:00.209) 0:00:28.829 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:12:03 +0000 (0:00:00.020) 0:00:28.850 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:12:03 +0000 (0:00:00.020) 0:00:28.870 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:12:03 +0000 (0:00:00.033) 0:00:28.904 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:03 +0000 (0:00:00.038) 0:00:28.943 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:03 +0000 (0:00:00.067) 0:00:29.011 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:03 +0000 (0:00:00.035) 0:00:29.046 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:04 +0000 (0:00:00.024) 0:00:29.071 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:04 +0000 (0:00:00.022) 0:00:29.093 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:05 +0000 (0:00:01.695) 0:00:30.789 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:07 +0000 (0:00:01.350) 0:00:32.140 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:07 +0000 (0:00:00.024) 0:00:32.164 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:07 +0000 (0:00:00.032) 0:00:32.196 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:07 +0000 (0:00:00.024) 0:00:32.221 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:07 +0000 (0:00:00.053) 0:00:32.274 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:07 +0000 (0:00:00.023) 0:00:32.298 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:07 +0000 (0:00:00.022) 0:00:32.321 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:07 +0000 (0:00:00.035) 0:00:32.356 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:07 +0000 (0:00:00.424) 0:00:32.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:07 +0000 (0:00:00.035) 0:00:32.817 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:07 +0000 (0:00:00.020) 0:00:32.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:07 +0000 (0:00:00.019) 0:00:32.856 ******* 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, 784807ac-6bae-44ca-b619-d827bee06a80 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:08 +0000 (0:00:00.395) 0:00:33.252 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:08 +0000 (0:00:00.023) 0:00:33.275 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 784807ac-6bae-44ca-b619-d827bee06a80" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:08 +0000 (0:00:00.023) 0:00:33.299 ******* 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, 784807ac-6bae-44ca-b619-d827bee06a80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 784807ac-6bae-44ca-b619-d827bee06a80" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:08 +0000 (0:00:00.023) 0:00:33.322 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:08 +0000 (0:00:00.027) 0:00:33.349 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:12:08 +0000 (0:00:00.237) 0:00:33.586 ******* 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, 784807ac-6bae-44ca-b619-d827bee06a80\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 784807ac-6bae-44ca-b619-d827bee06a80" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:12:08 +0000 (0:00:00.029) 0:00:33.616 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:08 +0000 (0:00:00.065) 0:00:33.682 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:08 +0000 (0:00:00.064) 0:00:33.746 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:08 +0000 (0:00:00.064) 0:00:33.811 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:08 +0000 (0:00:00.024) 0:00:33.836 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:08 +0000 (0:00:00.023) 0:00:33.860 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:10 +0000 (0:00:01.735) 0:00:35.595 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:11 +0000 (0:00:01.344) 0:00:36.940 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:11 +0000 (0:00:00.023) 0:00:36.963 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:11 +0000 (0:00:00.022) 0:00:36.986 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:11 +0000 (0:00:00.023) 0:00:37.010 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:12 +0000 (0:00:00.053) 0:00:37.063 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:12 +0000 (0:00:00.022) 0:00:37.086 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:12 +0000 (0:00:00.023) 0:00:37.109 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:12 +0000 (0:00:00.035) 0:00:37.145 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:12 +0000 (0:00:00.388) 0:00:37.533 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:12 +0000 (0:00:00.040) 0:00:37.574 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:12 +0000 (0:00:00.053) 0:00:37.627 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:12 +0000 (0:00:00.019) 0:00:37.647 ******* 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, 784807ac-6bae-44ca-b619-d827bee06a80 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:12 +0000 (0:00:00.354) 0:00:38.002 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:12 +0000 (0:00:00.023) 0:00:38.025 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 784807ac-6bae-44ca-b619-d827bee06a80 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:12 +0000 (0:00:00.021) 0:00:38.046 ******* 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, 784807ac-6bae-44ca-b619-d827bee06a80 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 784807ac-6bae-44ca-b619-d827bee06a80 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:13 +0000 (0:00:00.022) 0:00:38.069 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:13 +0000 (0:00:00.023) 0:00:38.093 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:12:13 +0000 (0:00:00.212) 0:00:38.305 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:12:13 +0000 (0:00:00.036) 0:00:38.341 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:13 +0000 (0:00:00.040) 0:00:38.382 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:13 +0000 (0:00:00.037) 0:00:38.420 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:13 +0000 (0:00:00.038) 0:00:38.458 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:13 +0000 (0:00:00.021) 0:00:38.480 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:13 +0000 (0:00:00.052) 0:00:38.532 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:15 +0000 (0:00:01.735) 0:00:40.268 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:16 +0000 (0:00:01.341) 0:00:41.609 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:16 +0000 (0:00:00.025) 0:00:41.635 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:16 +0000 (0:00:00.024) 0:00:41.660 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:16 +0000 (0:00:00.025) 0:00:41.686 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:16 +0000 (0:00:00.054) 0:00:41.740 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:16 +0000 (0:00:00.023) 0:00:41.764 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:16 +0000 (0:00:00.022) 0:00:41.786 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:16 +0000 (0:00:00.036) 0:00:41.822 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:17 +0000 (0:00:00.387) 0:00:42.209 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:17 +0000 (0:00:00.037) 0:00:42.247 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:17 +0000 (0:00:00.020) 0:00:42.267 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:17 +0000 (0:00:00.018) 0:00:42.285 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:17 +0000 (0:00:00.439) 0:00:42.725 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:17 +0000 (0:00:00.026) 0:00:42.751 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:17 +0000 (0:00:00.027) 0:00:42.778 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:17 +0000 (0:00:00.026) 0:00:42.804 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:17 +0000 (0:00:00.023) 0:00:42.828 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:12:17 +0000 (0:00:00.210) 0:00:43.039 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:12:18 +0000 (0:00:00.037) 0:00:43.077 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:12:18 +0000 (0:00:00.032) 0:00:43.109 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203928.1123657, "block_size": 4096, "blocks": 0, "ctime": 1703203928.1123657, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36741, "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": 1703203928.1123657, "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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:12:18 +0000 (0:00:00.213) 0:00:43.322 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:12:18 +0000 (0:00:00.021) 0:00:43.344 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:12:18 +0000 (0:00:00.032) 0:00:43.376 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:12:18 +0000 (0:00:00.020) 0:00:43.397 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:12:18 +0000 (0:00:00.232) 0:00:43.629 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:12:18 +0000 (0:00:00.019) 0:00:43.648 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020798", "end": "2023-12-22 00:12:18.784697", "rc": 1, "start": "2023-12-22 00:12:18.763899" } 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:12:18 +0000 (0:00:00.225) 0:00:43.874 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:12:18 +0000 (0:00:00.021) 0:00:43.895 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:12:18 +0000 (0:00:00.018) 0:00:43.914 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:12:18 +0000 (0:00:00.019) 0:00:43.933 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:12:18 +0000 (0:00:00.019) 0:00:43.953 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:12:18 +0000 (0:00:00.018) 0:00:43.972 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:12:18 +0000 (0:00:00.021) 0:00:43.994 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:12:18 +0000 (0:00:00.025) 0:00:44.020 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:12:18 +0000 (0:00:00.020) 0:00:44.040 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:12:19 +0000 (0:00:00.035) 0:00:44.075 ******* 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.076732", "end": "2023-12-22 00:12:19.267980", "rc": 1, "start": "2023-12-22 00:12:19.191248" } STDOUT: Connection 'statebr' (784807ac-6bae-44ca-b619-d827bee06a80) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:102 Friday 22 December 2023 00:12:19 +0000 (0:00:00.280) 0:00:44.356 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:12:19 +0000 (0:00:00.032) 0:00:44.388 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:12:19 +0000 (0:00:00.020) 0:00:44.409 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:12:19 +0000 (0:00:00.068) 0:00:44.477 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:12:19 +0000 (0:00:00.032) 0:00:44.510 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:12:19 +0000 (0:00:00.030) 0:00:44.540 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003618", "end": "2023-12-22 00:12:19.658091", "rc": 0, "start": "2023-12-22 00:12:19.654473" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:12:19 +0000 (0:00:00.206) 0:00:44.746 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:12:19 +0000 (0:00:00.021) 0:00:44.768 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:12:19 +0000 (0:00:00.021) 0:00:44.789 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:12:19 +0000 (0:00:00.037) 0:00:44.827 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:19 +0000 (0:00:00.039) 0:00:44.866 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:19 +0000 (0:00:00.036) 0:00:44.902 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:19 +0000 (0:00:00.032) 0:00:44.934 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:19 +0000 (0:00:00.021) 0:00:44.956 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:19 +0000 (0:00:00.052) 0:00:45.009 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:21 +0000 (0:00:01.739) 0:00:46.748 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:23 +0000 (0:00:01.347) 0:00:48.095 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:23 +0000 (0:00:00.023) 0:00:48.119 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:23 +0000 (0:00:00.023) 0:00:48.142 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:23 +0000 (0:00:00.022) 0:00:48.165 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:23 +0000 (0:00:00.054) 0:00:48.219 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:23 +0000 (0:00:00.023) 0:00:48.243 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:23 +0000 (0:00:00.023) 0:00:48.267 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:23 +0000 (0:00:00.039) 0:00:48.307 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:23 +0000 (0:00:00.404) 0:00:48.712 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:23 +0000 (0:00:00.044) 0:00:48.757 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:23 +0000 (0:00:00.024) 0:00:48.781 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:23 +0000 (0:00:00.030) 0:00:48.812 ******* 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, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:24 +0000 (0:00:00.488) 0:00:49.300 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:24 +0000 (0:00:00.024) 0:00:49.324 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:24 +0000 (0:00:00.023) 0:00:49.348 ******* 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, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:24 +0000 (0:00:00.023) 0:00:49.372 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:24 +0000 (0:00:00.030) 0:00:49.403 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:12:24 +0000 (0:00:00.224) 0:00:49.627 ******* 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, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:12:24 +0000 (0:00:00.023) 0:00:49.651 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:24 +0000 (0:00:00.040) 0:00:49.692 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:24 +0000 (0:00:00.038) 0:00:49.731 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:24 +0000 (0:00:00.039) 0:00:49.770 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:24 +0000 (0:00:00.023) 0:00:49.794 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:24 +0000 (0:00:00.022) 0:00:49.816 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:26 +0000 (0:00:01.779) 0:00:51.596 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:27 +0000 (0:00:01.343) 0:00:52.940 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:27 +0000 (0:00:00.023) 0:00:52.963 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:27 +0000 (0:00:00.021) 0:00:52.984 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:27 +0000 (0:00:00.022) 0:00:53.007 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:27 +0000 (0:00:00.051) 0:00:53.058 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:28 +0000 (0:00:00.025) 0:00:53.084 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:28 +0000 (0:00:00.024) 0:00:53.108 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:28 +0000 (0:00:00.034) 0:00:53.143 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:28 +0000 (0:00:00.385) 0:00:53.528 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:28 +0000 (0:00:00.036) 0:00:53.565 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:28 +0000 (0:00:00.020) 0:00:53.585 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:28 +0000 (0:00:00.020) 0:00:53.605 ******* 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, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:28 +0000 (0:00:00.396) 0:00:54.001 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:28 +0000 (0:00:00.023) 0:00:54.024 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:29 +0000 (0:00:00.060) 0:00:54.085 ******* 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, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b530e1c0-dc15-43ba-b5f7-c7040f5ebe0e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:29 +0000 (0:00:00.025) 0:00:54.110 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:29 +0000 (0:00:00.024) 0:00:54.135 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:12:29 +0000 (0:00:00.213) 0:00:54.348 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:29 +0000 (0:00:00.040) 0:00:54.389 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:29 +0000 (0:00:00.038) 0:00:54.427 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:29 +0000 (0:00:00.037) 0:00:54.465 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:29 +0000 (0:00:00.024) 0:00:54.489 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:29 +0000 (0:00:00.025) 0:00:54.514 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:31 +0000 (0:00:01.701) 0:00:56.216 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:32 +0000 (0:00:01.412) 0:00:57.629 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:32 +0000 (0:00:00.023) 0:00:57.652 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:32 +0000 (0:00:00.022) 0:00:57.674 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:32 +0000 (0:00:00.022) 0:00:57.696 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:32 +0000 (0:00:00.051) 0:00:57.747 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:32 +0000 (0:00:00.025) 0:00:57.773 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:32 +0000 (0:00:00.024) 0:00:57.797 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:32 +0000 (0:00:00.034) 0:00:57.832 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:33 +0000 (0:00:00.386) 0:00:58.218 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:33 +0000 (0:00:00.034) 0:00:58.253 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:33 +0000 (0:00:00.018) 0:00:58.272 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:33 +0000 (0:00:00.018) 0:00:58.290 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:33 +0000 (0:00:00.362) 0:00:58.652 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:33 +0000 (0:00:00.022) 0:00:58.675 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:33 +0000 (0:00:00.021) 0:00:58.697 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:33 +0000 (0:00:00.022) 0:00:58.719 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:33 +0000 (0:00:00.021) 0:00:58.740 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:12:33 +0000 (0:00:00.243) 0:00:58.984 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:12:33 +0000 (0:00:00.034) 0:00:59.019 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:33 +0000 (0:00:00.039) 0:00:59.058 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:34 +0000 (0:00:00.036) 0:00:59.095 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:34 +0000 (0:00:00.032) 0:00:59.128 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:34 +0000 (0:00:00.021) 0:00:59.150 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:34 +0000 (0:00:00.022) 0:00:59.172 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:35 +0000 (0:00:01.736) 0:01:00.908 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:37 +0000 (0:00:01.380) 0:01:02.289 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:37 +0000 (0:00:00.053) 0:01:02.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:37 +0000 (0:00:00.023) 0:01:02.365 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:37 +0000 (0:00:00.023) 0:01:02.388 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:37 +0000 (0:00:00.054) 0:01:02.443 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:37 +0000 (0:00:00.024) 0:01:02.468 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:37 +0000 (0:00:00.024) 0:01:02.492 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:37 +0000 (0:00:00.033) 0:01:02.525 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:37 +0000 (0:00:00.390) 0:01:02.915 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:37 +0000 (0:00:00.035) 0:01:02.951 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:37 +0000 (0:00:00.022) 0:01:02.973 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:37 +0000 (0:00:00.019) 0:01:02.993 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:38 +0000 (0:00:00.420) 0:01:03.413 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:38 +0000 (0:00:00.022) 0:01:03.436 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:38 +0000 (0:00:00.021) 0:01:03.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": "[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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:38 +0000 (0:00:00.021) 0:01:03.479 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:38 +0000 (0:00:00.022) 0:01:03.501 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:12:38 +0000 (0:00:00.246) 0:01:03.748 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:12:38 +0000 (0:00:00.036) 0:01:03.784 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:12:38 +0000 (0:00:00.032) 0:01:03.816 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:12:38 +0000 (0:00:00.019) 0:01:03.836 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:12:38 +0000 (0:00:00.207) 0:01:04.043 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:12:39 +0000 (0:00:00.018) 0:01:04.062 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020234", "end": "2023-12-22 00:12:39.200188", "rc": 1, "start": "2023-12-22 00:12:39.179954" } 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:12:39 +0000 (0:00:00.225) 0:01:04.288 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:12:39 +0000 (0:00:00.019) 0:01:04.308 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:12:39 +0000 (0:00:00.019) 0:01:04.327 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:12:39 +0000 (0:00:00.018) 0:01:04.346 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:12:39 +0000 (0:00:00.018) 0:01:04.365 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:12:39 +0000 (0:00:00.019) 0:01:04.384 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:12:39 +0000 (0:00:00.020) 0:01:04.405 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:12:39 +0000 (0:00:00.080) 0:01:04.485 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:12:39 +0000 (0:00:00.030) 0:01:04.516 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:12:39 +0000 (0:00:00.204) 0:01:04.721 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:12:39 +0000 (0:00:00.021) 0:01:04.742 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:12:39 +0000 (0:00:00.021) 0:01:04.763 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:12:39 +0000 (0:00:00.035) 0:01:04.798 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041144", "end": "2023-12-22 00:12:39.955578", "rc": 1, "start": "2023-12-22 00:12:39.914434" } 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-wifi_fixhfsgh03i/tests/playbooks/tests_states.yml:124 Friday 22 December 2023 00:12:39 +0000 (0:00:00.245) 0:01:05.044 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:12:40 +0000 (0:00:00.033) 0:01:05.078 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:12:40 +0000 (0:00:00.021) 0:01:05.099 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:12:40 +0000 (0:00:00.040) 0:01:05.139 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:12:40 +0000 (0:00:00.031) 0:01:05.171 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:12:40 +0000 (0:00:00.029) 0:01:05.200 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003721", "end": "2023-12-22 00:12:40.324000", "rc": 0, "start": "2023-12-22 00:12:40.320279" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:12:40 +0000 (0:00:00.243) 0:01:05.444 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:12:40 +0000 (0:00:00.022) 0:01:05.466 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:12:40 +0000 (0:00:00.020) 0:01:05.487 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:12:40 +0000 (0:00:00.037) 0:01:05.524 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:40 +0000 (0:00:00.040) 0:01:05.565 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:40 +0000 (0:00:00.037) 0:01:05.603 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:40 +0000 (0:00:00.031) 0:01:05.635 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:40 +0000 (0:00:00.022) 0:01:05.657 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:40 +0000 (0:00:00.022) 0:01:05.680 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:42 +0000 (0:00:01.766) 0:01:07.446 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:43 +0000 (0:00:01.415) 0:01:08.861 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:43 +0000 (0:00:00.023) 0:01:08.885 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:43 +0000 (0:00:00.022) 0:01:08.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:43 +0000 (0:00:00.022) 0:01:08.930 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:43 +0000 (0:00:00.053) 0:01:08.983 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:43 +0000 (0:00:00.022) 0:01:09.006 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:43 +0000 (0:00:00.022) 0:01:09.028 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:44 +0000 (0:00:00.033) 0:01:09.062 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:44 +0000 (0:00:00.386) 0:01:09.449 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:44 +0000 (0:00:00.034) 0:01:09.483 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:44 +0000 (0:00:00.018) 0:01:09.502 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:44 +0000 (0:00:00.018) 0:01:09.520 ******* 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, b31b255b-75b3-4d00-bb87-cd31eed97219 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:44 +0000 (0:00:00.402) 0:01:09.923 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:44 +0000 (0:00:00.022) 0:01:09.946 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b31b255b-75b3-4d00-bb87-cd31eed97219" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:44 +0000 (0:00:00.021) 0:01:09.967 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b31b255b-75b3-4d00-bb87-cd31eed97219\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b31b255b-75b3-4d00-bb87-cd31eed97219" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:44 +0000 (0:00:00.022) 0:01:09.989 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:44 +0000 (0:00:00.021) 0:01:10.011 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:12:45 +0000 (0:00:00.247) 0:01:10.258 ******* 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, b31b255b-75b3-4d00-bb87-cd31eed97219\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b31b255b-75b3-4d00-bb87-cd31eed97219" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:12:45 +0000 (0:00:00.022) 0:01:10.280 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:45 +0000 (0:00:00.039) 0:01:10.320 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:45 +0000 (0:00:00.037) 0:01:10.358 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:45 +0000 (0:00:00.033) 0:01:10.391 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:45 +0000 (0:00:00.022) 0:01:10.414 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:45 +0000 (0:00:00.021) 0:01:10.436 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:47 +0000 (0:00:01.747) 0:01:12.183 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:48 +0000 (0:00:01.353) 0:01:13.537 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:48 +0000 (0:00:00.023) 0:01:13.560 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:48 +0000 (0:00:00.069) 0:01:13.630 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:48 +0000 (0:00:00.023) 0:01:13.653 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:48 +0000 (0:00:00.053) 0:01:13.707 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:48 +0000 (0:00:00.029) 0:01:13.736 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:48 +0000 (0:00:00.023) 0:01:13.759 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:48 +0000 (0:00:00.040) 0:01:13.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:49 +0000 (0:00:00.387) 0:01:14.187 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:49 +0000 (0:00:00.034) 0:01:14.222 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:49 +0000 (0:00:00.021) 0:01:14.244 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:49 +0000 (0:00:00.031) 0:01:14.275 ******* 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, b31b255b-75b3-4d00-bb87-cd31eed97219 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:49 +0000 (0:00:00.347) 0:01:14.623 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:49 +0000 (0:00:00.025) 0:01:14.648 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b31b255b-75b3-4d00-bb87-cd31eed97219 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:49 +0000 (0:00:00.022) 0:01:14.671 ******* 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, b31b255b-75b3-4d00-bb87-cd31eed97219 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b31b255b-75b3-4d00-bb87-cd31eed97219 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:49 +0000 (0:00:00.021) 0:01:14.692 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:49 +0000 (0:00:00.023) 0:01:14.716 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:12:49 +0000 (0:00:00.218) 0:01:14.935 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:49 +0000 (0:00:00.081) 0:01:15.016 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:49 +0000 (0:00:00.038) 0:01:15.054 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:50 +0000 (0:00:00.037) 0:01:15.092 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:50 +0000 (0:00:00.024) 0:01:15.116 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:50 +0000 (0:00:00.024) 0:01:15.141 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:51 +0000 (0:00:01.718) 0:01:16.860 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:53 +0000 (0:00:01.346) 0:01:18.206 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:53 +0000 (0:00:00.024) 0:01:18.231 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:53 +0000 (0:00:00.023) 0:01:18.254 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:53 +0000 (0:00:00.025) 0:01:18.280 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:53 +0000 (0:00:00.057) 0:01:18.338 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:53 +0000 (0:00:00.069) 0:01:18.407 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:53 +0000 (0:00:00.028) 0:01:18.436 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:53 +0000 (0:00:00.040) 0:01:18.476 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:53 +0000 (0:00:00.390) 0:01:18.867 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:53 +0000 (0:00:00.047) 0:01:18.915 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:53 +0000 (0:00:00.023) 0:01:18.938 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:53 +0000 (0:00:00.020) 0:01:18.959 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:54 +0000 (0:00:00.407) 0:01:19.366 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:54 +0000 (0:00:00.026) 0:01:19.392 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:54 +0000 (0:00:00.023) 0:01:19.415 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:54 +0000 (0:00:00.022) 0:01:19.438 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:54 +0000 (0:00:00.024) 0:01:19.463 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:12:54 +0000 (0:00:00.217) 0:01:19.680 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:12:54 +0000 (0:00:00.037) 0:01:19.718 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 22 December 2023 00:12:54 +0000 (0:00:00.074) 0:01:19.793 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 22 December 2023 00:12:54 +0000 (0:00:00.038) 0:01:19.832 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 22 December 2023 00:12:54 +0000 (0:00:00.033) 0:01:19.866 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 22 December 2023 00:12:54 +0000 (0:00:00.023) 0:01:19.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 : Check which services are running] **** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 22 December 2023 00:12:54 +0000 (0:00:00.023) 0:01:19.913 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 22 December 2023 00:12:56 +0000 (0:00:01.722) 0:01:21.636 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 22 December 2023 00:12:57 +0000 (0:00:01.352) 0:01:22.989 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 22 December 2023 00:12:57 +0000 (0:00:00.023) 0:01:23.013 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 22 December 2023 00:12:57 +0000 (0:00:00.022) 0:01:23.035 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 22 December 2023 00:12:57 +0000 (0:00:00.022) 0:01:23.058 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 22 December 2023 00:12:58 +0000 (0:00:00.052) 0:01:23.110 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 22 December 2023 00:12:58 +0000 (0:00:00.022) 0:01:23.132 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 22 December 2023 00:12:58 +0000 (0:00:00.056) 0:01:23.189 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 22 December 2023 00:12:58 +0000 (0:00:00.034) 0:01:23.223 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 22 December 2023 00:12:58 +0000 (0:00:00.390) 0:01:23.613 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 22 December 2023 00:12:58 +0000 (0:00:00.036) 0:01:23.649 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 22 December 2023 00:12:58 +0000 (0:00:00.018) 0:01:23.668 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 22 December 2023 00:12:58 +0000 (0:00:00.019) 0:01:23.688 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 22 December 2023 00:12:58 +0000 (0:00:00.364) 0:01:24.052 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 22 December 2023 00:12:59 +0000 (0:00:00.024) 0:01:24.077 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 22 December 2023 00:12:59 +0000 (0:00:00.026) 0:01:24.103 ******* 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-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 22 December 2023 00:12:59 +0000 (0:00:00.023) 0:01:24.126 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixhfsgh03i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 22 December 2023 00:12:59 +0000 (0:00:00.023) 0:01:24.149 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:12:59 +0000 (0:00:00.213) 0:01:24.363 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:12:59 +0000 (0:00:00.037) 0:01:24.400 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:12:59 +0000 (0:00:00.074) 0:01:24.475 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:12:59 +0000 (0:00:00.021) 0:01:24.496 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:12:59 +0000 (0:00:00.206) 0:01:24.702 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:12:59 +0000 (0:00:00.019) 0:01:24.721 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020054", "end": "2023-12-22 00:12:59.858352", "rc": 1, "start": "2023-12-22 00:12:59.838298" } 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:12:59 +0000 (0:00:00.225) 0:01:24.947 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:12:59 +0000 (0:00:00.020) 0:01:24.967 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:12:59 +0000 (0:00:00.019) 0:01:24.986 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:12:59 +0000 (0:00:00.019) 0:01:25.006 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:12:59 +0000 (0:00:00.020) 0:01:25.026 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:12:59 +0000 (0:00:00.019) 0:01:25.046 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 22 December 2023 00:13:00 +0000 (0:00:00.023) 0:01:25.069 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.946834", "end": "2023-12-22 00:13:01.132890", "rc": 0, "start": "2023-12-22 00:13:00.186056" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 22 December 2023 00:13:01 +0000 (0:00:01.153) 0:01:26.222 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 22 December 2023 00:13:01 +0000 (0:00:00.021) 0:01:26.244 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:13:01 +0000 (0:00:00.020) 0:01:26.264 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/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-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:13:01 +0000 (0:00:00.045) 0:01:26.310 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:13:01 +0000 (0:00:00.063) 0:01:26.373 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:13:01 +0000 (0:00:00.205) 0:01:26.579 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:13:01 +0000 (0:00:00.022) 0:01:26.602 ******* 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-wifi_fixhfsgh03i/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:13:01 +0000 (0:00:00.020) 0:01:26.623 ******* included: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixhfsgh03i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:13:01 +0000 (0:00:00.035) 0:01:26.658 ******* 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.040780", "end": "2023-12-22 00:13:01.817570", "rc": 1, "start": "2023-12-22 00:13:01.776790" } 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 Friday 22 December 2023 00:13:01 +0000 (0:00:00.278) 0:01:26.937 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.82s /WORKDIR/git-wifi_fixhfsgh03i/.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.80s /WORKDIR/git-wifi_fixhfsgh03i/.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.78s /WORKDIR/git-wifi_fixhfsgh03i/.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.77s /WORKDIR/git-wifi_fixhfsgh03i/.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.75s /WORKDIR/git-wifi_fixhfsgh03i/.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.74s /WORKDIR/git-wifi_fixhfsgh03i/.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.74s /WORKDIR/git-wifi_fixhfsgh03i/.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.74s /WORKDIR/git-wifi_fixhfsgh03i/.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.74s /WORKDIR/git-wifi_fixhfsgh03i/.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.72s /WORKDIR/git-wifi_fixhfsgh03i/.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.72s /WORKDIR/git-wifi_fixhfsgh03i/.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.70s /WORKDIR/git-wifi_fixhfsgh03i/.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.70s /WORKDIR/git-wifi_fixhfsgh03i/.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.69s /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.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.49s /WORKDIR/git-wifi_fixhfsgh03i/.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-wifi_fixhfsgh03i/.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.41s /WORKDIR/git-wifi_fixhfsgh03i/.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.38s /WORKDIR/git-wifi_fixhfsgh03i/.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.35s /WORKDIR/git-wifi_fixhfsgh03i/.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. ---^---^---^---^---^---